Joerg Schilling wrote: > 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()?
Yes: changeset: 4891:f4f971e9574d date: Sat Aug 18 10:07:23 2007 -0700 description: PSARC/2006/662 Make err/warn part of Solaris's libc 6495220 add err() et al. to libc -- Darren J Moffat