bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] sysexits.h


From: Bruno Haible
Subject: Re: [Bug-gnulib] sysexits.h
Date: Tue, 10 Jun 2003 20:52:03 +0200
User-agent: KMail/1.5

Simon Josefsson wrote:

> I'm having some trouble
> figuring out the standard status of it.  I doubt it is part of
> ANSI/ISO C, but may be part of POSIX:2001.  How can I find out?  The
> libc manual barely mention sysexits.h at all.

POSIX:2001 (= Base Specifications Version 6) is available online at 
http://www.opengroup.org/onlinepubs/007904975/nfindex.html

sysexits.h is not contained there, therefore a fortiori it is not part
of ISO C either.

Also I'd really like to avoid code with Berkeley copyright in gnulib. While
the clause 2 in this copyright may be acceptable for glibc, it'd be a
major annoyance to start keeping track of "does GNU XY's documentation
acknowledge the BSD copyright" for various packages XY. Maybe you can
produce a sysexits.h yourself, based on some freely available documentation
on the web, and by getting the common BSD values through a program looking
like

    ...
    printf("#define EX_USAGE %d\n", EX_USAGE);
    ...

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]