Annotation of 43BSDReno/sys/vax/machlimits.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1988 The Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * Redistribution is only permitted until one year after the first shipment
                      6:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
                      7:  * binary forms are permitted provided that: (1) source distributions retain
                      8:  * this entire copyright notice and comment, and (2) distributions including
                      9:  * binaries display the following acknowledgement:  This product includes
                     10:  * software developed by the University of California, Berkeley and its
                     11:  * contributors'' in the documentation or other materials provided with the
                     12:  * distribution and in all advertising materials mentioning features or use
                     13:  * of this software.  Neither the name of the University nor the names of
                     14:  * its contributors may be used to endorse or promote products derived from
                     15:  * this software without specific prior written permission.
                     16:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     17:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     18:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     19:  *
                     20:  *     @(#)machlimits.h        7.2 (Berkeley) 6/28/90
                     21:  */
                     22: 
                     23: #define        CHAR_BIT        8               /* number of bits in a char */
                     24: #define        CLK_TCK         60              /* ticks per second */
                     25: #define        MB_LEN_MAX      1               /* no multibyte characters */
                     26: 
                     27: #define        SCHAR_MIN       0x80            /* max value for a signed char */
                     28: #define        SCHAR_MAX       0x7f            /* min value for a signed char */
                     29: 
                     30: #define        UCHAR_MAX       0xff            /* max value for an unsigned char */
                     31: #define        CHAR_MAX        0x7f            /* max value for a char */
                     32: #define        CHAR_MIN        0x80            /* min value for a char */
                     33: 
                     34: #define        USHRT_MAX       0xffff          /* max value for an unsigned short */
                     35: #define        SHRT_MAX        0x7fff          /* max value for a short */
                     36: #define        SHRT_MIN        0x8000          /* min value for a short */
                     37: 
                     38: #define        UINT_MAX        0xffffffff      /* max value for an unsigned int */
                     39: #define        INT_MAX         0x7fffffff      /* max value for an int */
                     40: #define        INT_MIN         0x80000000      /* min value for an int */
                     41: 
                     42: #define        ULONG_MAX       0xffffffff      /* max value for an unsigned long */
                     43: #define        LONG_MAX        0x7fffffff      /* max value for a long */
                     44: #define        LONG_MIN        0x80000000      /* min value for a long */

unix.superglobalmegacorp.com

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