On Tue, Oct 12, 2004 at 04:53:45PM -0600, David Barrett wrote: > It doesn't appear to but just so I know for sure: > > Does APR offer any API's for making daemon/service processes portable across > Win32 and Unix? > > Specifically, I'm looking for some code that'll take care of all the details > of: > - Forking off an unattached process > - Routing stdin/out/err to /dev/null
apr_proc_detach will do those. > - Setting umask > - Trapping signals > - ... etc ... But not those... "trapping signals" is a bit generic. joe