open_how
how to open a pathname
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
how to open a pathname
Linux kernel headers
#include <linux/openat2.h>
struct open_how {
u64 flags; /* O_* flags */
u64 mode; /* Mode for O_{CREAT,TMPFILE} */
u64 resolve; /* RESOLVE_* flags */
/* ... */
};
Specifies how a pathname should be opened.
The fields are as follows:
Linux.
Extra fields may be appended to the structure, with a zero value in a new field resulting in the kernel behaving as though that extension field was not present. Therefore, a user must zero-fill this structure on initialization.