1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright (C) 1997 Andries Brouwer (aeb@cwi.nl)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" Translated into German by Dennis Stampfer <kontakt@dstampfer.de>
26 .TH GETRESUID 2 "26. August 2002" "" "Systemaufrufe"
28 getresuid, getresgid \- ermittelt die reelle, effektive und gespeicherte Benutzer- oder Gruppenidentität
30 .B #include <unistd.h>
32 .BI "int getresuid(uid_t *" ruid ", uid_t *" euid ", uid_t *" suid );
34 .BI "int getresgid(gid_t *" rgid ", gid_t *" egid ", gid_t *" sgid );
39 (beide in Linux 2.1.44 eingeführt) ermitteln die reelle, effektive und
40 gespeicherte Benutzer/Gruppen ID des aktuellen Prozesses.
42 Bei Erfolg wird 0 zurückgegeben. Bei Fehlern wird \-1 zurückgegeben und
48 Die Adresse eines Parameters liegt außerhalb des Programmspeichers.
50 Diese Funktionen sind Linuxspezifisch.