Annotation of coherent/f/usr/include/limits.h, revision 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:  * C numerical limits header.
        !             9:  * Draft Proposed ANSI C Standard, 12/7/88 draft.
        !            10:  * Sections 2.2.4.2, 4.1.4.
        !            11:  *     2's complement arithmetic
        !            12:  *     char    8 bits, sign-extended
        !            13:  *     short   16 bits
        !            14:  *     int     16 bits for i8086, 32 bits for i386
        !            15:  *     long    32 bits
        !            16:  */
        !            17: 
        !            18: #ifndef        __LIMITS_H__
        !            19: #define        __LIMITS_H__
        !            20: 
        !            21: #include <common/feature.h>
        !            22: #include <common/_limits.h>
        !            23: 
        !            24: #define        CHAR_BIT                __CHAR_BIT
        !            25: #define        UCHAR_MAX               __UCHAR_MAX
        !            26: #define        CHAR_MAX                __CHAR_MAX
        !            27: #define        CHAR_MIN                __CHAR_MIN
        !            28: #define        SCHAR_MAX               __SCHAR_MAX
        !            29: #define        SCHAR_MIN               __CSHAR_MIN
        !            30: 
        !            31: #define        USHRT_MAX               __USHRT_MAX
        !            32: #define        SHRT_MAX                __SHRT_MAX
        !            33: #define        SHRT_MIN                __SHRT_MIN
        !            34: 
        !            35: #define        UINT_MAX                __UINT_MAX
        !            36: #define        INT_MAX                 __INT_MAX
        !            37: #define        INT_MIN                 __INT_MIN
        !            38: 
        !            39: #define        ULONG_MAX               __ULONG_MAX
        !            40: #define        LONG_MAX                __LONG_MAX
        !            41: #define        LONG_MIN                __LONG_MIN
        !            42: 
        !            43: #define        MB_LEN_MAX              1
        !            44: 
        !            45: #if    ! _STDC_SOURCE && ! _SYSV4
        !            46: 
        !            47: /*
        !            48:  * System V, Release 3 systems have the following limits hard-coded; the
        !            49:  * actual limits are from iBCS2 except for NAME_MAX, which is supposed to
        !            50:  * be flexible. However, a NAME_MAX of PATH_MAX seems a reasonable
        !            51:  * compromise for now (SCO systems actually have many of the constants below
        !            52:  * flexibly defined rather than set for iBCS2 anyway...)
        !            53:  */
        !            54: 
        !            55: #define        ARG_MAX                 5120
        !            56: #define        LINK_MAX                1000
        !            57: #define        NAME_MAX                256
        !            58: #define        PATH_MAX                256
        !            59: #define        PIPE_BUF                5120
        !            60: #define        PIPE_MAX                5120
        !            61: #define        PASS_MAX                8
        !            62: #define        CHILD_MAX               25
        !            63: 
        !            64: #endif
        !            65: 
        !            66: #endif /* ! defined (__LIMITS_H__) */

unix.superglobalmegacorp.com

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