(type egg)
(signature "sysexits egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/sysexits" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "egg")) (section 2 "sysexits" (p (tt "sysexits(3)") " values (preferable exit codes).") (p "The source for this egg is available " (link "https://git.foldling.org/chicken-sysexits.git" "here") ".")) (section 2 "API" (def (sig (constant "exit/ok" (id exit/ok)) (constant "exit/usage" (id exit/usage)) (constant "exit/dataerr" (id exit/dataerr)) (constant "exit/noinput" (id exit/noinput)) (constant "exit/nouser" (id exit/nouser)) (constant "exit/nohost" (id exit/nohost)) (constant "exit/unavailable" (id exit/unavailable)) (constant "exit/software" (id exit/software)) (constant "exit/oserr" (id exit/oserr)) (constant "exit/osfile" (id exit/osfile)) (constant "exit/cantcreat" (id exit/cantcreat)) (constant "exit/ioerr" (id exit/ioerr)) (constant "exit/tempfail" (id exit/tempfail)) (constant "exit/protocol" (id exit/protocol)) (constant "exit/noperm" (id exit/noperm)) (constant "exit/config" (id exit/config))) (p "These values correspond to the exit codes defined by " (tt "sysexits(3)") " and have the following approximate meanings:") (pre " exit/ok          ; successful termination\n exit/usage       ; command line usage error\n exit/dataerr     ; data format error\n exit/noinput     ; cannot open input\n exit/nouser      ; addressee unknown\n exit/nohost      ; host name unknown\n exit/unavailable ; service unavailable\n exit/software    ; internal software error\n exit/oserr       ; system error (e.g., can't fork)\n exit/osfile      ; critical OS file missing\n exit/cantcreat   ; can't create (user) output file\n exit/ioerr       ; input/output error\n exit/tempfail    ; temp failure; user is invited to retry\n exit/protocol    ; remote error in protocol\n exit/noperm      ; permission denied\n exit/config      ; configuration error"))) (section 2 "Author" (p (int-link "/users/evan-hanson" "Evan Hanson"))) (section 2 "License" (p "Public Domain"))))
