aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysexits.lisp
diff options
context:
space:
mode:
authorTeddy Wing2021-02-13 21:24:08 +0100
committerTeddy Wing2021-02-13 21:24:08 +0100
commitb207d273997f8162a08dbd2e8011c2bec4f4041b (patch)
tree11b9370db2a35b736028dc3f07e4203d72cc3b76 /src/sysexits.lisp
downloadcl-sysexits-b207d273997f8162a08dbd2e8011c2bec4f4041b.tar.bz2
Define constants for exit codes based on sysexits.h
Diffstat (limited to 'src/sysexits.lisp')
-rw-r--r--src/sysexits.lisp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/sysexits.lisp b/src/sysexits.lisp
new file mode 100644
index 0000000..255d6b3
--- /dev/null
+++ b/src/sysexits.lisp
@@ -0,0 +1,33 @@
+(in-package :sysexits)
+
+(defconstant +ok+ 0)
+
+(defconstant +usage+ 64)
+
+(defconstant +dataerr+ 65)
+
+(defconstant +noinput+ 66)
+
+(defconstant +nouser+ 67)
+
+(defconstant +nohost+ 68)
+
+(defconstant +unavailable+ 69)
+
+(defconstant +software+ 70)
+
+(defconstant +oserr+ 71)
+
+(defconstant +osfile+ 72)
+
+(defconstant +cantcreat+ 73)
+
+(defconstant +ioerr+ 74)
+
+(defconstant +tempfail+ 75)
+
+(defconstant +protocol+ 76)
+
+(defconstant +noperm+ 77)
+
+(defconstant +config+ 78)