Differences between version 2 and revision by previous author of geteuid(2).
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, December 30, 2002 3:46:06 am | by PerryLorier | Revert |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:23:41 am | by perry | Revert |
@@ -1,49 +1,22 @@
-GETUID
-!!!GETUID
-NAME
-SYNOPSIS
-DESCRIPTION
-ERRORS
-CONFORMING TO
-SEE ALSO
-----
!!NAME
+geteuid - get effective user identity
-
-getuid, geteuid - get user identity
!!SYNOPSIS
+ __#include <unistd.h>__
+ __#include <sys/types.h>__
+ __uid_t geteuid(void);__
-__#include __
-#include __
-
-
-__uid_t getuid(void);
-uid_t geteuid(void);__
!!DESCRIPTION
+geteuid(2) returns the effective user ID of the current process.
+The effective ID corresponds to the set ID bit on the file being executed. See [EffectiveID] for more information.
-__getuid__ returns the real user ID of the current
-process.
-
-
-__geteuid__ returns the effective user ID of the current
-process.
-
-
-The real ID corresponds to the ID of the calling process.
-The effective ID corresponds to the set ID bit on the file
-being executed.
!!ERRORS
+These functions are always successful.
-
-These functions are always successful.
!!CONFORMING TO
+[POSIX], BSD 4.3.
-
-POSIX, BSD 4.3.
!!SEE ALSO
-
-
-
setreuid(2), setuid(2)
-----
+setreuid(2), setuid(2), getuid(2), getegid(2)