OPEN_MAX/FOPEN_MAX is dynamic?

H.J. Lu (hjl@lucon.org)
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)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/