Re: DAEMON PROCESS!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux