I found an Apple/Darwin man page that shows the function as residing in libc - at least on that platform. I don't see it there (there is a function called .OKdaemon though) on my AIX system. So my questions is, if it is not in libc on AIX, where is it? Thanks!
From the Apple/Darwin man page...
On Solaris, the app explicitly declares the function:
#if defined(SOLARIS)
extern int daemon(int, int); /* defined in libresolv of all places */
#endif
I don't see any such declaration for the other platforms - it must be in one of the standard header files. I can go ahead and add the...
I'm new to AIX and am porting an app that was written for Linux and has already been ported to some other UNIX OSs. In the source code there is a call to "daemon (0,0) that is causing a link error (Undefined symbol: .daemon). Does anybody know where this exists in AIX? I've tried dumping out the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.