[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
doc: More updates for glibc 2.34
From: |
Bruno Haible |
Subject: |
doc: More updates for glibc 2.34 |
Date: |
Sat, 15 Jun 2024 01:55:20 +0200 |
In the doc updates for glibc 2.34, I missed the added function 'close_range'.
It exists in
glibc ≥ 2.34, FreeBSD ≥ 13.0, Cygwin ≥ 3.5.0, Android API level ≥ 34.
2024-06-14 Bruno Haible <bruno@clisp.org>
doc: More updates for glibc 2.34.
* doc/glibc-functions/close_range.texi: New file.
* doc/gnulib.texi: Include it.
diff --git a/doc/glibc-functions/close_range.texi
b/doc/glibc-functions/close_range.texi
new file mode 100644
index 0000000000..4af32fd592
--- /dev/null
+++ b/doc/glibc-functions/close_range.texi
@@ -0,0 +1,29 @@
+@node close_range
+@subsection @code{close_range}
+@findex close_range
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Opening and Closing Files,,Opening and Closing Files,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Opening-and-Closing-Files.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/close_range.2.html,,man
close_range}.
+@end itemize
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function is missing on many platforms:
+glibc 2.33, macOS 14, FreeBSD 12.4, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX
7.3.1, HP-UX 11.31, Solaris 11.4, Cygwin 3.4.6, mingw, MSVC 14, Android API
level 33.
+@end itemize
diff --git a/doc/gnulib.texi b/doc/gnulib.texi
index 07b18aa7b8..2f5ebcd1a0 100644
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -6768,6 +6768,7 @@
* brk::
* chroot::
* closefrom::
+* close_range::
* copy_file_range::
* daemon::
* dup3::
@@ -6808,6 +6809,7 @@
@include glibc-functions/brk.texi
@include glibc-functions/chroot.texi
@include glibc-functions/closefrom.texi
+@include glibc-functions/close_range.texi
@include glibc-functions/copy_file_range.texi
@include glibc-functions/daemon.texi
@include glibc-functions/dup3.texi
- doc: More updates for glibc 2.34,
Bruno Haible <=