getopt: fix null pointer arithmetic ub
[musl] / src / linux / memfd_create.c
1 #define _GNU_SOURCE 1
2 #include <sys/mman.h>
3 #include "syscall.h"
4
5 int memfd_create(const char *name, unsigned flags)
6 {
7         return syscall(SYS_memfd_create, name, flags);
8 }