Method System.setresuid()


Method setresuid

int setresuid(int ruid, int euid, int suid)

Description

Sets the real, effective and saved set-user-ID to ruid, euid and suid respectively.

Returns

Returns zero on success and errno on failure.