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

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

diff --git a/doc/glibc-functions/mlock2.texi b/doc/glibc-functions/mlock2.texi
new file mode 100644 (file)
index 0000000..5a08235
--- /dev/null
@@ -0,0 +1,29 @@
+@node mlock2
+@subsection @code{mlock2}
+@findex mlock2
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Page Lock Functions,,Functions To Lock And Unlock Pages,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Page-Lock-Functions.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/mlock2.2.html,,man mlock2}.
+@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 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.
+@end itemize
index 3f3fac3767fc5df9b07d9215cf75158c0e10cd91..0795917175f24d595be57a9d19b07ca65f867346 100644 (file)
@@ -5842,6 +5842,7 @@ This list of functions is sorted according to the header that declares them.
 * madvise::
 * memfd_create::
 * mincore::
+* mlock2::
 * mremap::
 * remap_file_pages::
 @end menu
@@ -5849,6 +5850,7 @@ This list of functions is sorted according to the header that declares them.
 @include glibc-functions/madvise.texi
 @include glibc-functions/memfd_create.texi
 @include glibc-functions/mincore.texi
+@include glibc-functions/mlock2.texi
 @include glibc-functions/mremap.texi
 @include glibc-functions/remap_file_pages.texi