X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=asminc%2Ferrno.inc;h=6e5cce42b650fe18b40f495a32d62dfb16a180a2;hb=8f0ea644dddfaf9c41718ff055f4b77f0b8f43ad;hp=972beaf9fb202ae11aee7153fbd52306f5580d98;hpb=545df804bb097b28363bc03c29e6075de93806d0;p=cc65 diff --git a/asminc/errno.inc b/asminc/errno.inc index 972beaf9f..6e5cce42b 100644 --- a/asminc/errno.inc +++ b/asminc/errno.inc @@ -1,34 +1,35 @@ -; +; ; Ullrich von Bassewitz, 16.05.2000 ; ; Variables and functions .global __errno, __oserror - .global __maperrno, __osmaperrno + .global __osmaperrno .global __seterrno - .global oserrcheck, setoserror - .global seterrnofromoserror + .global __directerrno, __mappederrno ; Error codes, must match the values in the C headers .enum EOK ; No error - ENOENT ; No such file or directory - ENOMEM ; Out of memory - EACCES ; Permission denied - ENODEV ; No such device - EMFILE ; Too many open files - EBUSY ; Device or resource busy - EINVAL ; Invalid argument - ENOSPC ; No space left on device - EEXIST ; File exists - EAGAIN ; Try again - EIO ; I/O error - EINTR ; Interrupted system call - ENOSYS ; Function not implemented - ESPIPE ; Illegal seek + ENOENT ; No such file or directory + ENOMEM ; Out of memory + EACCES ; Permission denied + ENODEV ; No such device + EMFILE ; Too many open files + EBUSY ; Device or resource busy + EINVAL ; Invalid argument + ENOSPC ; No space left on device + EEXIST ; File exists + EAGAIN ; Try again + EIO ; I/O error + EINTR ; Interrupted system call + ENOSYS ; Function not implemented + ESPIPE ; Illegal seek ERANGE ; Range error - EUNKNOWN ; Unknown OS specific error - must be last! + EBADF ; Bad file number + ENOEXEC ; Exec format error + EUNKNOWN ; Unknown OS specific error - must be last! EMAX = EUNKNOWN ; Highest error code .endenum