This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
OPEN_MAX/FOPEN_MAX is dynamic?
- To: drepper@cygnus.com (Ulrich Drepper), linux-kernel@vger.rutgers.edu (linux kernel), libc-hacker@cygnus.com (GNU C Library)
- Subject: OPEN_MAX/FOPEN_MAX is dynamic?
- From: hjl@lucon.org (H.J. Lu)
- Date: Mon, 19 Oct 1998 07:43:12 -0700 (PDT)
Hi,
Is OPEN_MAX/FOPEN_MAX dynamic in Linux 2.1.125? At least, it seems
> 256. If it is true, is there a system call libc can use to get it
or do we have to use the /proc interface?
Ulrich, we need to address it in glibc 2. Also it may have impact
on __fd_set. It should be large enough to cover most if not all
cases. I am thinking 8192 or even larger. We can do the conversion
to the kernel fd size at the run-time.
Thanks.
--
H.J. Lu (hjl@gnu.org)