aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/package.lisp20
-rw-r--r--src/sysexits.lisp33
2 files changed, 53 insertions, 0 deletions
diff --git a/src/package.lisp b/src/package.lisp
new file mode 100644
index 0000000..73011ec
--- /dev/null
+++ b/src/package.lisp
@@ -0,0 +1,20 @@
+(defpackage :sysexits
+ (:use :cl)
+
+ (:export
+ #:+ok+
+ #:+usage+
+ #:+dataerr+
+ #:+noinput+
+ #:+nouser+
+ #:+nohost+
+ #:+unavailable+
+ #:+software+
+ #:+oserr+
+ #:+osfile+
+ #:+cantcreat+
+ #:+ioerr+
+ #:+tempfail+
+ #:+protocol+
+ #:+noperm+
+ #:+config+))
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)