memfd_create.c 169 B

12345678
  1. #define _GNU_SOURCE 1
  2. #include <sys/mman.h>
  3. #include "syscall.h"
  4. int memfd_create(const char *name, unsigned flags)
  5. {
  6. return syscall(SYS_memfd_create, name, flags);
  7. }