1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2004-08-30  Jakub Jelinek  <jakub@redhat.com>

	* posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
	not __USE_XOPEN2K, use the Unix98 mandated values.
This commit is contained in:
Ulrich Drepper
2004-08-30 16:56:03 +00:00
parent 6442d5d71b
commit 409f749345
3 changed files with 22 additions and 2 deletions

View File

@ -38,7 +38,11 @@
#define _POSIX_ARG_MAX 4096
/* Maximum simultaneous processes per real user ID. */
#define _POSIX_CHILD_MAX 25
#ifdef __USE_XOPEN2K
# define _POSIX_CHILD_MAX 25
#else
# define _POSIX_CHILD_MAX 6
#endif
/* Minimal number of timer expiration overruns. */
#define _POSIX_DELAYTIMER_MAX 32
@ -77,7 +81,11 @@
#endif
/* Number of files one process can have open at once. */
#define _POSIX_OPEN_MAX 20
#ifdef __USE_XOPEN2K
# define _POSIX_OPEN_MAX 20
#else
# define _POSIX_OPEN_MAX 16
#endif
/* Number of descriptors that a process may examine with `pselect' or
`select'. */