pub fn getzoneid() -> Result<i32>
Returns the zone ID of the calling process.
let zoneid = zonename::getzoneid().expect("failed to get zoneid");