[][src]Function libuv::misc::os::getpriority

pub fn getpriority(pid: Pid) -> Result<i32>

Retrieves the scheduling priority of the process specified by pid. The returned value of priority is between -20 (high priority) and 19 (low priority).

Note: On Windows, the returned priority will equal one of the libuv_sys2::UV_PRIORITY constants.