~ubuntu-branches/ubuntu/precise/manpages-posix/precise

1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
2 by Francesco Paolo Lovergine
* Alligned to linux main manpages edition.
2
.TH "GETEGID" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" getegid 
4
.SH NAME
5
getegid \- get the effective group ID
6
.SH SYNOPSIS
7
.LP
8
\fB#include <unistd.h>
9
.br
10
.sp
11
gid_t getegid(void);
12
.br
13
\fP
14
.SH DESCRIPTION
15
.LP
16
The \fIgetegid\fP() function shall return the effective group ID of
17
the calling process.
18
.SH RETURN VALUE
19
.LP
20
The \fIgetegid\fP() function shall always be successful and no return
21
value is reserved to indicate an error.
22
.SH ERRORS
23
.LP
24
No errors are defined.
25
.LP
26
\fIThe following sections are informative.\fP
27
.SH EXAMPLES
28
.LP
29
None.
30
.SH APPLICATION USAGE
31
.LP
32
None.
33
.SH RATIONALE
34
.LP
35
None.
36
.SH FUTURE DIRECTIONS
37
.LP
38
None.
39
.SH SEE ALSO
40
.LP
41
\fIgeteuid\fP() , \fIgetgid\fP() , \fIgetuid\fP() , \fIsetegid\fP()
42
, \fIseteuid\fP() , \fIsetgid\fP() , \fIsetregid\fP() , \fIsetreuid\fP()
43
, \fIsetuid\fP() , the Base Definitions volume of
44
IEEE\ Std\ 1003.1-2001, \fI<sys/types.h>\fP, \fI<unistd.h>\fP
45
.SH COPYRIGHT
46
Portions of this text are reprinted and reproduced in electronic form
47
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
48
-- Portable Operating System Interface (POSIX), The Open Group Base
49
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
50
Electrical and Electronics Engineers, Inc and The Open Group. In the
51
event of any discrepancy between this version and the original IEEE and
52
The Open Group Standard, the original IEEE and The Open Group Standard
53
is the referee document. The original Standard can be obtained online at
54
http://www.opengroup.org/unix/online.html .