aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/lmuse.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2025-01-28 16:50:12 +0100
committerCorinna Vinschen <corinna@vinschen.de>2025-01-28 16:50:12 +0100
commitd52d983e5b69457c706c34097a328a7678107b1a (patch)
tree8c3245024e302a62c5a5535a1e5ab4f3ac821ad0 /winsup/w32api/include/lmuse.h
parentc7eb1a1f5225bb8e1a992519c28b72d74a0b59fd (diff)
downloadnewlib-main.zip
newlib-main.tar.gz
newlib-main.tar.bz2
Cygwin: implement posix_closeHEADgithub/mastergithub/mainmastermain
per https://pubs.opengroup.org/onlinepubs/9799919799/functions/posix_close.html Add a flag value to fhandler_*::close() and close_with_arch() methods, taking -1 as default argument, used to indicate default close(2) behaviour. The only fhandlers capable of returning EINTR are the INET based socket fhandlers. Handle -1 and POSIX_CLOSE_RESTART equivalent, making close() and posix_close(POSIX_CLOSE_RESTART) behaving identically. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/w32api/include/lmuse.h')
0 files changed, 0 insertions, 0 deletions