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