open_how
(2type)how to open a pathname
#include <linux/openat2.h> struct open_how { u64 flags; /* O_* flags */ u64 mode; /* Mode for O_{CREAT,TMPFILE} */ u64 resolve; /* RESOLVE_* flags */ /* ... */ };
LIBRARY
DESCRIPTION
Specifies how a pathname should be opened.
The fields are as follows:
- flags
- This field specifies the file creation and file status flags to use when opening the file.
- mode
- This field specifies the mode for the new file.
- resolve
- This is a bit mask of flags that modify the way in which all components of a pathname will be resolved (see path_resolution(7) for background information).