Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

sysexits

sysexits(3) values (preferable exit codes).

The source for this egg is available here.

API

[constant] exit/ok
[constant] exit/usage
[constant] exit/dataerr
[constant] exit/noinput
[constant] exit/nouser
[constant] exit/nohost
[constant] exit/unavailable
[constant] exit/software
[constant] exit/oserr
[constant] exit/osfile
[constant] exit/cantcreat
[constant] exit/ioerr
[constant] exit/tempfail
[constant] exit/protocol
[constant] exit/noperm
[constant] exit/config

These values correspond to the exit codes defined by sysexits(3) and have the following approximate meanings:

 exit/ok          ; successful termination
 exit/usage       ; command line usage error
 exit/dataerr     ; data format error
 exit/noinput     ; cannot open input
 exit/nouser      ; addressee unknown
 exit/nohost      ; host name unknown
 exit/unavailable ; service unavailable
 exit/software    ; internal software error
 exit/oserr       ; system error (e.g., can't fork)
 exit/osfile      ; critical OS file missing
 exit/cantcreat   ; can't create (user) output file
 exit/ioerr       ; input/output error
 exit/tempfail    ; temp failure; user is invited to retry
 exit/protocol    ; remote error in protocol
 exit/noperm      ; permission denied
 exit/config      ; configuration error

Author

Evan Hanson

License

Public Domain