openat2 (2) Linux Manual Page
openat2 – open and possibly create a file (extended) Synopsis#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/openat2.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. DescriptionThe openat2() system call is an extension of openat(2) and provides a superset of its functionality….
