Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference (Volume 6 of 9): Section 3: Library Functions (A-M) > g

getresuid(3)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

getresuid, getresgid — get real, effective and saved user or group IDs

SYNOPSIS

int getresuid (uid_t *ruid, uid_t *euid, uid_t *suid); int getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid);

DESCRIPTION

getresuid and getresgid return the real, effective, and saved user or group ID's of the current process.

RETURN VALUE

On error, the return is -1, and errno is set appropriately. On success the return is 0.

ERRORS

[EFAULT]

One of the arguments specified an address outside the calling programs address space.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.