ladybird/Base/usr/share/man/man2/getresuid.md
kleines Filmröllchen 98c0c5e9e6 Help+Base: Add help://man URLs for links between man pages
The URLs of the form `help://man/<section>/<page>` link to another help
page inside the help application. All previous relative page links are
replaced by this new form. This doesn't change any behavior but it looks
much nicer :^)

Note that man doesn't handle these new links, but the previous relative
links didn't work either.
2022-01-11 00:24:57 +01:00

848 B

Name

getresuid, getresgid - get real, effective, and saved user / group ID

Synopsis

#include <unistd.h>

int getresuid(uid_t*, uid_t*, uid_t*);
int getresgid(gid_t*, gid_t*, gid_t*);

Description

Returns the real, effective, and saved user or group ID.

Return value

If the call was set successful, returns 0. Otherwise, returns -1 and sets errno to describe the error.

Errors

  • EFAULT: One of the passed pointers is not valid, writeable pointer in the current process.

See also