geteuid(2) - SerenityOS man pages

#Name

geteuid, getegid - get effective user / group id

#Synopsis

#include <unistd.h>

uid_t geteuid(void);
gid_t getegid(void);

#Description

Returns the effective user or group id.

#See also