source:
rtems/cpukit/posix/src/getegid.c
@
aaf6063
Last change on this file since aaf6063 was aaf6063, checked in by Joel Sherrill <joel.sherrill@…>, on 05/24/01 at 21:38:10 | |
---|---|
|
|
File size: 494 bytes |
Rev | Line | |
---|---|---|
[811fae1] | 1 | /* |
2 | * $Id$ | |
3 | */ | |
4 | ||
[f42b726] | 5 | #if HAVE_CONFIG_H |
6 | #include "config.h" | |
7 | #endif | |
8 | ||
[811fae1] | 9 | #include <limits.h> |
10 | #include <errno.h> | |
11 | #include <string.h> | |
12 | #include <sys/types.h> | |
13 | ||
14 | #include <rtems/system.h> | |
15 | #include <rtems/score/object.h> | |
[188c82b] | 16 | #include <rtems/seterr.h> |
[811fae1] | 17 | |
[aaf6063] | 18 | #include <rtems/libio_.h> |
19 | ||
20 | /* | |
21 | * MACRO in libio_.h | |
[811fae1] | 22 | gid_t _POSIX_types_Egid = 0; |
[aaf6063] | 23 | */ |
[811fae1] | 24 | |
25 | /*PAGE | |
26 | * | |
27 | * 4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, | |
28 | * P1003.1b-1993, p. 84 | |
29 | */ | |
30 | ||
31 | gid_t getegid( void ) | |
32 | { | |
33 | return _POSIX_types_Egid; | |
34 | } | |
35 |
Note: See TracBrowser
for help on using the repository browser.