Crate starnix_uapi

source ·

Re-exports§

Modules§

Macros§

  • Macro that ensure the releasable is released with the given context after the block terminates, whether there is an error or not.
  • errno returns an Errno struct tagged with the current file name and line number.
  • errno_from_code returns a Err containing an Errno struct with the given error code and is tagged with the current file name and line number.
  • errno_from_zxio_code returns an Errno struct with the given error code and is tagged with the current file name and line number.
  • error returns a Err containing an Errno struct tagged with the current file name and line number.
  • Macro to build a specific Releasable and OwnedRef.
  • Macro that ensure the releasable is released with the given context after the body returns.
  • Macro that ensure the releasable is released with the given context if the body returns an error.
  • Initializes the given fields of a struct or union and returns the bytes of the resulting object as a byte array.

Statics§