Flags

Entries

Link copied to clipboard

The right to invoke fd_datasync.

Link copied to clipboard

The right to invoke fd_read and sock_recv.

Link copied to clipboard

The right to invoke fd_seek. This flag implies rights::fd_tell.

Link copied to clipboard

The right to invoke fd_fdstat_set_flags

Link copied to clipboard

The right to invoke fd_sync.

Link copied to clipboard

The right to invoke fd_seek in such a way that the file offset remains unaltered (i.e., whence::cur with offset zero), or to invoke fd_tell.

Link copied to clipboard

The right to invoke fd_write and sock_send.

Link copied to clipboard

The right to invoke fd_advise.

Link copied to clipboard

The right to invoke fd_allocate.

Link copied to clipboard

The right to invoke path_create_directory.

Link copied to clipboard

If path_open is set, the right to invoke path_open with oflags::creat.

Link copied to clipboard

The right to invoke path_link with the file descriptor as the source directory.

Link copied to clipboard

The right to invoke path_link with the file descriptor as the target directory.

Link copied to clipboard

The right to invoke path_open.

Link copied to clipboard

The right to invoke fd_readdir.

Link copied to clipboard

The right to invoke path_readlink.

Link copied to clipboard

The right to invoke path_rename with the file descriptor as the source directory.

Link copied to clipboard

The right to invoke path_rename with the file descriptor as the target directory.

Link copied to clipboard

The right to invoke path_filestat_get.

Link copied to clipboard

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.

Link copied to clipboard

The right to invoke path_filestat_set_times.

Link copied to clipboard

The right to invoke fd_filestat_get.

Link copied to clipboard

The right to invoke fd_filestat_set_size.

Link copied to clipboard

The right to invoke fd_filestat_set_times.

Link copied to clipboard

The right to invoke path_symlink.

Link copied to clipboard

The right to invoke path_remove_directory.

Link copied to clipboard

The right to invoke path_unlink_file.

Link copied to clipboard

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.

Link copied to clipboard

The right to invoke sock_shutdown.

Link copied to clipboard

The right to invoke sock_accept.

Properties

Link copied to clipboard
val mask: <Error class: unknown class>

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.