9 lines
169 B
C
9 lines
169 B
C
#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);
|
|
}
|