Porting from OpenBSD/Linux to Solaris : daemon(3)

From: Steph L (Stephane.Lentz_at_ansf.alcatel.fr)
Date: 10/28/03


Date: 28 Oct 2003 09:00:26 GMT


Hi,

A given Milter program compiles ok on OpenBSD/FreeBSD/Linux but not on
Solaris : it uses daemon(3)

http://www.openbsd.org/cgi-bin/man.cgi?query=daemon&apropos=0&sektion
=0&manpath=OpenBSD+Current&arch=i386&format=html
http://www.freebsd.org/cgi/man.cgi?query=daemon&sektion=3&apropos=0
&manpath=FreeBSD+5.1-RELEASE

What would be the Solaris alternative or POSIX solution to the BSD
daemon(3) ?

SL/

PS : Solaris does not have __progname nor vasprintf ... what a pity !

---
Stephane Lentz
Alcanet International, Internet Services


Relevant Pages