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

1.1       root        1: /***
                      2: *errno.h - system wide error numbers (set by system calls)
                      3: *
                      4: *      Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
                      5: *
                      6: *Purpose:
                      7: *      This file defines the system-wide error numbers (set by
                      8: *      system calls).  Conforms to the XENIX standard.  Extended
                      9: *      for compatibility with Uniforum standard.
                     10: *      [System V]
                     11: *
                     12: ****/
                     13: 
                     14: #ifndef _INC_ERRNO
                     15: 
                     16: #ifdef __cplusplus
                     17: extern "C" {
                     18: #endif
                     19: 
                     20: 
1.1.1.2 ! root       21: #ifndef MIPS
1.1       root       22: #if (_MSC_VER <= 600)
                     23: #define __cdecl _cdecl
                     24: #endif
1.1.1.2 ! root       25: #endif
1.1       root       26: 
                     27: /* declare reference to errno */
                     28: 
                     29: #ifdef _MT
                     30: extern int * _errno(void);
                     31: #define errno  (*_errno())
                     32: #else
                     33: extern int errno;
                     34: #endif
                     35: 
                     36: /* Error Codes */
                     37: 
                     38: #define EZERO          0
                     39: #define EPERM          1
                     40: #define ENOENT         2
                     41: #define ESRCH          3
                     42: #define EINTR          4
                     43: #define EIO            5
                     44: #define ENXIO          6
                     45: #define E2BIG          7
                     46: #define ENOEXEC        8
                     47: #define EBADF          9
                     48: #define ECHILD         10
                     49: #define EAGAIN         11
                     50: #define ENOMEM         12
                     51: #define EACCES         13
                     52: #define EFAULT         14
                     53: #define ENOTBLK        15
                     54: #define EBUSY          16
                     55: #define EEXIST         17
                     56: #define EXDEV          18
                     57: #define ENODEV         19
                     58: #define ENOTDIR        20
                     59: #define EISDIR         21
                     60: #define EINVAL         22
                     61: #define ENFILE         23
                     62: #define EMFILE         24
                     63: #define ENOTTY         25
                     64: #define ETXTBSY        26
                     65: #define EFBIG          27
                     66: #define ENOSPC         28
                     67: #define ESPIPE         29
                     68: #define EROFS          30
                     69: #define EMLINK         31
                     70: #define EPIPE          32
                     71: #define EDOM           33
                     72: #define ERANGE         34
                     73: #define EUCLEAN        35
                     74: #define EDEADLOCK      36
                     75: 
                     76: #ifdef __cplusplus
                     77: }
                     78: #endif
                     79: 
                     80: #define _INC_ERRNO
                     81: #endif /* _INC_ERRNO */

unix.superglobalmegacorp.com

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