Xref: utzoo comp.unix.questions:6866 comp.unix.xenix:2179 comp.unix.wizards:8251 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!elroy!mahendo!jplgodo!deutsch From: deutsch@jplgodo.UUCP (Michael Deutsch ) Newsgroups: comp.unix.questions,comp.unix.xenix,comp.unix.wizards Subject: C - development under UNIX - XENIX Message-ID: <14827@jplgodo.UUCP> Date: 5 May 88 02:53:59 GMT Distribution: na Organization: Jet Propulsion Labs, Pasadena, CA Lines: 39 Keywords: C, UNIX - XENIX - DOS These are questions for "C" and "UNIX" hackers. Your answer to all of these or a few will be greatly appreciated. 1. A UNIX function call equivalent to: "mkdir" command is??? 2. A programm running with "setuid" privilege, i.e.: -rwsr-xr-x tries to create directory and fails when executed by non-root, however, it works when executed by root, why??? 3. How to issue an "lp/lpr" command from the program without diagnostic popping up on the terminal??? 4. Which header file or type contains info on the file, i.e. (size, date created, date modified, number of links, etc.). 5. While using curses: one program spawns / forks/ issues a shell command to start program 2. When the program 2 finishes the control comes back to the parent process that tries to refresh the screen i.e. restore to the state prior to invoking program 2, what curses call will do this? I've tried refresh(curscr); but it does not seem to work????????????? 6. My program uses keypad, and that works fine with all UNIX - terminfo based systems; however pre 2.2 releases of XENIX were based on the termcap and did not have a: keypad( ) call. I can get around using keypad under XENIX; however why the program crashes if a keypad key is pressed under XENIX, how to get around this problems???? Please reply by e-mail, or call me collect at: (619) 452 - UNIX (8649) you may send a FAX as well: (619) 452 - 8711 Thanks. Michael Deutsch