int proc_uid_pid(int pid);
The user ID of the owner of the process
On success, returns the user ID of the owner. On error, -1 is returned.
proc_username_pid()