Print this page
8527 tty buffer/queue sizes should be larger


  56 #endif
  57 
  58 #if defined(__EXTENSIONS__) || !defined(_STRICT_STDC) || \
  59         defined(__XOPEN_OR_POSIX)
  60 
  61 #define SSIZE_MAX       LONG_MAX        /* max value of an "ssize_t" */
  62 
  63 /*
  64  * ARG_MAX is calculated as follows:
  65  * NCARGS - space for other stuff on initial stack
  66  * like aux vectors, saved registers, etc..
  67  */
  68 #define _ARG_MAX32      1048320 /* max length of args to exec 32-bit program */
  69 #define _ARG_MAX64      2096640 /* max length of args to exec 64-bit program */
  70 #ifdef  _LP64
  71 #define ARG_MAX         _ARG_MAX64      /* max length of arguments to exec */
  72 #else   /* _LP64 */
  73 #define ARG_MAX         _ARG_MAX32      /* max length of arguments to exec */
  74 #endif  /* _LP64 */
  75 





  76 #ifndef MAX_CANON
  77 #define MAX_CANON       256     /* max bytes in line for canonical processing */
  78 #endif
  79 
  80 #ifndef MAX_INPUT
  81 #define MAX_INPUT       512     /* max size of a char input buffer */
  82 #endif
  83 
  84 #define NGROUPS_MAX     16      /* max number of groups for a user */
  85 
  86 #ifndef PATH_MAX
  87 #define PATH_MAX        1024    /* max # of characters in a path name */
  88 #endif
  89 
  90 #define SYMLINK_MAX     1024    /* max # of characters a symlink can contain */
  91 
  92 #define PIPE_BUF        5120    /* max # bytes atomic in write to a pipe */
  93 
  94 #ifndef TMP_MAX
  95 #define TMP_MAX         17576   /* 26 * 26 * 26 */




  56 #endif
  57 
  58 #if defined(__EXTENSIONS__) || !defined(_STRICT_STDC) || \
  59         defined(__XOPEN_OR_POSIX)
  60 
  61 #define SSIZE_MAX       LONG_MAX        /* max value of an "ssize_t" */
  62 
  63 /*
  64  * ARG_MAX is calculated as follows:
  65  * NCARGS - space for other stuff on initial stack
  66  * like aux vectors, saved registers, etc..
  67  */
  68 #define _ARG_MAX32      1048320 /* max length of args to exec 32-bit program */
  69 #define _ARG_MAX64      2096640 /* max length of args to exec 64-bit program */
  70 #ifdef  _LP64
  71 #define ARG_MAX         _ARG_MAX64      /* max length of arguments to exec */
  72 #else   /* _LP64 */
  73 #define ARG_MAX         _ARG_MAX32      /* max length of arguments to exec */
  74 #endif  /* _LP64 */
  75 
  76 
  77 /*
  78  * These two symbols have their historical values, the actual buffer is
  79  * larger.
  80  */
  81 #ifndef MAX_CANON
  82 #define MAX_CANON       256     /* max bytes in line for canonical processing */
  83 #endif
  84 
  85 #ifndef MAX_INPUT
  86 #define MAX_INPUT       512     /* max size of a char input buffer */
  87 #endif
  88 
  89 #define NGROUPS_MAX     16      /* max number of groups for a user */
  90 
  91 #ifndef PATH_MAX
  92 #define PATH_MAX        1024    /* max # of characters in a path name */
  93 #endif
  94 
  95 #define SYMLINK_MAX     1024    /* max # of characters a symlink can contain */
  96 
  97 #define PIPE_BUF        5120    /* max # bytes atomic in write to a pipe */
  98 
  99 #ifndef TMP_MAX
 100 #define TMP_MAX         17576   /* 26 * 26 * 26 */