getuid(2) - SerenityOS man pages

Name

getuid, getgid - get real user / group id

Synopsis

#include <unistd.h>

uid_t getuid(void);
gid_t getgid(void);

Description

Returns the real user or group id.

See also