2 ; Ullrich von Bassewitz, 16.05.2000
5 ; Error codes, must match the values in the C headers
7 ENOENT = 1 ; No such file or directory
8 ENOMEM = 2 ; Out of memory
9 EACCES = 3 ; Permission denied
10 ENODEV = 4 ; No such device
11 EMFILE = 5 ; Too many open files
12 EBUSY = 6 ; Device or resource busy
13 EINVAL = 7 ; Invalid argument
14 ENOSPC = 8 ; No space left on device
15 EEXIST = 9 ; File exists
16 EAGAIN = 10 ; Try again
18 EINTR = 12 ; Interrupted system call
19 ENOSYS = 13 ; Function not implemented
20 ESPIPE = 14 ; Illegal seek
21 EUNKNOWN = 15 ; Unknown OS specific error - must be last!
23 EMAX = 15 ; Highest error code