aboutsummaryrefslogtreecommitdiffstats
path: root/man2/memfd_create.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/memfd_create.2')
-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