apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Portable Daemon/Service API
Date Wed, 13 Oct 2004 11:59:19 GMT
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

Mime
View raw message