Annotation of coherent/f/usr/include.78/limits.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT 386 Device Driver Kit release 2.0
                      3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: 
                      7: /*
                      8:  * limits.h
                      9:  * C numerical limits header.
                     10:  * Draft Proposed ANSI C Standard, 12/7/88 draft.
                     11:  * Sections 2.2.4.2, 4.1.4.
                     12:  *     2's complement arithmetic
                     13:  *     char    8 bits, sign-extended
                     14:  *     short   16 bits
                     15:  *     int     16 bits for i8086, 32 bits for i386
                     16:  *     long    32 bits
                     17:  */
                     18: 
                     19: #ifndef        __LIMITS_H__
                     20: #define        __LIMITS_H__
                     21: 
                     22: #define        CHAR_BIT        8
                     23: #define        CHAR_MAX        SCHAR_MAX
                     24: #define        CHAR_MIN        SCHAR_MIN
                     25: #if    IAPX86
                     26: #define        INT_MAX         0x7FFF
                     27: #define        INT_MIN         0x8000
                     28: #elif  _I386
                     29: #define        INT_MAX         0x7FFFFFFF
                     30: #define        INT_MIN         0x80000000
                     31: #endif
                     32: #define        LONG_MAX        0x7FFFFFFFL
                     33: #define        LONG_MIN        0x80000000L
                     34: #define        MB_LEN_MAX      1
                     35: #define        SCHAR_MAX       127
                     36: #define        SCHAR_MIN       -128
                     37: #define        SHRT_MAX        32767
                     38: #define        SHRT_MIN        -32768
                     39: #define        UCHAR_MAX       255
                     40: #if    IAPX86
                     41: #define        UINT_MAX        0xFFFFU
                     42: #elif  _I386
                     43: #define        UINT_MAX        0xFFFFFFFFU
                     44: #endif
                     45: #define        USHRT_MAX       0xFFFFU
                     46: #define        ULONG_MAX       0xFFFFFFFFUL
                     47: 
                     48: #endif
                     49: 
                     50: /* end of limits.h */

unix.superglobalmegacorp.com

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