OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [limits.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _LINUX_LIMITS_H
2
#define _LINUX_LIMITS_H
3
 
4
#include <linux/config.h>
5
 
6
#ifdef CONFIG_REDUCED_MEMORY
7
 
8
#define NR_OPEN          128
9
 
10
#else /* !CONFIG_REDUCED_MEMORY */
11
 
12
#define NR_OPEN          256
13
 
14
#endif /* !CONFIG_REDUCED_MEMORY */
15
 
16
#define NGROUPS_MAX       32    /* supplemental group IDs are available */
17
#define ARG_MAX       131072    /* # bytes of args + environ for exec() */
18
#define CHILD_MAX        999    /* no limit :-) */
19
#define OPEN_MAX         256    /* # 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
 
26
#ifndef PIPE_BUF
27
#define PIPE_BUF        4096    /* # bytes in atomic write to a pipe */
28
#endif
29
 
30
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.