From aeb2153cd6ab300de1b241cd1528a3f6f260ad37 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 8 Jan 2006 09:39:29 +0000 Subject: [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. --- include/sys/sysinfo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 */ -- cgit v1.1