*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/getuid (2)              
Title
Content
Arch
Section
 

Contents


getuid(2)							     getuid(2)


NAME    [Toc]    [Back]

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

C SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <unistd.h>

     uid_t getuid (void);
     uid_t geteuid (void);


     gid_t getgid (void);
     gid_t getegid (void);

DESCRIPTION    [Toc]    [Back]

     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.

SEE ALSO    [Toc]    [Back]

      
      
     intro(2), setuid(2)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
setreuid Linux set real and/or effective user or group ID
setresgid HP-UX set real, effective, and saved user and group IDs
getresgid HP-UX get real, effective and saved user or group IDs
setresuid HP-UX set real, effective, and saved user and group IDs
getresuid FreeBSD get or set real, effective and saved user or group ID
setresuid OpenBSD get or set real, effective and saved user or group ID
setresgid OpenBSD get or set real, effective and saved user or group ID
getresuid OpenBSD get or set real, effective and saved user or group ID
getresgid OpenBSD get or set real, effective and saved user or group ID
setresgid FreeBSD get or set real, effective and saved user or group ID
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service