aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-05-03 12:39:58 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-05-03 13:09:23 +0200
commitba65cc12a861758e64582b4c8feda48b13ecdbfb (patch)
tree86cd9a5f242b89e3138def93fd337b774955b72f
parente57f8d34e424cdc2d47179ef37a8615a8d8cb33b (diff)
downloadman-pages-ba65cc12a861758e64582b4c8feda48b13ecdbfb.tar.gz
memfd_create.2: Note that memfd_create() does not have a glibc wrapper
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/memfd_create.28
1 files changed, 6 insertions, 2 deletions
diff --git a/man2/memfd_create.2 b/man2/memfd_create.2
index 12d8f166bf..09128e10a9 100644
--- a/man2/memfd_create.2
+++ b/man2/memfd_create.2
@@ -25,6 +25,9 @@ memfd_create \- create an anonymous file
.B #include <sys/memfd.h>
.sp
.BI "int memfd_create(const char *" name ", unsigned int " flags ");"
+
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
.SH DESCRIPTION
.BR memfd_create ()
creates an anonymous file and returns a file descriptor that refers to it.
@@ -156,13 +159,14 @@ There was insufficient memory to create a new anonymous file.
The
.BR memfd_create ()
system call first appeared in Linux 3.17.
-.\" FIXME . When glibc support appears, update the following sentence:
-Support in the GNU C library is pending.
.SH CONFORMING TO
The
.BR memfd_create ()
system call is Linux-specific.
.SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
+
.\" See also http://lwn.net/Articles/593918/
.\" and http://lwn.net/Articles/594919/ and http://lwn.net/Articles/591108/
The