1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
* 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:
Roland McGrath
2006-01-08 09:39:29 +00:00
parent 9b12134354
commit aeb2153cd6
6 changed files with 81 additions and 4 deletions

View File

@@ -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: