sysconf(_SC_OPEN_MAX) limit

Robert Collins
Thu Jun 7 17:03:00 GMT 2001

I think it's newlib that provides sysconf....

I'll see if I have time this weekend to dig into where the 32 is coming
from. 8192 /16384 sound good for the value returned?


----- Original Message -----
From: "Suhaib Siddiqi" <>
To: <>
Sent: Friday, June 08, 2001 9:56 AM
Subject: sysconf(_SC_OPEN_MAX) limit

> According to private communication with Chris, Cygwin has no fd limit.
> However, we have a sysconf(_SC_OPEN_MAX) issue for Cygwin/XFree86:
> why sysconf(_SC_OPEN_MAX) only returns 32 then. XFree86 returns errors
> max limit is hit.  One way to over come this is to hack the
connections.c in
> Xfree86, However, shouldn't
> this be bumped up in the Cygwin rather than making changes in source
> outside of
> it. Maybe other people will come across the same problem in other
> applications.
> --
> Want to unsubscribe from this list?
> Check out:

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list