getresuid(3) Library Functions Manual getresuid(3)NAMEgetresuid, getresgid - get real, effective and saved user or group IDsSYNOPSISDESCRIPTIONand return the real, effective, and saved user or group ID's of the current process.RETURN VALUEOn error, the return is -1, and is set appropriately. On success the return is 0.ERRORS[EFAULT] One of the arguments specified an address outside the calling programs address space.SEE ALSOgetuid(2). getresuid(3)