darwin_libprocFunction version
Source pub fn version() -> Result<(c_int, c_int)>
Expand description
Returns the libproc
version as a tuple of (major, minor)
parts.
fn main() -> io::Result<()> {
let (major, minor) = darwin_libproc::version()?;
println!("libproc version: {}.{}", major, minor);
Ok(())
}