Copyright (C) 2000-2012 |
Manpages GETRESUIDSection: Linux Programmer's Manual (2)Updated: 1997-07-16 Index Return to Main Contents NAMEgetresuid, getresgid - get real, effective and saved user or group IDSYNOPSIS#include <unistd.h>
int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
DESCRIPTIONgetresuid and getresgid (both introduced in Linux 2.1.44) get the real, effective and saved user ID's (resp. group ID's) of the current process.RETURN VALUEOn success, zero is returned. On error, -1 is returned, and errno is set appropriately.ERRORS
CONFORMING TOThis call is Linux-specific.SEE ALSOgetuid(2), setuid(2), getreuid(2), setreuid(2), setresuid(2)
IndexThis document was created by man2html, using the manual pages. Time: 22:16:52 GMT, April 17, 2024 |