Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ limits(4) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     limits(4)                  DG/UX 4.30                   limits(4)



     NAME
          limits - file header for implementation-specific constants

     SYNOPSIS
          #include <limits.h>

     DESCRIPTION
          The header file <limits.h> is a list of magnitude
          limitations imposed by a specific implementation of the
          operating system.  All values are specified in decimal.


          #define ARG_MAX   5120 /* max length of arguments to exec */

          #define CHAR_BIT  8  /* # of bits in a "char" */

          #define CHAR_MAX  255  /* max integer value of a "char" */

          #define CHAR_MIN  0  /* min integer value of a "char" */

          #define CHILD_MAX 25  /* max # of processes per user id */

          #define CLK_TCK   100  /* # of clock ticks per second */

          #define DBL_DIG   16 /* digits of precision of a "double" */

          #define DBL_MAX   7.237005577332266e+75 /*max decimal value
                            of a "double"*/

          #define DBL_MIN   5.397605346934028e-79 /*min decimal value
                            of a "double"*/

          #define FCHR_MAX  2147483647 /* max size of a file in bytes
                            */

          #define FLT_DIG   7 /* digits of precision of a "float" */

          #define FLT_MAX   7.23005145973118e+75 /*max decimal value
                            of a "float" */

          #define FLT_MIN   5.397605346934028e-79 /*min decimal value
                            of a "float" */

          #define HUGE_VAL  7.237005145973118e+75 /*error value
                            returned by Math lib*/

          #define INT_MAX   2147483647 /* max decimal value of an
                            "int" */

          #define INT_MIN   -2147483648  /* min decimal value of an
                            "int" */




     Licensed material--property of copyright holder(s)         Page 1





     limits(4)                  DG/UX 4.30                   limits(4)



          #define LINK_MAX  1000  /* max # of links to a single file
                            */

          #define LONG_MAX  2147483647  /* max decimal value of a
                            "long" */

          #define LONG_MIN  -2147483648    /* min decimal value of a
                            "long" */

          #define NAME_MAX  255  /* max # of characters in a filename
                            */

          #define OPEN_MAX  20  /* max # of files a process can have
                            open */

          #define USR_NAME  8  /* max # of characters in a user name
                            */

          #define PASS_MAX  8  /* max # of characters in a password */

          #define PATH_MAX  1023  /* max # of characters in a pathname
                            */

          #define PID_MAX   30000  /* max value for a process ID */

          #define PIPE_BUF  5120  /* max # bytes atomic in write to a
                            pipe */

          #define PIPE_MAX  5120  /* max # bytes written to a pipe in
                            a write */

          #define SHRT_MAX  32767  /* max decimal value of a "short"
                            */

          #define SHRT_MIN  -32768    /* min decimal value of a
                            "short" */

          #define STD_BLK   512  /* # bytes in a physical I/O block */

          #define SYS_NMLN  9  /* # of chars in uname-returned strings
                            */

          #define UID_MAX   60000  /* max value for a user or group id
                            */

          #define USI_MAX   4294967296  /* max decimal value of an
                            "unsigned" */

          #define WORD_BIT  32  /* # of bits in a "word" or "int" */






     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026