openat2 (2) Linux Manual Page
NAME openat2 – open and possibly create a file (extended) SYNOPSIS #include <fcntl.h> #include <linux/openat2.h> #include <sys/stat.h> #include <sys/types.h> long openat2(int dirfd, const char *pathname, struct open_how *how, size_t size); Note: There is no glibc wrapper for this system call; see NOTES. DESCRIPTION The openat2() system call is an extension of openat(2) and provides a…
