Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ geteuid(2) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getgid(2)

setreuid(2)



GETUID(2-BSD)       RISC/os Reference Manual        GETUID(2-BSD)



NAME
     getuid, geteuid - get user identity

SYNOPSIS
     #include <sys/types.h>

     uid = getuid()
     uidt uid;

     euid = geteuid()
     uidt euid;

DESCRIPTION
     getuid returns the real user ID of the current process.
     geteuid returns the effective user ID.

     The real user ID identifies the person who is logged in.
     The effective user ID gives the process additional permis-
     sions during execution of "set-user-ID" mode processes,
     which use getuid to determine the real-user-id of the pro-
     cess that invoked them.

SEE ALSO
     getgid(2), setreuid(2).































                        Printed 11/19/92                   Page 1



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