proc_uid_pid()

The user ID of the owner of the process

Syntax:

int proc_uid_pid(int pid);

Arguments:

Name Description
pid PID of process

Description:

The user ID of the owner of the process

Return Values:

On success, returns the user ID of the owner. On error, -1 is returned.

See Also:

proc_username_pid()



INDEX