diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-08 09:39:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-08 09:39:29 +0000 |
commit | aeb2153cd6ab300de1b241cd1528a3f6f260ad37 (patch) | |
tree | 829be0b73c642f466d92bc34501c30a512a05804 /include/sys | |
parent | 9b121343547d646f5e511446588f0ff69b168211 (diff) | |
download | glibc-aeb2153cd6ab300de1b241cd1528a3f6f260ad37.zip glibc-aeb2153cd6ab300de1b241cd1528a3f6f260ad37.tar.gz glibc-aeb2153cd6ab300de1b241cd1528a3f6f260ad37.tar.bz2 |
[BZ #1535]
* sysdeps/unix/get_child_max.c: New file.
* posix/get_child_max.c: New file.
* posix/Makefile (routines): Add it.
* include/sys/sysinfo.h (__get_child_max): Declare it.
* sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/sysinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index e126bcb..d33055a 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -15,4 +15,7 @@ extern long int __get_phys_pages (void); /* Return number of available physical pages of memory in the system. */ extern long int __get_avphys_pages (void); +/* Return maximum number of processes this real user ID can have. */ +extern long int __get_child_max (void); + #endif /* sys/sysinfo.h */ |