1GETGID(P) POSIX Programmer's Manual GETGID(P)
2
3
4
6 getgid - get the real group ID
7
9 #include <unistd.h>
10
11 gid_t getgid(void);
12
13
15 The getgid() function shall return the real group ID of the calling
16 process.
17
19 The getgid() function shall always be successful and no return value is
20 reserved to indicate an error.
21
23 No errors are defined.
24
25 The following sections are informative.
26
28 None.
29
31 None.
32
34 None.
35
37 None.
38
40 getegid() , geteuid() , getuid() , setegid() , seteuid() , setgid() ,
41 setregid() , setreuid() , setuid() , the Base Definitions volume of
42 IEEE Std 1003.1-2001, <sys/types.h>, <unistd.h>
43
45 Portions of this text are reprinted and reproduced in electronic form
46 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
47 -- Portable Operating System Interface (POSIX), The Open Group Base
48 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
49 Electrical and Electronics Engineers, Inc and The Open Group. In the
50 event of any discrepancy between this version and the original IEEE and
51 The Open Group Standard, the original IEEE and The Open Group Standard
52 is the referee document. The original Standard can be obtained online
53 at http://www.opengroup.org/unix/online.html .
54
55
56
57IEEE/The Open Group 2003 GETGID(P)