mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
[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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user