On Tue, Aug 18, 2009 at 6:20 PM, Joerg
Schilling<Joerg.Schilling at fokus.fraunhofer.de> 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()?

Yup. It two integrated exactly two years ago.

changeset:   4891:f4f971e9574d
user:        vk199839
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

-- 
Regards,
        Cyril

Reply via email to