Annotation of mstools/posix/h/sys/errno.h, revision 1.1.1.2

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1991 Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:   errno.h
                      8: 
                      9: Abstract:
                     10: 
                     11:    This module contains the implementation defined values for the POSIX error
                     12:    number as described in section 2.5 of IEEE P1003.1/Draft 13 as well as
                     13:    additional error codes for streams and sockets.
                     14: 
                     15: --*/
                     16: 
                     17: 
                     18: #ifndef _SYS_ERRNO_
                     19: #define _SYS_ERRNO_
                     20: 
                     21: /*
                     22:  *  POSIX error codes
                     23:  */
                     24: 
1.1.1.2 ! root       25: #define  EZERO         0       /* No error                             */
        !            26: #define  EPERM         1       /* Operation no permitted               */
        !            27: #define  ENOENT                2       /* No such file or directory            */
        !            28: #define  ESRCH         3       /* No such process                      */
        !            29: #define  EINTR         4       /* Interrupted function call            */
        !            30: #define  EIO           5       /* Input/output error                   */
        !            31: #define  ENXIO         6       /* No such device or address            */
        !            32: #define  E2BIG         7       /* Arg list too long                    */
        !            33: #define  ENOEXEC       8       /* Exec format error                    */
        !            34: #define  EBADF         9       /* Bad file descriptor                  */
        !            35: #define  ECHILD                10      /* No child processes                   */
        !            36: #define  EAGAIN                11      /* Resource temporarily unavailable     */
        !            37: #define  ENOMEM                12      /* Not enough space                     */
        !            38: #define  EACCES                13      /* Permission denied                    */
        !            39: #define  EFAULT                14      /* Bad address                          */
        !            40: #define  ENOTBLK       15      /* Unknown error                        */
        !            41: #define  EBUSY         16      /* Resource device                      */
        !            42: #define  EEXIST                17      /* File exists                          */
        !            43: #define  EXDEV         18      /* Improper link                        */
        !            44: #define  ENODEV                19      /* No such device                       */
        !            45: #define  ENOTDIR       20      /* Not a directory                      */
        !            46: #define  EISDIR                21      /* Is a directory                       */
        !            47: #define  EINVAL                22      /* Invalid argument                     */
        !            48: #define  ENFILE                23      /* Too many open files in system        */
        !            49: #define  EMFILE                24      /* Too many open files                  */
        !            50: #define  ENOTTY                25      /* Inappropriate I/O control operation  */
        !            51: #define  ETXTBUSY      26      /* Unknown error                        */
        !            52: #define  EFBIG         27      /* File too large                       */
        !            53: #define  ENOSPC                28      /* No space left on device              */
        !            54: #define  ESPIPE                29      /* Invalid seek                         */
        !            55: #define  EROFS         30      /* Read-only file system                */
        !            56: #define  EMLINK                31      /* Too many links                       */
        !            57: #define  EPIPE         32      /* Broken pipe                          */
        !            58: #define  EDOM          33      /* Domain error                         */
        !            59: #define  ERANGE                34      /* Result too large                     */
        !            60: #define  EUCLEAN       35      /* Unknown error                        */
        !            61: #define  EDEADLOCK     36      /* Resource deadlock avoided            */
        !            62: #define  EDEADLK       36      /* Resource deadlock avoided            */
        !            63: #ifndef         _POSIX_SOURCE
        !            64: #define  UNKNOWN       37      /* Unknown error                        */
        !            65: #endif  /* _POSIX_SOURCE */
        !            66: #define  ENAMETOOLONG   38     /* Filename too long                    */
        !            67: #define  ENOLCK         39     /* No locks available                   */
        !            68: #define  ENOSYS         40     /* Function not implemented             */
        !            69: #define  ENOTEMPTY      41     /* Direcotory not empty                 */
        !            70: #define  EILSEQ         42      /* Invalid multi-byte character         */
1.1       root       71: 
                     72: #endif  /* _SYS_ERRNO_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.