chickadee » sysexits

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

exit/okconstant
exit/usageconstant
exit/dataerrconstant
exit/noinputconstant
exit/nouserconstant
exit/nohostconstant
exit/unavailableconstant
exit/softwareconstant
exit/oserrconstant
exit/osfileconstant
exit/cantcreatconstant
exit/ioerrconstant
exit/tempfailconstant
exit/protocolconstant
exit/nopermconstant
exit/configconstant

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

Contents »