Home | History | Annotate | Download | only in mDNSPosix

Lines Matching defs:daemon

19 // In Mac OS X 10.5 and later trying to use the daemon function gives a ??daemon? is deprecated?
21 // Since this is supposed to be portable cross-platform code, we don't care that daemon is
23 #define daemon yes_we_know_that_daemon_is_deprecated_in_os_x_10_5_thankyou
36 #undef daemon
37 extern int daemon(int, int);
42 #include "mDNSUNP.h" // For daemon()
225 fprintf(stderr, " -b forces daemon (background) mode\n");
664 // If we're told to run as a daemon, then do that straight away.
672 fprintf(stderr, "%s: Starting in daemon mode\n", gProgramName);
674 result = daemon(0,0);
686 fprintf(stderr, "%s: Could not run as daemon - exiting\n", gProgramName);