diff options
author | Ken Brown <kbrown@cornell.edu> | 2022-07-06 21:43:16 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2022-07-07 15:22:40 +0300 |
commit | 5d4f405d3b65536c5757e249832654c24759021f (patch) | |
tree | 97e3a539e6c61a8178bf208e83f0caf1a7916395 /winsup/doc | |
parent | d908a30fdcc1b283def86bae63670e8a09d9b263 (diff) |
Cygwin: redefine some macros for Linux compatibility
Define FD_SETSIZE (<sys/select.h>) to be 1024 by default, and define
NOFILE (<sys/param.h>) to be OPEN_MAX (== 3200) by default.
Remove the comment in <sys/select.h> that FD_SETSIZE should be >=
NOFILE.
Bump API minor.
Addresses: https://cygwin.com/pipermail/cygwin/2022-July/251839.html
Diffstat (limited to 'winsup/doc')
-rw-r--r-- | winsup/doc/new-features.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 0149a027a..46dc028f1 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -33,6 +33,11 @@ Handle UDP_SEGMENT and UDP_GRO socket options. The stdio input functions no longer try again to read after EOF. </para></listitem> +<listitem><para> +The default values of FD_SETSIZE and NOFILE are now 1024 and 3200, +respectively. +</para></listitem> + </itemizedlist> </sect2> |