[][src]Function zonename::getzoneid

pub fn getzoneid() -> Result<i32>

Returns the zone ID of the calling process.

Example

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