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