Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getuid(2) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setuid, setgid

getuid, geteuid, getgid, getegid

Purpose

     Gets  the  real user,  effective  user,  real group,  and
     effective group IDs.

Syntax

     unsigned short getuid ( )                 unsigned short getgid ( )

     unsigned short geteuid ( )                unsigned short getegid ( )
     Description

     The getuid  system call returns  the real user ID  of the
     calling process.

     The geteuid system call returns  the effective user ID of
     the calling process.

     The getgid system  call returns the real group  ID of the
     calling process.

     The getegid system call returns the effective group ID of
     the calling process.

     Related Information

     In this book:  "setuid, setgid."

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