]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention copy_file_range.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Jun 2019 12:08:35 +0000 (14:08 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Jun 2019 12:08:35 +0000 (14:08 +0200)
* doc/glibc-functions/copy_file_range.texi: New file.
* doc/gnulib.texi (Glibc unistd.h): Include it.

doc/glibc-functions/copy_file_range.texi [new file with mode: 0644]
doc/gnulib.texi

diff --git a/doc/glibc-functions/copy_file_range.texi b/doc/glibc-functions/copy_file_range.texi
new file mode 100644 (file)
index 0000000..b257ff8
--- /dev/null
@@ -0,0 +1,30 @@
+@node copy_file_range
+@subsection @code{copy_file_range}
+@findex copy_file_range
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Copying File Data,,Copying data between two files,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Copying-File-Data.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/copy_file_range.2.html,,man copy_file_range}.
+@end itemize
+
+Gnulib module: copy-file-range
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function is missing on all non-glibc platforms:
+glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0.
+But the replacement function is only a stub: It always fails with error ENOSYS.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@end itemize
index a8f328e5debd06ce140b2aed871a77976732e9ac..42ae9bfb5acff5d0e90c36adff4d6e417d24f7d2 100644 (file)
@@ -6301,6 +6301,7 @@ This list of functions is sorted according to the header that declares them.
 * acct::
 * brk::
 * chroot::
+* copy_file_range::
 * daemon::
 * dup3::
 * eaccess::
@@ -6336,6 +6337,7 @@ This list of functions is sorted according to the header that declares them.
 @include glibc-functions/acct.texi
 @include glibc-functions/brk.texi
 @include glibc-functions/chroot.texi
+@include glibc-functions/copy_file_range.texi
 @include glibc-functions/daemon.texi
 @include glibc-functions/dup3.texi
 @include glibc-functions/eaccess.texi