getopt: fix null pointer arithmetic ub
[musl] / src / linux / open_by_handle_at.c
1 #define _GNU_SOURCE
2 #include <fcntl.h>
3 #include "syscall.h"
4
5 int open_by_handle_at(int mount_fd, struct file_handle *handle, int flags)
6 {
7         return syscall(SYS_open_by_handle_at, mount_fd, handle, flags);
8 }