Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getuid(2) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setuid, setgid



GETUID(2,L)                 AIX Technical Reference                 GETUID(2,L)



-------------------------------------------------------------------------------
getuid, geteuid, getgid, getegid



PURPOSE

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

LIBRARY

Standard C Library (libc.a)

SYNTAX



                uid_t getuid ( )            uid_t getgid ( )

                uid_t geteuid ( )           uid_t 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."



















Processed November 7, 1990        GETUID(2,L)                                 1



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