(root)/
glibc-2.38/
sysdeps/
mach/
hurd/
bits/
errno.h
       1  /* This file generated by errnos.awk from
       2       errno.texi
       3       stdc-predef.h
       4       libc-symbols.h
       5       mach/message.h
       6       mach/kern_return.h
       7       mach/port.h
       8       mach/boolean.h
       9       stdint.h
      10       ../stdlib/stdint.h
      11       ../bits/libc-header-start.h
      12       features.h
      13       features-time64.h
      14       ../sysdeps/generic/features-time64.h
      15       sys/cdefs.h
      16       ../misc/sys/cdefs.h
      17       ../sysdeps/x86/bits/wordsize.h
      18       ../sysdeps/ieee754/ldbl-96/bits/long-double.h
      19       gnu/stubs.h
      20       bits/types.h
      21       ../posix/bits/types.h
      22       ../sysdeps/mach/hurd/bits/timesize.h
      23       ../sysdeps/mach/hurd/bits/typesizes.h
      24       ../bits/time64.h
      25       ../bits/wchar.h
      26       ../bits/stdint-intn.h
      27       ../bits/stdint-uintn.h
      28       mach/mig_errors.h
      29       device/device_types.h
      30       mach/std_types.h
      31     Do not edit this file; edit errnos.awk and regenerate it.  */
      32  
      33  #ifndef _BITS_ERRNO_H
      34  #define _BITS_ERRNO_H 1
      35  
      36  #if !defined _ERRNO_H
      37  # error "Never include <bits/errno.h> directly; use <errno.h> instead."
      38  #endif
      39  
      40  #ifndef __ASSEMBLER__
      41  
      42  enum __error_t_codes
      43  {
      44    /* The value zero always means success and it is perfectly fine
      45       for code to use 0 explicitly (or implicitly, e.g. via Boolean
      46       coercion.)  Having an enum entry for zero both makes the
      47       debugger print the name for error_t-typed zero values, and
      48       prevents the compiler from issuing warnings about 'case 0:'
      49       in a switch on an error_t-typed value.  */
      50    ESUCCESS                       = 0,
      51  
      52    /* The Hurd uses Mach error system 0x10, subsystem 0. */
      53    EPERM                          = 0x40000001,	/* Operation not permitted */
      54    ENOENT                         = 0x40000002,	/* No such file or directory */
      55    ESRCH                          = 0x40000003,	/* No such process */
      56    EINTR                          = 0x40000004,	/* Interrupted system call */
      57    EIO                            = 0x40000005,	/* Input/output error */
      58    ENXIO                          = 0x40000006,	/* No such device or address */
      59    E2BIG                          = 0x40000007,	/* Argument list too long */
      60    ENOEXEC                        = 0x40000008,	/* Exec format error */
      61    EBADF                          = 0x40000009,	/* Bad file descriptor */
      62    ECHILD                         = 0x4000000a,	/* No child processes */
      63    EDEADLK                        = 0x4000000b,	/* Resource deadlock avoided */
      64    ENOMEM                         = 0x4000000c,	/* Cannot allocate memory */
      65    EACCES                         = 0x4000000d,	/* Permission denied */
      66    EFAULT                         = 0x4000000e,	/* Bad address */
      67    ENOTBLK                        = 0x4000000f,	/* Block device required */
      68    EBUSY                          = 0x40000010,	/* Device or resource busy */
      69    EEXIST                         = 0x40000011,	/* File exists */
      70    EXDEV                          = 0x40000012,	/* Invalid cross-device link */
      71    ENODEV                         = 0x40000013,	/* No such device */
      72    ENOTDIR                        = 0x40000014,	/* Not a directory */
      73    EISDIR                         = 0x40000015,	/* Is a directory */
      74    EINVAL                         = 0x40000016,	/* Invalid argument */
      75    EMFILE                         = 0x40000018,	/* Too many open files */
      76    ENFILE                         = 0x40000017,	/* Too many open files in system */
      77    ENOTTY                         = 0x40000019,	/* Inappropriate ioctl for device */
      78    ETXTBSY                        = 0x4000001a,	/* Text file busy */
      79    EFBIG                          = 0x4000001b,	/* File too large */
      80    ENOSPC                         = 0x4000001c,	/* No space left on device */
      81    ESPIPE                         = 0x4000001d,	/* Illegal seek */
      82    EROFS                          = 0x4000001e,	/* Read-only file system */
      83    EMLINK                         = 0x4000001f,	/* Too many links */
      84    EPIPE                          = 0x40000020,	/* Broken pipe */
      85    EDOM                           = 0x40000021,	/* Numerical argument out of domain */
      86    ERANGE                         = 0x40000022,	/* Numerical result out of range */
      87    EAGAIN                         = 0x40000023,	/* Resource temporarily unavailable */
      88    EINPROGRESS                    = 0x40000024,	/* Operation now in progress */
      89    EALREADY                       = 0x40000025,	/* Operation already in progress */
      90    ENOTSOCK                       = 0x40000026,	/* Socket operation on non-socket */
      91    EMSGSIZE                       = 0x40000028,	/* Message too long */
      92    EPROTOTYPE                     = 0x40000029,	/* Protocol wrong type for socket */
      93    ENOPROTOOPT                    = 0x4000002a,	/* Protocol not available */
      94    EPROTONOSUPPORT                = 0x4000002b,	/* Protocol not supported */
      95    ESOCKTNOSUPPORT                = 0x4000002c,	/* Socket type not supported */
      96    EOPNOTSUPP                     = 0x4000002d,	/* Operation not supported */
      97    EPFNOSUPPORT                   = 0x4000002e,	/* Protocol family not supported */
      98    EAFNOSUPPORT                   = 0x4000002f,	/* Address family not supported by protocol */
      99    EADDRINUSE                     = 0x40000030,	/* Address already in use */
     100    EADDRNOTAVAIL                  = 0x40000031,	/* Cannot assign requested address */
     101    ENETDOWN                       = 0x40000032,	/* Network is down */
     102    ENETUNREACH                    = 0x40000033,	/* Network is unreachable */
     103    ENETRESET                      = 0x40000034,	/* Network dropped connection on reset */
     104    ECONNABORTED                   = 0x40000035,	/* Software caused connection abort */
     105    ECONNRESET                     = 0x40000036,	/* Connection reset by peer */
     106    ENOBUFS                        = 0x40000037,	/* No buffer space available */
     107    EISCONN                        = 0x40000038,	/* Transport endpoint is already connected */
     108    ENOTCONN                       = 0x40000039,	/* Transport endpoint is not connected */
     109    EDESTADDRREQ                   = 0x40000027,	/* Destination address required */
     110    ESHUTDOWN                      = 0x4000003a,	/* Cannot send after transport endpoint shutdown */
     111    ETOOMANYREFS                   = 0x4000003b,	/* Too many references: cannot splice */
     112    ETIMEDOUT                      = 0x4000003c,	/* Connection timed out */
     113    ECONNREFUSED                   = 0x4000003d,	/* Connection refused */
     114    ELOOP                          = 0x4000003e,	/* Too many levels of symbolic links */
     115    ENAMETOOLONG                   = 0x4000003f,	/* File name too long */
     116    EHOSTDOWN                      = 0x40000040,	/* Host is down */
     117    EHOSTUNREACH                   = 0x40000041,	/* No route to host */
     118    ENOTEMPTY                      = 0x40000042,	/* Directory not empty */
     119    EPROCLIM                       = 0x40000043,	/* Too many processes */
     120    EUSERS                         = 0x40000044,	/* Too many users */
     121    EDQUOT                         = 0x40000045,	/* Disk quota exceeded */
     122    ESTALE                         = 0x40000046,	/* Stale file handle */
     123    EREMOTE                        = 0x40000047,	/* Object is remote */
     124    EBADRPC                        = 0x40000048,	/* RPC struct is bad */
     125    ERPCMISMATCH                   = 0x40000049,	/* RPC version wrong */
     126    EPROGUNAVAIL                   = 0x4000004a,	/* RPC program not available */
     127    EPROGMISMATCH                  = 0x4000004b,	/* RPC program version wrong */
     128    EPROCUNAVAIL                   = 0x4000004c,	/* RPC bad procedure for program */
     129    ENOLCK                         = 0x4000004d,	/* No locks available */
     130    EFTYPE                         = 0x4000004f,	/* Inappropriate file type or format */
     131    EAUTH                          = 0x40000050,	/* Authentication error */
     132    ENEEDAUTH                      = 0x40000051,	/* Need authenticator */
     133    ENOSYS                         = 0x4000004e,	/* Function not implemented */
     134    ELIBEXEC                       = 0x40000053,	/* Cannot exec a shared library directly */
     135    ENOTSUP                        = 0x40000076,	/* Not supported */
     136    EILSEQ                         = 0x4000006a,	/* Invalid or incomplete multibyte or wide character */
     137    EBACKGROUND                    = 0x40000064,	/* Inappropriate operation for background process */
     138    EDIED                          = 0x40000065,	/* Translator died */
     139    ED                             = 0x40000066,	/* ? */
     140    EGREGIOUS                      = 0x40000067,	/* You really blew it this time */
     141    EIEIO                          = 0x40000068,	/* Computer bought the farm */
     142    EGRATUITOUS                    = 0x40000069,	/* Gratuitous error */
     143    EBADMSG                        = 0x4000006b,	/* Bad message */
     144    EIDRM                          = 0x4000006c,	/* Identifier removed */
     145    EMULTIHOP                      = 0x4000006d,	/* Multihop attempted */
     146    ENODATA                        = 0x4000006e,	/* No data available */
     147    ENOLINK                        = 0x4000006f,	/* Link has been severed */
     148    ENOMSG                         = 0x40000070,	/* No message of desired type */
     149    ENOSR                          = 0x40000071,	/* Out of streams resources */
     150    ENOSTR                         = 0x40000072,	/* Device not a stream */
     151    EOVERFLOW                      = 0x40000073,	/* Value too large for defined data type */
     152    EPROTO                         = 0x40000074,	/* Protocol error */
     153    ETIME                          = 0x40000075,	/* Timer expired */
     154    ECANCELED                      = 0x40000077,	/* Operation canceled */
     155    EOWNERDEAD                     = 0x40000078,	/* Owner died */
     156    ENOTRECOVERABLE                = 0x40000079,	/* State not recoverable */
     157  
     158  /* Errors from <mach/message.h>.  */
     159    EMACH_SEND_IN_PROGRESS         = 0x10000001,
     160    EMACH_SEND_INVALID_DATA        = 0x10000002,
     161    EMACH_SEND_INVALID_DEST        = 0x10000003,
     162    EMACH_SEND_TIMED_OUT           = 0x10000004,
     163    EMACH_SEND_WILL_NOTIFY         = 0x10000005,
     164    EMACH_SEND_NOTIFY_IN_PROGRESS  = 0x10000006,
     165    EMACH_SEND_INTERRUPTED         = 0x10000007,
     166    EMACH_SEND_MSG_TOO_SMALL       = 0x10000008,
     167    EMACH_SEND_INVALID_REPLY       = 0x10000009,
     168    EMACH_SEND_INVALID_RIGHT       = 0x1000000a,
     169    EMACH_SEND_INVALID_NOTIFY      = 0x1000000b,
     170    EMACH_SEND_INVALID_MEMORY      = 0x1000000c,
     171    EMACH_SEND_NO_BUFFER           = 0x1000000d,
     172    EMACH_SEND_NO_NOTIFY           = 0x1000000e,
     173    EMACH_SEND_INVALID_TYPE        = 0x1000000f,
     174    EMACH_SEND_INVALID_HEADER      = 0x10000010,
     175    EMACH_RCV_IN_PROGRESS          = 0x10004001,
     176    EMACH_RCV_INVALID_NAME         = 0x10004002,
     177    EMACH_RCV_TIMED_OUT            = 0x10004003,
     178    EMACH_RCV_TOO_LARGE            = 0x10004004,
     179    EMACH_RCV_INTERRUPTED          = 0x10004005,
     180    EMACH_RCV_PORT_CHANGED         = 0x10004006,
     181    EMACH_RCV_INVALID_NOTIFY       = 0x10004007,
     182    EMACH_RCV_INVALID_DATA         = 0x10004008,
     183    EMACH_RCV_PORT_DIED            = 0x10004009,
     184    EMACH_RCV_IN_SET               = 0x1000400a,
     185    EMACH_RCV_HEADER_ERROR         = 0x1000400b,
     186    EMACH_RCV_BODY_ERROR           = 0x1000400c,
     187  
     188  /* Errors from <mach/kern_return.h>.  */
     189    EKERN_INVALID_ADDRESS          = 1,
     190    EKERN_PROTECTION_FAILURE       = 2,
     191    EKERN_NO_SPACE                 = 3,
     192    EKERN_INVALID_ARGUMENT         = 4,
     193    EKERN_FAILURE                  = 5,
     194    EKERN_RESOURCE_SHORTAGE        = 6,
     195    EKERN_NOT_RECEIVER             = 7,
     196    EKERN_NO_ACCESS                = 8,
     197    EKERN_MEMORY_FAILURE           = 9,
     198    EKERN_MEMORY_ERROR             = 10,
     199    EKERN_NOT_IN_SET               = 12,
     200    EKERN_NAME_EXISTS              = 13,
     201    EKERN_ABORTED                  = 14,
     202    EKERN_INVALID_NAME             = 15,
     203    EKERN_INVALID_TASK             = 16,
     204    EKERN_INVALID_RIGHT            = 17,
     205    EKERN_INVALID_VALUE            = 18,
     206    EKERN_UREFS_OVERFLOW           = 19,
     207    EKERN_INVALID_CAPABILITY       = 20,
     208    EKERN_RIGHT_EXISTS             = 21,
     209    EKERN_INVALID_HOST             = 22,
     210    EKERN_MEMORY_PRESENT           = 23,
     211    EKERN_WRITE_PROTECTION_FAILURE = 24,
     212    EKERN_TERMINATED               = 26,
     213    EKERN_TIMEDOUT                 = 27,
     214    EKERN_INTERRUPTED              = 28,
     215  
     216  /* Errors from <mach/mig_errors.h>.  */
     217    EMIG_TYPE_ERROR                = -300,	/* client type check failure */
     218    EMIG_REPLY_MISMATCH            = -301,	/* wrong reply message ID */
     219    EMIG_REMOTE_ERROR              = -302,	/* server detected error */
     220    EMIG_BAD_ID                    = -303,	/* bad request message ID */
     221    EMIG_BAD_ARGUMENTS             = -304,	/* server type check failure */
     222    EMIG_NO_REPLY                  = -305,	/* no reply should be sent */
     223    EMIG_EXCEPTION                 = -306,	/* server raised exception */
     224    EMIG_ARRAY_TOO_LARGE           = -307,	/* array not large enough */
     225    EMIG_SERVER_DIED               = -308,	/* server died */
     226    EMIG_DESTROY_REQUEST           = -309,	/* destroy request with no reply */
     227  
     228  /* Errors from <device/device_types.h>.  */
     229    ED_IO_ERROR                    = 2500,	/* hardware IO error */
     230    ED_WOULD_BLOCK                 = 2501,	/* would block, but D_NOWAIT set */
     231    ED_NO_SUCH_DEVICE              = 2502,	/* no such device */
     232    ED_ALREADY_OPEN                = 2503,	/* exclusive-use device already open */
     233    ED_DEVICE_DOWN                 = 2504,	/* device has been shut down */
     234    ED_INVALID_OPERATION           = 2505,	/* bad operation for device */
     235    ED_INVALID_RECNUM              = 2506,	/* invalid record (block) number */
     236    ED_INVALID_SIZE                = 2507,	/* invalid IO size */
     237    ED_NO_MEMORY                   = 2508,	/* memory allocation failure */
     238    ED_READ_ONLY                   = 2509,	/* device cannot be written to */
     239  
     240    /* Because the C standard requires that errno have type 'int',
     241       this enumeration must be a signed type.  */
     242    __FORCE_ERROR_T_CODES_SIGNED = -1
     243  };
     244  
     245  #endif /* not __ASSEMBLER__ */
     246  
     247  /* The C standard requires that all of the E-constants be
     248     defined as macros.  */
     249  
     250  #define EPERM                          0x40000001
     251  #define ENOENT                         0x40000002
     252  #define ESRCH                          0x40000003
     253  #define EINTR                          0x40000004
     254  #define EIO                            0x40000005
     255  #define ENXIO                          0x40000006
     256  #define E2BIG                          0x40000007
     257  #define ENOEXEC                        0x40000008
     258  #define EBADF                          0x40000009
     259  #define ECHILD                         0x4000000a
     260  #define EDEADLK                        0x4000000b
     261  #define ENOMEM                         0x4000000c
     262  #define EACCES                         0x4000000d
     263  #define EFAULT                         0x4000000e
     264  #define ENOTBLK                        0x4000000f
     265  #define EBUSY                          0x40000010
     266  #define EEXIST                         0x40000011
     267  #define EXDEV                          0x40000012
     268  #define ENODEV                         0x40000013
     269  #define ENOTDIR                        0x40000014
     270  #define EISDIR                         0x40000015
     271  #define EINVAL                         0x40000016
     272  #define EMFILE                         0x40000018
     273  #define ENFILE                         0x40000017
     274  #define ENOTTY                         0x40000019
     275  #define ETXTBSY                        0x4000001a
     276  #define EFBIG                          0x4000001b
     277  #define ENOSPC                         0x4000001c
     278  #define ESPIPE                         0x4000001d
     279  #define EROFS                          0x4000001e
     280  #define EMLINK                         0x4000001f
     281  #define EPIPE                          0x40000020
     282  #define EDOM                           0x40000021
     283  #define ERANGE                         0x40000022
     284  #define EAGAIN                         0x40000023
     285  #define EWOULDBLOCK                    EAGAIN
     286  #define EINPROGRESS                    0x40000024
     287  #define EALREADY                       0x40000025
     288  #define ENOTSOCK                       0x40000026
     289  #define EMSGSIZE                       0x40000028
     290  #define EPROTOTYPE                     0x40000029
     291  #define ENOPROTOOPT                    0x4000002a
     292  #define EPROTONOSUPPORT                0x4000002b
     293  #define ESOCKTNOSUPPORT                0x4000002c
     294  #define EOPNOTSUPP                     0x4000002d
     295  #define EPFNOSUPPORT                   0x4000002e
     296  #define EAFNOSUPPORT                   0x4000002f
     297  #define EADDRINUSE                     0x40000030
     298  #define EADDRNOTAVAIL                  0x40000031
     299  #define ENETDOWN                       0x40000032
     300  #define ENETUNREACH                    0x40000033
     301  #define ENETRESET                      0x40000034
     302  #define ECONNABORTED                   0x40000035
     303  #define ECONNRESET                     0x40000036
     304  #define ENOBUFS                        0x40000037
     305  #define EISCONN                        0x40000038
     306  #define ENOTCONN                       0x40000039
     307  #define EDESTADDRREQ                   0x40000027
     308  #define ESHUTDOWN                      0x4000003a
     309  #define ETOOMANYREFS                   0x4000003b
     310  #define ETIMEDOUT                      0x4000003c
     311  #define ECONNREFUSED                   0x4000003d
     312  #define ELOOP                          0x4000003e
     313  #define ENAMETOOLONG                   0x4000003f
     314  #define EHOSTDOWN                      0x40000040
     315  #define EHOSTUNREACH                   0x40000041
     316  #define ENOTEMPTY                      0x40000042
     317  #define EPROCLIM                       0x40000043
     318  #define EUSERS                         0x40000044
     319  #define EDQUOT                         0x40000045
     320  #define ESTALE                         0x40000046
     321  #define EREMOTE                        0x40000047
     322  #define EBADRPC                        0x40000048
     323  #define ERPCMISMATCH                   0x40000049
     324  #define EPROGUNAVAIL                   0x4000004a
     325  #define EPROGMISMATCH                  0x4000004b
     326  #define EPROCUNAVAIL                   0x4000004c
     327  #define ENOLCK                         0x4000004d
     328  #define EFTYPE                         0x4000004f
     329  #define EAUTH                          0x40000050
     330  #define ENEEDAUTH                      0x40000051
     331  #define ENOSYS                         0x4000004e
     332  #define ELIBEXEC                       0x40000053
     333  #define ENOTSUP                        0x40000076
     334  #define EILSEQ                         0x4000006a
     335  #define EBACKGROUND                    0x40000064
     336  #define EDIED                          0x40000065
     337  #define ED                             0x40000066
     338  #define EGREGIOUS                      0x40000067
     339  #define EIEIO                          0x40000068
     340  #define EGRATUITOUS                    0x40000069
     341  #define EBADMSG                        0x4000006b
     342  #define EIDRM                          0x4000006c
     343  #define EMULTIHOP                      0x4000006d
     344  #define ENODATA                        0x4000006e
     345  #define ENOLINK                        0x4000006f
     346  #define ENOMSG                         0x40000070
     347  #define ENOSR                          0x40000071
     348  #define ENOSTR                         0x40000072
     349  #define EOVERFLOW                      0x40000073
     350  #define EPROTO                         0x40000074
     351  #define ETIME                          0x40000075
     352  #define ECANCELED                      0x40000077
     353  #define EOWNERDEAD                     0x40000078
     354  #define ENOTRECOVERABLE                0x40000079
     355  
     356  /* Errors from <mach/message.h>.  */
     357  #define EMACH_SEND_IN_PROGRESS         0x10000001
     358  #define EMACH_SEND_INVALID_DATA        0x10000002
     359  #define EMACH_SEND_INVALID_DEST        0x10000003
     360  #define EMACH_SEND_TIMED_OUT           0x10000004
     361  #define EMACH_SEND_WILL_NOTIFY         0x10000005
     362  #define EMACH_SEND_NOTIFY_IN_PROGRESS  0x10000006
     363  #define EMACH_SEND_INTERRUPTED         0x10000007
     364  #define EMACH_SEND_MSG_TOO_SMALL       0x10000008
     365  #define EMACH_SEND_INVALID_REPLY       0x10000009
     366  #define EMACH_SEND_INVALID_RIGHT       0x1000000a
     367  #define EMACH_SEND_INVALID_NOTIFY      0x1000000b
     368  #define EMACH_SEND_INVALID_MEMORY      0x1000000c
     369  #define EMACH_SEND_NO_BUFFER           0x1000000d
     370  #define EMACH_SEND_NO_NOTIFY           0x1000000e
     371  #define EMACH_SEND_INVALID_TYPE        0x1000000f
     372  #define EMACH_SEND_INVALID_HEADER      0x10000010
     373  #define EMACH_RCV_IN_PROGRESS          0x10004001
     374  #define EMACH_RCV_INVALID_NAME         0x10004002
     375  #define EMACH_RCV_TIMED_OUT            0x10004003
     376  #define EMACH_RCV_TOO_LARGE            0x10004004
     377  #define EMACH_RCV_INTERRUPTED          0x10004005
     378  #define EMACH_RCV_PORT_CHANGED         0x10004006
     379  #define EMACH_RCV_INVALID_NOTIFY       0x10004007
     380  #define EMACH_RCV_INVALID_DATA         0x10004008
     381  #define EMACH_RCV_PORT_DIED            0x10004009
     382  #define EMACH_RCV_IN_SET               0x1000400a
     383  #define EMACH_RCV_HEADER_ERROR         0x1000400b
     384  #define EMACH_RCV_BODY_ERROR           0x1000400c
     385  
     386  /* Errors from <mach/kern_return.h>.  */
     387  #define EKERN_INVALID_ADDRESS          1
     388  #define EKERN_PROTECTION_FAILURE       2
     389  #define EKERN_NO_SPACE                 3
     390  #define EKERN_INVALID_ARGUMENT         4
     391  #define EKERN_FAILURE                  5
     392  #define EKERN_RESOURCE_SHORTAGE        6
     393  #define EKERN_NOT_RECEIVER             7
     394  #define EKERN_NO_ACCESS                8
     395  #define EKERN_MEMORY_FAILURE           9
     396  #define EKERN_MEMORY_ERROR             10
     397  #define EKERN_NOT_IN_SET               12
     398  #define EKERN_NAME_EXISTS              13
     399  #define EKERN_ABORTED                  14
     400  #define EKERN_INVALID_NAME             15
     401  #define EKERN_INVALID_TASK             16
     402  #define EKERN_INVALID_RIGHT            17
     403  #define EKERN_INVALID_VALUE            18
     404  #define EKERN_UREFS_OVERFLOW           19
     405  #define EKERN_INVALID_CAPABILITY       20
     406  #define EKERN_RIGHT_EXISTS             21
     407  #define EKERN_INVALID_HOST             22
     408  #define EKERN_MEMORY_PRESENT           23
     409  #define EKERN_WRITE_PROTECTION_FAILURE 24
     410  #define EKERN_TERMINATED               26
     411  #define EKERN_TIMEDOUT                 27
     412  #define EKERN_INTERRUPTED              28
     413  
     414  /* Errors from <mach/mig_errors.h>.  */
     415  #define EMIG_TYPE_ERROR                -300
     416  #define EMIG_REPLY_MISMATCH            -301
     417  #define EMIG_REMOTE_ERROR              -302
     418  #define EMIG_BAD_ID                    -303
     419  #define EMIG_BAD_ARGUMENTS             -304
     420  #define EMIG_NO_REPLY                  -305
     421  #define EMIG_EXCEPTION                 -306
     422  #define EMIG_ARRAY_TOO_LARGE           -307
     423  #define EMIG_SERVER_DIED               -308
     424  #define EMIG_DESTROY_REQUEST           -309
     425  
     426  /* Errors from <device/device_types.h>.  */
     427  #define ED_IO_ERROR                    2500
     428  #define ED_WOULD_BLOCK                 2501
     429  #define ED_NO_SUCH_DEVICE              2502
     430  #define ED_ALREADY_OPEN                2503
     431  #define ED_DEVICE_DOWN                 2504
     432  #define ED_INVALID_OPERATION           2505
     433  #define ED_INVALID_RECNUM              2506
     434  #define ED_INVALID_SIZE                2507
     435  #define ED_NO_MEMORY                   2508
     436  #define ED_READ_ONLY                   2509
     437  
     438  #define _HURD_ERRNOS 122
     439  
     440  #endif /* bits/errno.h.  */