Flags
Entries
The right to invoke fd_datasync
.
The right to invoke fd_fdstat_set_flags
The right to invoke fd_allocate
.
The right to invoke path_create_directory
.
If path_open
is set, the right to invoke path_open
with oflags::creat
.
The right to invoke path_link
with the file descriptor as the source directory.
The right to invoke path_link
with the file descriptor as the target directory.
The right to invoke fd_readdir
.
The right to invoke path_readlink
.
The right to invoke path_rename
with the file descriptor as the source directory.
The right to invoke path_rename
with the file descriptor as the target directory.
The right to invoke path_filestat_get
.
The right to change a file's size. If path_open
is set, includes the right to invoke path_open
with oflags::trunc
. Note: there is no function named path_filestat_set_size
. This follows POSIX design, which only has ftruncate
and does not provide ftruncateat
. While such function would be desirable from the API design perspective, there are virtually no use cases for it since no code written for POSIX systems would use it. Moreover, implementing it would require multiple syscalls, leading to inferior performance.
The right to invoke path_filestat_set_times
.
The right to invoke fd_filestat_get
.
The right to invoke fd_filestat_set_size
.
The right to invoke fd_filestat_set_times
.
The right to invoke path_symlink
.
The right to invoke path_remove_directory
.
The right to invoke path_unlink_file
.
If rights::fd_read
is set, includes the right to invoke poll_oneoff
to subscribe to eventtype::fd_read
. If rights::fd_write
is set, includes the right to invoke poll_oneoff
to subscribe to eventtype::fd_write
.
The right to invoke sock_shutdown
.
The right to invoke sock_accept
.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.