(index ("exit/ok" 0) ("exit/usage" 0) ("exit/dataerr" 0) ("exit/noinput" 0) ("exit/nouser" 0) ("exit/nohost" 0) ("exit/unavailable" 0) ("exit/software" 0) ("exit/oserr" 0) ("exit/osfile" 0) ("exit/cantcreat" 0) ("exit/ioerr" 0) ("exit/tempfail" 0) ("exit/protocol" 0) ("exit/noperm" 0) ("exit/config" 0))
(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"))
