pub fn serialize_pid(pid: u32) -> [u8; 4]
Serialize a process id into its little-endian byte representation used by the named-pipe PID handshake.