diff options
author | Christian Franke <christian.franke@t-online.de> | 2024-01-15 12:13:30 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-15 12:52:56 +0100 |
commit | d8c0fb090ca637bba5337fb3b0a1f3ee107b21dd (patch) | |
tree | b70b4361eb285af0f5d25a3594e5a02a0897b162 /winsup/cygwin/include | |
parent | 4ecfb5b7292af4baf0a2f199f5351b67c8faf4cc (diff) | |
download | newlib-d8c0fb090ca637bba5337fb3b0a1f3ee107b21dd.zip newlib-d8c0fb090ca637bba5337fb3b0a1f3ee107b21dd.tar.gz newlib-d8c0fb090ca637bba5337fb3b0a1f3ee107b21dd.tar.bz2 |
Cygwin: introduce close_range(2)
This function closes or sets the close-on-exec flag for a specified
range of file descriptors. It is available on FreeBSD and Linux.
Signed-off-by: Christian Franke <christian.franke@t-online.de>
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index c8177c2..3036878 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -484,12 +484,13 @@ details. */ 347: Add c16rtomb, c32rtomb, mbrtoc16, mbrtoc32. 348: Add c8rtomb, mbrtoc. 349: Add fallocate. + 350: Add close_range. Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 349 +#define CYGWIN_VERSION_API_MINOR 350 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible changes are made to the shared |