root/include/linux/limits.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _LINUX_LIMITS_H
   2 #define _LINUX_LIMITS_H
   3 
   4 #define NAME_MAX 255
   5 
   6 #define NR_OPEN 32
   7 #define NR_INODE 128
   8 #define NR_FILE 128
   9 #define NR_SUPER 8
  10 #define NR_HASH 307
  11 #define BLOCK_SIZE 1024
  12 #define BLOCK_SIZE_BITS 10
  13 #define MAX_CHRDEV 16
  14 #define MAX_BLKDEV 16
  15 
  16 #define NGROUPS_MAX       32    /* supplemental group IDs are available */
  17 #define ARG_MAX        40960    /* # bytes of args + environ for exec() */
  18 #define CHILD_MAX        999    /* no limit :-) */
  19 #define OPEN_MAX          32    /* # open files a process may have */
  20 #define LINK_MAX         127    /* # links a file may have */
  21 #define MAX_CANON        255    /* size of the canonical input queue */
  22 #define MAX_INPUT        255    /* size of the type-ahead buffer */
  23 #define NAME_MAX         255    /* # chars in a file name */
  24 #define PATH_MAX        1024    /* # chars in a path name */
  25 #define PIPE_BUF        4095    /* # bytes in atomic write to a pipe */
  26 
  27 #endif

/* [previous][next][first][last][top][bottom][index][help] */