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

  man pages->HP-UX 11i man pages -> getresgid (3)              
Title
Content
Arch
Section
 

Contents


 getresuid(3)                                                   getresuid(3)




 NAME    [Toc]    [Back]
      getresuid, getresgid - get real, effective and saved user or group IDs

 SYNOPSIS    [Toc]    [Back]
      int getresuid (uid_t *ruid, uid_t *euid, uid_t *suid);
      int getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid);

 DESCRIPTION    [Toc]    [Back]
      getresuid and getresgid return the real, effective, and saved user or
      group ID's of the current process.

 RETURN VALUE    [Toc]    [Back]
      On error, the return is -1, and errno is set appropriately.  On
      success the return is 0.

 ERRORS    [Toc]    [Back]
           [EFAULT]    One of the arguments specified an address outside the
                       calling programs address space.


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
getresuid Linux get real, effective and saved user or group ID
setresuid HP-UX set real, effective, and saved user and group IDs
setresuid OpenBSD get or set real, effective and saved user or group ID
getresgid FreeBSD get or set real, effective and saved user or group ID
setresgid OpenBSD get or set real, effective and saved user or group ID
setresgid HP-UX set real, effective, and saved user and group IDs
setresuid Linux set real, effective and saved user or group ID
getresuid OpenBSD get or set real, effective and saved user or group ID
getresuid FreeBSD get or set real, effective and saved user or group ID
getresgid OpenBSD get or set real, effective and saved user or group ID
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service