mirror of https://git.musl-libc.org/git/musl
committed by
Rich Felker
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
#define _GNU_SOURCE 1 |
|||
#include <sys/mman.h> |
|||
#include "syscall.h" |
|||
|
|||
int memfd_create(const char *name, unsigned flags) |
|||
{ |
|||
return syscall(SYS_memfd_create, name, flags); |
|||
} |
|||
Loading…
Reference in new issue