summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-08 09:39:29 +0000
committerRoland McGrath <roland@gnu.org>2006-01-08 09:39:29 +0000
commitaeb2153cd6ab300de1b241cd1528a3f6f260ad37 (patch)
tree829be0b73c642f466d92bc34501c30a512a05804 /include
parent9b121343547d646f5e511446588f0ff69b168211 (diff)
[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')
-rw-r--r--include/sys/sysinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h
index e126bcb0e9..d33055a2b3 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 */