Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getegid(2) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

setuid(2)



getuid(2)                                               getuid(2)



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

SYNOPSIS
     #include <sys/types.h>

     uidt getuid ()

     uidt geteuid ()

     gidt getgid ()

     gidt getegid ()

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

     getuid returns the effective user ID of the calling process.

     getuid returns the real group ID of the calling process.

     getuid returns the effective group ID of the calling pro-
     cess.

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




























Page 1                        CX/UX Programmer's Reference Manual



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