#define _GNU_SOURCE #include #include "syscall.h" int close_range(unsigned int first, unsigned int last, int flags) { return __syscall_ret(syscall(SYS_close_range, first, last, flags)); }