annotate lib/sysexits.in.h @ 273:88bbffa404ea 2.5 2.5

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