pub type pid_t = i32;
in all apple/darwin platforms, pid_t and uid_t both are 32-bit integer. but PID is signed, UID is unsigned.
pid_t
uid_t