Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getgid(2) — UnixWare 2.01

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 user, effective
             user, real group, and effective group IDs

       SYNOPSIS
             #include <sys/types.h>
             #include <unistd.h>
             uid_t getuid(void);
             uid_t geteuid(void);
             gid_t getgid(void);
             gid_t getegid(void);

       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.

       REFERENCES
             intro(2), setuid(2)

       NOTICES
          Considerations for Threads Programming
             These ID numbers are attributes of the containing process and
             are shared by sibling threads.




















                           Copyright 1994 Novell, Inc.               Page 1








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