[source navigation] [diff markup] [identifier search] [freetext search] [file search]

Oldlinux Cross Reference
Linux/include/errno.h

Version: [1.0] [0.99.11] [0.99] [0.98] [0.97] [0.96a] [0.95] [0.12] [0.11] [0.01]
Architecture: [i386]

  1 #ifndef _ERRNO_H
  2 #define _ERRNO_H
  3 
  4 /*
  5  * ok, as I hadn't got any other source of information about
  6  * possible error numbers, I was forced to use the same numbers
  7  * as minix.
  8  * Hopefully these are posix or something. I wouldn't know (and posix
  9  * isn't telling me - they want $$$ for their f***ing standard).
 10  *
 11  * We don't use the _SIGN cludge of minix, so kernel returns must
 12  * see to the sign by themselves.
 13  *
 14  * NOTE! Remember to change strerror() if you change this file!
 15  */
 16 
 17 extern int errno;
 18 
 19 #define ERROR           99
 20 #define EPERM            1
 21 #define ENOENT           2
 22 #define ESRCH            3
 23 #define EINTR            4
 24 #define EIO              5
 25 #define ENXIO            6
 26 #define E2BIG            7
 27 #define ENOEXEC          8
 28 #define EBADF            9
 29 #define ECHILD          10
 30 #define EAGAIN          11
 31 #define ENOMEM          12
 32 #define EACCES          13
 33 #define EFAULT          14
 34 #define ENOTBLK         15
 35 #define EBUSY           16
 36 #define EEXIST          17
 37 #define EXDEV           18
 38 #define ENODEV          19
 39 #define ENOTDIR         20
 40 #define EISDIR          21
 41 #define EINVAL          22
 42 #define ENFILE          23
 43 #define EMFILE          24
 44 #define ENOTTY          25
 45 #define ETXTBSY         26
 46 #define EFBIG           27
 47 #define ENOSPC          28
 48 #define ESPIPE          29
 49 #define EROFS           30
 50 #define EMLINK          31
 51 #define EPIPE           32
 52 #define EDOM            33
 53 #define ERANGE          34
 54 #define EDEADLK         35
 55 #define ENAMETOOLONG    36
 56 #define ENOLCK          37
 57 #define ENOSYS          38
 58 #define ENOTEMPTY       39
 59 
 60 #endif
 61 

[source navigation] [diff markup] [identifier search] [freetext search] [file search]

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.