This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

OPEN_MAX/FOPEN_MAX is dynamic?


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]