Crate fuchsia_zircon

source ·
Expand description

Type-safe bindings for Zircon kernel syscalls.

Modules§

  • Prelude containing common utility traits. Designed for use like use fuchsia_zircon::prelude::*;

Macros§

Structs§

Enums§

Traits§

  • A trait to get a reference to the underlying handle of an object.
  • A trait implemented by all handle-based types.
  • A query to get info about a zircon object.
  • A trait implemented by all handles for objects which have a peer.
  • A definition for properties about a zircon object.

Functions§

  • Mix the given entropy into the kernel CPRNG.
  • Draw random bytes from the kernel’s CPRNG to fill buffer. This function always fills the buffer.
  • Draw random bytes from the kernel’s CPRNG to fill buffer. This function always fills the buffer.
  • Query information about a zircon object. Returns (num_returned, num_remaining) on success.
  • Query multiple records of information about a zircon object. Returns a vec of Q::InfoTy on success. Intended for calls that return multiple small objects.
  • Get a property on a zircon object
  • Set a property on a zircon object
  • Wait on multiple handles. The success return value is a bool indicating whether one or more of the provided handle references was closed during the wait.
  • Convenience re-export of Status::ok.
  • Get number of logical processors on the system.
  • Retrieve the system memory page size in bytes.
  • Get the amount of physical memory on the system, in bytes.
  • Return a version string describing the system (kernel). This string never changes.
  • Read the number of high-precision timer ticks since boot. These ticks may be processor cycles, high speed timer, profiling timer, etc. They are not guaranteed to continue advancing when the system is asleep.
  • Return the number of high-precision timer ticks in a second.

Type Aliases§