Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ limits(4) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

passwd(4)



limits(4)                      DG/UX R4.11MU05                     limits(4)


NAME
       limits - header file for implementation-specific constants

SYNOPSIS
       #include <limits.h>

DESCRIPTION
       The header file limits.h is a list of minimal magnitude limitations
       imposed by a specific implementation of the operating system.
       ARGMAX    5120                    /* max length of arguments to exec */
       CHARBIT   8                       /* max # of bits in a "char" */
       CHARMAX   255                     /* max value of a "char" */
       CHARMIN   0                       /* min value of a "char" */
       CHILDMAX  25                      /* max # of processes per user id */
       EDMC??
       CLKTCK    sysconf(3)             /* clock ticks per second */
       DBLDIG    15                      /* digits of precision of a "double" */
       DBLMAX    1.79769313486223179E+308/* max decimal value of a "double"*/
       DBLMIN    2.2250738585071991E-308 /* min decimal value of a "double"*/
       FCHRMAX   2147483647              /* max size of a file in bytes */
       FLTDIG    6                       /* digits of precision of a "float" */
       FLTMAX    3.40282347E+38F         /* max decimal value of a "float" */
       FLTMIN    1.17549435E-38F         /* min decimal value of a "float" */
       HUGEVAL   7.237005145973118E-75   /* error value returned by Math lib */
       INTMAX    2147483647              /* max value of an "int" */
       INTMIN    (-2147483647-1)         /* min value of an "int" */
       LINKMAX   1000                    /* max # of links to a single file */
       LOGNAMEMAX8                       /* max # of characters in a login name */
       LONGBIT   32                      /* # of bits in a "long" */
       LONGMAX   2147483647              /* max value of a "long int" */
       LONGMIN   (-2147483647-1)         /* min value of a "long int" */
       MAXCANON  255                     /* max bytes in a line for canonical
                                          processing */
       MAXINPUT  512                     /* max size of a char input buffer */
       MBLENMAX 5                       /* max # of bytes in a multibyte
                                          character */
       NAMEMAX   14                      /* max # of characters in a file name */
       NGROUPSMAX16                      /* max # of groups for a user */
       NLARGMAX  9                       /* max value of "digit" in calls to the
                                          NLS printf() and scanf() */
       NLLANGMAX 14                      /* max # of bytes in a LANG name */
       NLMSGMAX  32767                   /* max message number */
       NLNMAX    1                       /* max # of bytes in N-to-1 mapping
                                          characters */
       NLSETMAX  255                     /* max set number */
       NLTEXTMAX 255                     /* max # of bytes in a message string */
       NZERO      20                      /* default process priority */
       OPENMAX   64                      /* max # of files a process can have
                                          open */
       PASSMAX   8                       /* max # of characters in a password */
       PATHMAX   1023                    /* max # of characters in a path name */
       PIDMAX    30000                   /* max value for a process ID */
       PIPEBUF   8192                    /* max # bytes atomic in write to a pipe */
       PIPEMAX   8192                    /* max # bytes written to a pipe
                                          in a write */
       SCHARMAX  127                     /* max value of a "signed char" */
       SCHARMIN  (-128)                  /* min value of a "signed char" */
       SHRTMAX   32767                   /* max value of a "short int" */
       SHRTMIN   (-32768)                /* min value of a "short int" */
       STDBLK    512                     /* # bytes in a physical I/O block */
       SYSNMLN   256                     /* 4.0 size of utsname elements */
                                          /* also defined in sys/utsname.h */
       SYSPIDMAX 1                       /* max pid of system processes */
       TMPMAX    17576                   /* max # of unique names generated
                                          by tmpnam */
       UCHARMAX  255                     /* max value of an "unsigned char" */
       UIDMAX    60000                   /* max value for a user or group ID */
       UINTMAX   4294967295              /* max value of an "unsigned int" */
       ULONGMAX  4294967295              /* max value of an "unsigned long int" */
       USHRTMAX  65535                   /* max value of an "unsigned short int" */
       USIMAX    4294967295              /* max decimal value of an "unsigned" */
       WORDBIT   32                      /* # of bits in a "word" or "int" */

       The following POSIX definitions are the most restrictive values to be
       used by a POSIX conformant application. Conforming implementations
       shall provide values at least this large.

       POSIXARGMAX     4096  /* max length of arguments to exec */
       POSIXCHILDMAX   6     /* max # of processes per user ID */
       POSIXLINKMAX    8     /* max # of links to a single file */
       POSIXMAXCANON   255   /* max # of bytes in a line of input */
       POSIXMAXINPUT   255   /* max # of bytes in terminal
                                input queue */
       POSIXNAMEMAX    14    /* # of bytes in a filename */
       POSIXNGROUPSMAX  0    /* max # of groups in a process */
       POSIXOPENMAX    16    /* max # of files a process can have open */
       POSIXPATHMAX    255   /* max # of characters in a pathname */
       POSIXPIPEBUF    512   /* max # of bytes atomic in write
                                to a pipe */

SEE ALSO
       passwd(4).


Licensed material--property of copyright holder(s)

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