Penguin
Blame: getresuid(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of getresuid(2) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2 getresuid, getresgid - get real, effective and saved user or group ID
3 !!SYNOPSIS
2 PerryLorier 4 __#include <unistd.h>__
1 perry 5
2 PerryLorier 6 __int getresuid(uid_t *__''ruid''__, uid_t *__''euid''__, uid_t *__''suid''__);
1 perry 7
8 !!DESCRIPTION
2 PerryLorier 9 getresuid(2) (both introduced in Linux 2.1.44) get the [RealID], [EffectiveID] and [SavedID]'s (resp. group ID's) of the current process.
1 perry 10
11 !!RETURN VALUE
2 PerryLorier 12 On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
1 perry 13
14 !!ERRORS
2 PerryLorier 15 ;[EFAULT]: One of the arguments specified an address outside the calling program's address space.
1 perry 16
17 !!CONFORMING TO
2 PerryLorier 18 This call is Linux-specific.
1 perry 19
20 !!SEE ALSO
2 PerryLorier 21 getuid(2), setuid(2), getreuid(2), setreuid(2), setresuid(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 7 times)