mirror of https://github.com/mkerrisk/man-pages
getgid.2, getuid.2: Note that these interfaces never modify 'errno'
See https://www.austingroupbugs.net/view.php?id=511 and the POSIX.1-2008 specifications of the interfaces. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bdd65639ba
commit
b926779b33
|
@ -40,7 +40,11 @@ returns the real group ID of the calling process.
|
|||
.BR getegid ()
|
||||
returns the effective group ID of the calling process.
|
||||
.SH ERRORS
|
||||
These functions are always successful.
|
||||
These functions are always successful
|
||||
and never modify
|
||||
.\" https://www.austingroupbugs.net/view.php?id=511
|
||||
.\" 0000511: getuid and friends should not modify errno
|
||||
.IR errno .
|
||||
.SH CONFORMING TO
|
||||
POSIX.1-2001, POSIX.1-2008, 4.3BSD.
|
||||
.SH NOTES
|
||||
|
|
|
@ -41,7 +41,11 @@ returns the real user ID of the calling process.
|
|||
.BR geteuid ()
|
||||
returns the effective user ID of the calling process.
|
||||
.SH ERRORS
|
||||
These functions are always successful.
|
||||
These functions are always successful
|
||||
and never modify
|
||||
.\" https://www.austingroupbugs.net/view.php?id=511
|
||||
.\" 0000511: getuid and friends should not modify errno
|
||||
.IR errno .
|
||||
.SH CONFORMING TO
|
||||
POSIX.1-2001, POSIX.1-2008, 4.3BSD.
|
||||
.SH NOTES
|
||||
|
|
Loading…
Reference in New Issue