source: project/wiki/eggref/4/sysexits @ 36801

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

wiki/eggref: update docs/formatting/urls and eggref/5/{r7rs,fancypants,chicken-belt}

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