diff --git a/error-codes.cabal b/error-codes.cabal
--- a/error-codes.cabal
+++ b/error-codes.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.2
 name: error-codes
-version: 0.1.2.0
+version: 0.1.3.0
 synopsis: Error code functions
 homepage: https://github.com/andrewthad/error-codes
 bug-reports: https://github.com/andrewthad/error-codes/issues
diff --git a/src/Foreign/C/Error/Describe.hs b/src/Foreign/C/Error/Describe.hs
--- a/src/Foreign/C/Error/Describe.hs
+++ b/src/Foreign/C/Error/Describe.hs
@@ -258,4 +258,5 @@
   , {- 131 -} Description 131 (asBytes "ENOTRECOVERABLE") (asBytes "State not recoverable")
   , {- 132 -} Description 132 (asBytes "ERFKILL") (asBytes "Operation not possible due to RF-kill")
   , {- 133 -} Description 133 (asBytes "EHWPOISON") (asBytes "Memory page has hardware error")
+  , {- 254 -} Description 254 (asBytes "EEOI") (asBytes "End of input")
   ]
diff --git a/src/Foreign/C/Error/Pattern.hs b/src/Foreign/C/Error/Pattern.hs
--- a/src/Foreign/C/Error/Pattern.hs
+++ b/src/Foreign/C/Error/Pattern.hs
@@ -102,6 +102,8 @@
   , pattern EUSERS
   , pattern EWOULDBLOCK
   , pattern EXDEV
+    -- * Non-Linux error code
+  , pattern EEOI
   ) where
 
 import Foreign.C.Error (Errno(Errno))
@@ -308,3 +310,7 @@
 pattern EWOULDBLOCK = Errno (CONST_EWOULDBLOCK)
 pattern EXDEV :: Errno
 pattern EXDEV = Errno (CONST_EXDEV)
+
+-- Non-Linux error code
+pattern EEOI :: Errno
+pattern EEOI = Errno 254
