pub fn get_proc_by_id(id: i32) -> PidExpand description
get_proc_by_id will take a process id as i32 and get the process with that id
ยงExamples
fn main() {
let pid:i32 = 1234; // id of process
let pid = process_read_write::get_proc_by_id(pid);
}