mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +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:
@@ -1,5 +1,5 @@
|
||||
/* Copyright (C) 1991,1993,1995-1997,1999-2003,2004
|
||||
Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991,1993,1995-1997,1999-2003,2004,2006
|
||||
Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -68,7 +68,7 @@ __sysconf (name)
|
||||
#ifdef CHILD_MAX
|
||||
return CHILD_MAX;
|
||||
#else
|
||||
return -1;
|
||||
return __get_child_max ();
|
||||
#endif
|
||||
|
||||
case _SC_CLK_TCK:
|
||||
|
||||
Reference in New Issue
Block a user