David,

I've been tossing around the idea of introducing a function that
provides something close to being equivalent to daemon(3)[1] in
BSD to simplify the work needed to make a program run as a daemon.

The presence of contracts in OpenSolaris makes it seem necessary
to add a 3rd argument to this, indicating whether or not you want
the daemon to have its own contract.  Is there a requirement for
more options than just this, or just more flexibility in this?

Would the work done in sshd shape up to be a good model for what
should be done in such a function?

Darren
[1]
http://netbsd.gw.com/cgi-bin/man-cgi?daemon+3+NetBSD-current


Reply via email to