01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GETUID ( 2 ) GETUID ( 2 )<br />

NAME getuid, geteuid, getgid, getegid - get real user, effective user, real<br />

group, and effective group IDs<br />

SYNOPSIS<br />

int getuid ( )<br />

int geteuid ( )<br />

int getgid ( )<br />

int getegid ( )<br />

DESCRIPTION<br />

Getuid returns the real user ID of the calling process.<br />

Geteuid returns the effective user ID of the calling process.<br />

Getgid returns the real group ID of the calling process.<br />

Getegid returns the effective group ID of the calling process.<br />

SEE ALSO<br />

intro(2), setuid(2).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!