Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

getoid(2)

setoid(2)

setuid(2)

GETUID(2)                            SysV                            GETUID(2)



NAME
     getuid, geteuid, getgid, getegid - get real user, effective user, real
     group, and effective group IDs

SYNOPSIS
     #include <sys/types.h>

     uid_t getuid ()

     uid_t geteuid ()

     gid_t getgid ()

     gid_t getegid ()

DESCRIPTION
     getuid returns the real user ID of the calling process.

     geteuid returns the effective user ID of the calling process.

     getgid returns the real group ID of the calling process.

     getegid returns the effective group ID of the calling process.

SEE ALSO
     intro(2), getoid(2), setoid(2), setuid(2).

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026