#define _GNU_SOURCE #include #include "syscall.h" int statx(int dirfd, const char *restrict path, int flags, unsigned mask, struct statx *restrict stx) { return syscall(SYS_statx, dirfd, path, flags, mask, stx); }