Commit 881081d498ae6bc50a5cd558d24169fc7303bcdb

Thomas de Grivel 2017-04-24T18:19:08

Export error numbers from Linux.

diff --git a/package.lisp b/package.lisp
index b6c2de0..7338f77 100644
--- a/package.lisp
+++ b/package.lisp
@@ -6,4 +6,138 @@
   (:export
    #:errno
    #:error-errno
-   #:strerror))
+   #:strerror
+   #:+perm+
+   #:+noent+
+   #:+srch+
+   #:+intr+
+   #:+io+
+   #:+nxio+
+   #:+2big+
+   #:+noexec+
+   #:+badf+
+   #:+child+
+   #:+again+
+   #:+nomem+
+   #:+acces+
+   #:+fault+
+   #:+notblk+
+   #:+busy+
+   #:+exist+
+   #:+xdev+
+   #:+nodev+
+   #:+notdir+
+   #:+isdir+
+   #:+inval+
+   #:+nfile+
+   #:+mfile+
+   #:+notty+
+   #:+txtbsy+
+   #:+fbig+
+   #:+nospc+
+   #:+spipe+
+   #:+rofs+
+   #:+mlink+
+   #:+pipe+
+   #:+dom+
+   #:+range+
+   #:+deadlk+
+   #:+nametoolong+
+   #:+nolck+
+   #:+nosys+
+   #:+notempty+
+   #:+loop+
+   #:+wouldblock+
+   #:+nomsg+
+   #:+idrm+
+   #:+chrng+
+   #:+l2nsync+
+   #:+l3hlt+
+   #:+l3rst+
+   #:+lnrng+
+   #:+unatch+
+   #:+nocsi+
+   #:+l2hlt+
+   #:+bade+
+   #:+badr+
+   #:+xfull+
+   #:+noano+
+   #:+badrqc+
+   #:+badslt+
+   #:+deadlock+
+   #:+bfont+
+   #:+nostr+
+   #:+nodata+
+   #:+time+
+   #:+nosr+
+   #:+nonet+
+   #:+nopkg+
+   #:+remote+
+   #:+nolink+
+   #:+adv+
+   #:+srmnt+
+   #:+comm+
+   #:+proto+
+   #:+multihop+
+   #:+dotdot+
+   #:+badmsg+
+   #:+overflow+
+   #:+notuniq+
+   #:+badfd+
+   #:+remchg+
+   #:+libacc+
+   #:+libbad+
+   #:+libscn+
+   #:+libmax+
+   #:+libexec+
+   #:+ilseq+
+   #:+restart+
+   #:+strpipe+
+   #:+users+
+   #:+notsock+
+   #:+destaddrreq+
+   #:+msgsize+
+   #:+prototype+
+   #:+noprotoopt+
+   #:+protonosupport+
+   #:+socknosupport+
+   #:+opnotsupp+
+   #:+pfnosupport+
+   #:+afnosupport+
+   #:+addrinuse+
+   #:+addrnotavail+
+   #:+netdown+
+   #:+netunreach+
+   #:+netreset+
+   #:+connaborted+
+   #:+connreset+
+   #:+nobufs+
+   #:+isconn+
+   #:+notconn+
+   #:+shutdown+
+   #:+toomanyrefs+
+   #:+timedout+
+   #:+connrefused+
+   #:+hostdown+
+   #:+hostunreach+
+   #:+already+
+   #:+inprogress+
+   #:+stale+
+   #:+uclean+
+   #:+notnam+
+   #:+navail+
+   #:+isnam+
+   #:+remoteio+
+   #:+dquot+
+   #:+nomedium+
+   #:+mediumtype+
+   #:+canceled+
+   #:+nokey+
+   #:+keyexpired+
+   #:+keyrevoked+
+   #:+keyrejected+
+   #:+ownerdead+
+   #:+notrecoverable+
+   #:+rfkill+
+   #:+hwpoison+
+   #:+notsupp+))