Re-exports§
pub use zxio::zxio_dirent_t;pub use zxio::zxio_fsverity_descriptor;pub use zxio::zxio_fsverity_descriptor_t;pub use zxio::zxio_node_attr_zxio_node_attr_has_t as zxio_node_attr_has_t;pub use zxio::zxio_node_attributes_t;pub use zxio::zxio_signals_t;
Modules§
- zxio
- WARNING - This file was auto generated by //src/starnix/lib/syncio/generate.py. Do not modify this file. To re-generate, run the following command from the root of your Fuchsia checkout:
Structs§
- Allocate
Mode - Describes the mode of operation when allocating disk space using Allocate.
- Dirent
Iterator - Recv
Message Info - Selinux
Context Attr - Holder type for the resulting context, ensuring that it
- Zxio
- A handle to a zxio object.
- Zxio
Dirent - Zxio
Error Code - Zxio
Open Options - Options for Open3.
- Zxio
Shutdown Flags - The flags for shutting down sockets.
- Zxio
Signals - Zxio
Socket Creation Options - Socket creation options that can be used.
- Zxio
Socket Mark - A transparent wrapper around the bindgen type.
- Zxio
Wake Group Token - A transparent wrapper around the zxio_wake_group_token_t bindgen type.
- Zxio
Weak
Enums§
- Control
Message - Seek
Origin - Xattr
SetMode - Describes the mode of operation when setting an extended attribute.
- Zxio
Token Type
Constants§
- ZXIO_
ROOT_ HASH_ LENGTH - ZXIO_
SOCKET_ MARK_ SO_ MARK - Linux marks aren’t compatible with Fuchsia marks, we store the
SO_MARKvalue in the fuchsiaZXIO_SOCKET_MARK_DOMAIN_1. If a mark in this domain is absent, it will be reported to starnix applications as a0since that is the default mark value on Linux. - ZXIO_
SOCKET_ MARK_ UID - Fuchsia does not have uids, we use the
ZXIO_SOCKET_MARK_DOMAIN_2on the socket to store the UID for the sockets created by starnix.
Traits§
- Service
Connector - A trait that provides functionality to connect a channel to a FIDL service.
- Zxio
Token Resolver - Trait for token resolvers. It’s called to get access tokens and sharing
domain tokens when handling operations that require these tokens.
Token resolver can be attached to a
Zxioobject by callingset_token_resolver.
Functions§
- directory_
create_ tmp_ file - Create an anonymous temp file in the given directory.
- directory_
open_ async - Open the given path in the given directory without blocking.
- directory_
open_ directory_ async - Open a directory at the given path in the given directory without blocking.
- directory_
open_ vmo - Open a VMO at the given path in the given directory.
- directory_
read_ file - Read the content of the file at the given path in the given directory.