source: project/wiki/eggref/5/sysexits @ 36452

Last change on this file since 36452 was 36452, checked in by evhan, 13 months ago

release/5/egg-locations: Add optimism and schematic

File size: 1.6 KB
Line 
1[[tags: egg]]
2
3== sysexits
4
5Exit status codes for programs. See {{sysexits(3)}} for more info.
6
7The source for this egg is available [[http://git.foldling.org/chicken-sysexits.git|here]].
8
9== API
10
11<constant>exit/ok</constant>
12<constant>exit/usage</constant>
13<constant>exit/dataerr</constant>
14<constant>exit/noinput</constant>
15<constant>exit/nouser</constant>
16<constant>exit/nohost</constant>
17<constant>exit/unavailable</constant>
18<constant>exit/software</constant>
19<constant>exit/oserr</constant>
20<constant>exit/osfile</constant>
21<constant>exit/cantcreat</constant>
22<constant>exit/ioerr</constant>
23<constant>exit/tempfail</constant>
24<constant>exit/protocol</constant>
25<constant>exit/noperm</constant>
26<constant>exit/config</constant>
27
28These values correspond to the exit codes defined by {{sysexits(3)}} and have the following approximate meanings:
29
30  exit/ok          ; successful termination
31  exit/usage       ; command line usage error
32  exit/dataerr     ; data format error
33  exit/noinput     ; cannot open input
34  exit/nouser      ; addressee unknown
35  exit/nohost      ; host name unknown
36  exit/unavailable ; service unavailable
37  exit/software    ; internal software error
38  exit/oserr       ; system error (e.g., can't fork)
39  exit/osfile      ; critical OS file missing
40  exit/cantcreat   ; can't create (user) output file
41  exit/ioerr       ; input/output error
42  exit/tempfail    ; temp failure; user is invited to retry
43  exit/protocol    ; remote error in protocol
44  exit/noperm      ; permission denied
45  exit/config      ; configuration error
46
47== Author
48
49Evan Hanson
50
51== License
52
53Public Domain
Note: See TracBrowser for help on using the repository browser.