DESCRIPTION
getresuid and getresgid (both introduced in Linux 2.1.44) get the real, effective and saved user IDs (resp. group IDs) of the current process.
"RETURN VALUE"
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS