Expand description
§rust-zonename
The rust-zonename crate provides a rust abstraction over the illumos getzoneid,
getzoneidbyname, and getzonenamebyid C library functions.
Constants§
- ZONENAME_
MAX - Max length of a zone name.
Functions§
- getzoneid
- Returns the zone ID of the calling process.
- getzoneidbyname
- Returns the zone ID corresponding to the named zone.
- getzonename
- Returns the current zones name for the calling process.
- getzonenamebyid
- Returns the zone name for the corresponding zone ID.