mirror of https://github.com/mkerrisk/man-pages
memfd_create.2: memfd_create() now has a glibc wrapper; remove mention of syscall(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3e6695e03a
commit
4b204edb3b
|
@ -25,9 +25,6 @@ memfd_create \- create an anonymous file
|
|||
.B #include <sys/memfd.h>
|
||||
.PP
|
||||
.BI "int memfd_create(const char *" name ", unsigned int " flags ");"
|
||||
.PP
|
||||
.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.
|
||||
|
@ -206,8 +203,6 @@ 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).
|
||||
.PP
|
||||
.\" See also http://lwn.net/Articles/593918/
|
||||
.\" and http://lwn.net/Articles/594919/ and http://lwn.net/Articles/591108/
|
||||
|
|
Loading…
Reference in New Issue