Line | |
---|
1 | /* exit() exit codes for some BSD system programs.
|
---|
2 | Copyright (C) 2003, 2006 Free Software Foundation, Inc.
|
---|
3 |
|
---|
4 | This program is free software; you can redistribute it and/or modify
|
---|
5 | it under the terms of the GNU General Public License as published by
|
---|
6 | the Free Software Foundation; either version 2, or (at your option)
|
---|
7 | any later version.
|
---|
8 |
|
---|
9 | This program is distributed in the hope that it will be useful,
|
---|
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | GNU General Public License for more details.
|
---|
13 |
|
---|
14 | You should have received a copy of the GNU General Public License
|
---|
15 | along with this program; if not, write to the Free Software Foundation,
|
---|
16 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
---|
17 |
|
---|
18 | /* Written by Simon Josefsson based on sysexits(3) man page */
|
---|
19 |
|
---|
20 | #ifndef _SYSEXITS_H
|
---|
21 | #define _SYSEXITS_H
|
---|
22 |
|
---|
23 | #define EX_OK 0 /* same value as EXIT_SUCCESS */
|
---|
24 |
|
---|
25 | #define EX_USAGE 64
|
---|
26 | #define EX_DATAERR 65
|
---|
27 | #define EX_NOINPUT 66
|
---|
28 | #define EX_NOUSER 67
|
---|
29 | #define EX_NOHOST 68
|
---|
30 | #define EX_UNAVAILABLE 69
|
---|
31 | #define EX_SOFTWARE 70
|
---|
32 | #define EX_OSERR 71
|
---|
33 | #define EX_OSFILE 72
|
---|
34 | #define EX_CANTCREAT 73
|
---|
35 | #define EX_IOERR 74
|
---|
36 | #define EX_TEMPFAIL 75
|
---|
37 | #define EX_PROTOCOL 76
|
---|
38 | #define EX_NOPERM 77
|
---|
39 | #define EX_CONFIG 78
|
---|
40 |
|
---|
41 | #endif /* _SYSEXITS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.