version/
version.rs

1
2
3
4
5
6
7
8
9
use std::io;

fn main() -> io::Result<()> {
    let (major, minor) = darwin_libproc::version()?;

    println!("libproc version: {}.{}", major, minor);

    Ok(())
}