Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Uring.Open_flagsSourceFlags that can be passed to openat2.
append repositions the file offset to the end of the file before every write. This should be used with caution with io_uring.
creat implies that if the pathname does not exist, it is created as a regular file.
direct disables the kernel buffer cache and performs IO directly to and from the userspace buffers.
directory causes the open operation to fail if the target is not a directory.
dsync ensures that write operations on the file complete according to the requirements of synchronised IO data integrity completion.
excl is used alongside creat to ensure that the file is created as a result of the openat2 call, and otherwise fails with a Unix.error.EEXIST exception. The only exception where excl can be used without creat is when attempting to open block devices. If the block device is otherwise mounted, then the open will fail with Unix.error.EBUSY.
noatime signals that the file access time should not be updated when the file is read from. See Statx.atime_nsec.
noctty ensures that if the path refers to a tty, it will not be assigned as the controlling terminal even if one is not present.
nofollow will cause the open to fail with Unix.error.ELOOP if the basename of the path is a symbolic link.
sync ensures that write operations on the file complete according to the requirements of synchronised IO file integrity completion.
tmpfile creates an anonymous temporary regular file. The pathname must be a directory, within which an unnamed inode will be created. If tmpfile is specified without excl, then a subsequent linkat call can move it permanently into the filesystem.