Method System.setresuid()
- Method setresuid
intsetresuid(intruid,inteuid,intsuid)- Description
Sets the real, effective and saved set-user-ID to
ruid,euidandsuidrespectively.- Returns
Returns zero on success and errno on failure.
int setresuid(int ruid, int euid, int suid)
Sets the real, effective and saved set-user-ID to ruid,
euid and suid respectively.
Returns zero on success and errno on failure.