root/include/errno.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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 EPERM            1
  20 #define ENOENT           2
  21 #define ESRCH            3
  22 #define EINTR            4
  23 #define EIO              5
  24 #define ENXIO            6
  25 #define E2BIG            7
  26 #define ENOEXEC          8
  27 #define EBADF            9
  28 #define ECHILD          10
  29 #define EAGAIN          11
  30 #define ENOMEM          12
  31 #define EACCES          13
  32 #define EFAULT          14
  33 #define ENOTBLK         15
  34 #define EBUSY           16
  35 #define EEXIST          17
  36 #define EXDEV           18
  37 #define ENODEV          19
  38 #define ENOTDIR         20
  39 #define EISDIR          21
  40 #define EINVAL          22
  41 #define ENFILE          23
  42 #define EMFILE          24
  43 #define ENOTTY          25
  44 #define ETXTBSY         26
  45 #define EFBIG           27
  46 #define ENOSPC          28
  47 #define ESPIPE          29
  48 #define EROFS           30
  49 #define EMLINK          31
  50 #define EPIPE           32
  51 #define EDOM            33
  52 #define ERANGE          34
  53 #define EDEADLK         35
  54 #define ENAMETOOLONG    36
  55 #define ENOLCK          37
  56 #define ENOSYS          38
  57 #define ENOTEMPTY       39
  58 #define ELOOP           40
  59 
  60 /* Should never be seen by user programs */
  61 #define ERESTARTSYS     512
  62 #define ERESTARTNOINTR  513
  63 
  64 #endif

/* [previous][next][first][last][top][bottom][index][help] */