Darren Reed <dr146992 at sac.sfbay.sun.com> wrote: > EXAMPLES > > The main() function of a network server could look like this: > > int background; /* background flag */ > > /* Load and verify the configuration. */ > > /* Go into background. */ > if (background && daemon(0, 0) < 0) > err(1, "daemon");
Does libc include a function called err()? AFAIK, this is specific to FreeBSD and similar. J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily