00001 #define ARG_MAX 10240 /* max length of arguments to exec */ 00002 #define CHAR_BIT 8 /* # of bits in a "char" */ 00003 #define CHAR_MAX 255 /* max integer value of a "char" */ 00004 #define CHAR_MIN 0 /* min integer value of a "char" */ 00005 #define CHILD_MAX 25 /* max # of processes per user id */ 00006 #define CLK_TCK 100 /* # of clock ticks per second */ 00007 #define DBL_DIG 15 /* digits of precision of a "double" */ 00008 #define DBL_MAX 1.7976931348623157E+308 00009 /* max decimal value of a "double" */ 00010 #define DBL_MIN 2.2250738585072014E-308 00011 /* min decimal value of a "double" */ 00012 #define FCHR_MAX 2147483647 /* max size of a file in bytes */ 00013 #define FLT_DIG 6 /* digits of precision of a "float" */ 00014 #define FLT_MAX 3.40282347e+38 /* max decimal value of a "float" */ 00015 #define FLT_MIN 1.17549435e-38 /* min decimal value of a "float" */ 00016 #define HUGE_VAL 1.7976931348623157E+308 00017 /* error value returned by Math lib */ 00018 #define INT_MAX 2147483647 /* max decimal value of an "int" */ 00019 #define INT_MIN -2147483648/* min decimal value of an "int" */ 00020 #define LINK_MAX 1000 /* max # of links to a single file */ 00021 #define LONG_MAX 2147483647 /* max decimal value of a "long" */ 00022 #define LONG_MIN -2147483648/* min decimal value of a "long" */ 00023 #define MAX_CANON 255 /* max # of bytes in a terminal */ 00024 /* canonical input queue */ 00025 #define MAX_INPUT 255 /* max # of bytes for which space will be */ 00026 /* available in a terminal input queue */ 00027 00028 #define MB_LEN_MAX 1 /* max # of characters in a multibyte */ 00029 /* character */ 00030 #define NAME_MAX 255 /* max # of characters in a file name */ 00031 #define NGROUPS_MAX 0 /* max # of simultaneous supplementary */ 00032 /* group IDs per process */ 00033 #define OPEN_MAX 20 /* max # of files a process can have open */ 00034 #define PASS_MAX 8 /* max # of characters in a password */ 00035 #define PATH_MAX 1024 /* max # of characters in a path name */ 00036 #define PID_MAX 30000 /* max value for a process ID */ 00037 #define PIPE_BUF 10240 /* max # bytes atomic in write to a pipe */ 00038 #define PIPE_MAX 10240 /* max # bytes written to a pipe */ 00039 /* in a write */ 00040 #define SCHAR_MAX 127 /* max decimal value of a "signed char" */ 00041 #define SCHAR_MIN -128 /* min decimal value of a "signed char" */ 00042 #define SHRT_MAX 32767 /* max decimal value of a "short" */ 00043 #define SHRT_MIN -32768 /* min decimal value of a "short" */ 00044 #define STD_BLK 1024 /* # bytes in a physical I/O block */ 00045 #define SYS_NMLN 9 /* # of chars in uname-returned strings */ 00046 #define UCHAR_MAX 255 /* max decimal value of an */ 00047 /* "unsigned char" */ 00048 #define UID_MAX 60000 /* max value for a user or group ID */ 00049 #define UINT_MAX 4294967295 /* max decimal value of an "unsigned int" */ 00050 #define ULONG_MAX 4294967295 /* max decimal value of an */ 00051 /* "unsigned long" */ 00052 #define USHRT_MAX 65535 /* max decimal value of an */ 00053 /* "unsigned short" */ 00054 #define USI_MAX 4294967295 /* max decimal value of an "unsigned" */ 00055 #define WORD_BIT 32 /* # of bits in a "word" or "int" */