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 997
  11 #define NR_FILE_LOCKS 32
  12 #define BLOCK_SIZE 1024
  13 #define BLOCK_SIZE_BITS 10
  14 #define MAX_CHRDEV 16
  15 #define MAX_BLKDEV 16
  16 
  17 #define NGROUPS_MAX       32    /* supplemental group IDs are available */
  18 #define ARG_MAX       131072    /* # bytes of args + environ for exec() */
  19 #define CHILD_MAX        999    /* no limit :-) */
  20 #define OPEN_MAX          32    /* # open files a process may have */
  21 #define LINK_MAX         127    /* # links a file may have */
  22 #define MAX_CANON        255    /* size of the canonical input queue */
  23 #define MAX_INPUT        255    /* size of the type-ahead buffer */
  24 #define NAME_MAX         255    /* # chars in a file name */
  25 #define PATH_MAX        1024    /* # chars in a path name */
  26 #define PIPE_BUF        4095    /* # bytes in atomic write to a pipe */
  27 
  28 #endif

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