On Mon, 17 Aug 2009 16:27:41 -0700 Alan Coopersmith wrote:
> Garrett D'Amore wrote:
>> From what I could tell, the daemon() function is not present on Linux
>> (glibc).   
> 
> http://www.kernel.org/doc/man-pages/online/pages/man3/daemon.3.html
> 

Note that the lines:
"Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
        daemon(): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500)"
in that man page imply that daemon() was defined in XPG3, XPG4, and
XPG4v2.  But, daemon() was never defined by XPG1, XPG2, XPG3, XPG4,
XPG4v2, XPG5, XPG6, nor XPG7.

  - Don

Reply via email to