X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=asminc%2Ferrno.inc;h=6e5cce42b650fe18b40f495a32d62dfb16a180a2;hb=HEAD;hp=463e7907b0519a7c0b2a363edaed47c6f368c39b;hpb=a08b75c02be674a76d41e73ed4f386fcfa926370;p=cc65 diff --git a/asminc/errno.inc b/asminc/errno.inc index 463e7907b..6e5cce42b 100644 --- a/asminc/errno.inc +++ b/asminc/errno.inc @@ -1,4 +1,4 @@ -; +; ; Ullrich von Bassewitz, 16.05.2000 ; @@ -7,28 +7,29 @@ .global __errno, __oserror .global __osmaperrno .global __seterrno - .global oserrcheck + .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 EBADF ; Bad file number - EUNKNOWN ; Unknown OS specific error - must be last! + ENOEXEC ; Exec format error + EUNKNOWN ; Unknown OS specific error - must be last! EMAX = EUNKNOWN ; Highest error code .endenum