cosmopolitan/libc/sysv/errfuns.sh

154 lines
5.0 KiB
Bash
Executable File

/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│
│vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│
╞══════════════════════════════════════════════════════════════════════════════╡
│ Copyright 2020 Justine Alexandra Roberts Tunney │
│ │
│ This program is free software; you can redistribute it and/or modify │
│ it under the terms of the GNU General Public License as published by │
│ the Free Software Foundation; version 2 of the License. │
│ │
│ This program is distributed in the hope that it will be useful, but │
│ WITHOUT ANY WARRANTY; without even the implied warranty of │
│ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU │
│ General Public License for more details. │
│ │
│ You should have received a copy of the GNU General Public License │
│ along with this program; if not, write to the Free Software │
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │
│ 02110-1301 USA │
╚────────────────────────────────────────────────────────────────'>/dev/null #*/
dir=libc/sysv/errfuns
. libc/sysv/gen.sh
errfun eperm EPERM
errfun enoent ENOENT
errfun esrch ESRCH
errfun eintr EINTR
errfun eio EIO
errfun enxio ENXIO
errfun e2big E2BIG
errfun enoexec ENOEXEC
errfun ebadf EBADF
errfun echild ECHILD
errfun eagain EAGAIN
errfun enomem ENOMEM
errfun eacces EACCES
errfun efault EFAULT
errfun enotblk ENOTBLK
errfun ebusy EBUSY
errfun eexist EEXIST
errfun exdev EXDEV
errfun enodev ENODEV
errfun enotdir ENOTDIR
errfun eisdir EISDIR
errfun einval EINVAL
errfun enfile ENFILE
errfun emfile EMFILE
errfun enotty ENOTTY
errfun enotsup ENOTSUP
errfun etxtbsy ETXTBSY
errfun efbig EFBIG
errfun enospc ENOSPC
errfun espipe ESPIPE
errfun erofs EROFS
errfun emlink EMLINK
errfun epipe EPIPE
errfun edom EDOM
errfun erange ERANGE
errfun edeadlk EDEADLK
errfun enametoolong ENAMETOOLONG
errfun enolck ENOLCK
errfun enosys ENOSYS
errfun enotempty ENOTEMPTY
errfun eloop ELOOP
errfun enomsg ENOMSG
errfun eidrm EIDRM
errfun echrng ECHRNG
errfun el2nsync EL2NSYNC
errfun el3hlt EL3HLT
errfun el3rst EL3RST
errfun elnrng ELNRNG
errfun eunatch EUNATCH
errfun enocsi ENOCSI
errfun el2hlt EL2HLT
errfun ebade EBADE
errfun ebadr EBADR
errfun exfull EXFULL
errfun enoano ENOANO
errfun ebadrqc EBADRQC
errfun ebadslt EBADSLT
errfun enostr ENOSTR
errfun enodata ENODATA
errfun etime ETIME
errfun enosr ENOSR
errfun enonet ENONET
errfun enopkg ENOPKG
errfun eremote EREMOTE
errfun enolink ENOLINK
errfun eadv EADV
errfun esrmnt ESRMNT
errfun ecomm ECOMM
errfun eproto EPROTO
errfun emultihop EMULTIHOP
errfun edotdot EDOTDOT
errfun ebadmsg EBADMSG
errfun eoverflow EOVERFLOW
errfun enotuniq ENOTUNIQ
errfun ebadfd EBADFD
errfun eremchg EREMCHG
errfun elibacc ELIBACC
errfun elibbad ELIBBAD
errfun elibscn ELIBSCN
errfun elibmax ELIBMAX
errfun elibexec ELIBEXEC
errfun eilseq EILSEQ
errfun erestart ERESTART
errfun estrpipe ESTRPIPE
errfun eusers EUSERS
errfun enotsock ENOTSOCK
errfun edestaddrreq EDESTADDRREQ
errfun emsgsize EMSGSIZE
errfun eprototype EPROTOTYPE
errfun enoprotoopt ENOPROTOOPT
errfun eprotonosupport EPROTONOSUPPORT
errfun esocktnosupport ESOCKTNOSUPPORT
errfun eopnotsupp EOPNOTSUPP
errfun epfnosupport EPFNOSUPPORT
errfun eafnosupport EAFNOSUPPORT
errfun eaddrinuse EADDRINUSE
errfun eaddrnotavail EADDRNOTAVAIL
errfun enetdown ENETDOWN
errfun enetunreach ENETUNREACH
errfun enetreset ENETRESET
errfun econnaborted ECONNABORTED
errfun econnreset ECONNRESET
errfun enobufs ENOBUFS
errfun eisconn EISCONN
errfun enotconn ENOTCONN
errfun eshutdown ESHUTDOWN
errfun etoomanyrefs ETOOMANYREFS
errfun etimedout ETIMEDOUT
errfun econnrefused ECONNREFUSED
errfun ehostdown EHOSTDOWN
errfun ehostunreach EHOSTUNREACH
errfun ealready EALREADY
errfun einprogress EINPROGRESS
errfun estale ESTALE
errfun euclean EUCLEAN
errfun enotnam ENOTNAM
errfun enavail ENAVAIL
errfun eisnam EISNAM
errfun eremoteio EREMOTEIO
errfun edquot EDQUOT
errfun enomedium ENOMEDIUM
errfun emediumtype EMEDIUMTYPE
errfun ecanceled ECANCELED
errfun enokey ENOKEY
errfun ekeyexpired EKEYEXPIRED
errfun ekeyrevoked EKEYREVOKED
errfun ekeyrejected EKEYREJECTED
errfun eownerdead EOWNERDEAD
errfun enotrecoverable ENOTRECOVERABLE
errfun erfkill ERFKILL
errfun ehwpoison EHWPOISON