2 ; Ullrich von Bassewitz, 16.05.2000
5 ; Variables and functions
7 .global __errno, __oserror
10 .global __directerrno, __mappederrno
12 ; Error codes, must match the values in the C headers
15 ENOENT ; No such file or directory
16 ENOMEM ; Out of memory
17 EACCES ; Permission denied
18 ENODEV ; No such device
19 EMFILE ; Too many open files
20 EBUSY ; Device or resource busy
21 EINVAL ; Invalid argument
22 ENOSPC ; No space left on device
26 EINTR ; Interrupted system call
27 ENOSYS ; Function not implemented
30 EBADF ; Bad file number
31 EUNKNOWN ; Unknown OS specific error - must be last!
33 EMAX = EUNKNOWN ; Highest error code