annotate lib/sysexits.in.h @ 423:079d43b6967b 3.0-beta2 3.0-beta2

Added missing file
author lost@l-w.ca
date Sun, 19 Sep 2010 01:44:47 -0600
parents 3c2e1f24cc7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
421
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
1 /* exit() exit codes for some BSD system programs.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
2 Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
3
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
4 This program is free software: you can redistribute it and/or modify
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
6 the Free Software Foundation; either version 3 of the License, or
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
7 (at your option) any later version.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
8
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
12 GNU General Public License for more details.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
13
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
16
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
17 /* Written by Simon Josefsson based on sysexits(3) man page */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
18
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
19 #ifndef _GL_SYSEXITS_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
20
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
21 #if @HAVE_SYSEXITS_H@
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
22
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
23 # if __GNUC__ >= 3
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
24 @PRAGMA_SYSTEM_HEADER@
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
25 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
26
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
27 /* IRIX 6.5 has an <unistd.h> that defines a macro EX_OK with a nonzero
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
28 value. Override it. See
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
29 <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00361.html> */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
30 # ifdef __sgi
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
31 # include <unistd.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
32 # undef EX_OK
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
33 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
34
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
35 /* The include_next requires a split double-inclusion guard. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
36 # @INCLUDE_NEXT@ @NEXT_SYSEXITS_H@
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
37
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
38 /* HP-UX 11 <sysexits.h> ends at EX_NOPERM. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
39 # ifndef EX_CONFIG
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
40 # define EX_CONFIG 78
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
41 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
42
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
43 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
44
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
45 #ifndef _GL_SYSEXITS_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
46 #define _GL_SYSEXITS_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
47
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
48 #if !@HAVE_SYSEXITS_H@
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
49
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
50 # define EX_OK 0 /* same value as EXIT_SUCCESS */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
51
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
52 # define EX_USAGE 64
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
53 # define EX_DATAERR 65
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
54 # define EX_NOINPUT 66
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
55 # define EX_NOUSER 67
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
56 # define EX_NOHOST 68
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
57 # define EX_UNAVAILABLE 69
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
58 # define EX_SOFTWARE 70
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
59 # define EX_OSERR 71
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
60 # define EX_OSFILE 72
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
61 # define EX_CANTCREAT 73
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
62 # define EX_IOERR 74
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
63 # define EX_TEMPFAIL 75
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
64 # define EX_PROTOCOL 76
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
65 # define EX_NOPERM 77
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
66 # define EX_CONFIG 78
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
67
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
68 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
69
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
70 #endif /* _GL_SYSEXITS_H */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
71 #endif /* _GL_SYSEXITS_H */