On Tue, Apr 20, 2004 at 14:12:50 +0530, suneesh wrote: > Hi > > Use the system call daemon() ( int daemon(int nochdir, int noclose) ) > in the process which is to be daemonized. > Check 'man daemon' ... except that it's not a syscall, but a libc function. The most important syscall is setsid, that detaches controlling tty. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz>
Attachment:
signature.asc
Description: Digital signature