Function zonename::getzoneid

source ·
pub fn getzoneid() -> Result<i32>
Expand description

Returns the zone ID of the calling process.

Example

let zoneid = zonename::getzoneid().expect("failed to get zoneid");