source:
rtems/c/src/exec/posix/src/getegid.c
@
089abb6d
Last change on this file since 089abb6d was 089abb6d, checked in by Joel Sherrill <joel.sherrill@…>, on 01/16/02 at 22:52:27 | |
---|---|
|
|
File size: 495 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> |
[089abb6d] | 17 | #include <rtems/userenv.h> |
[aaf6063] | 18 | |
19 | /* | |
[089abb6d] | 20 | * MACRO in userenv.h |
[811fae1] | 21 | gid_t _POSIX_types_Egid = 0; |
[aaf6063] | 22 | */ |
[811fae1] | 23 | |
24 | /*PAGE | |
25 | * | |
26 | * 4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, | |
27 | * P1003.1b-1993, p. 84 | |
28 | */ | |
29 | ||
30 | gid_t getegid( void ) | |
31 | { | |
32 | return _POSIX_types_Egid; | |
33 | } | |
34 |
Note: See TracBrowser
for help on using the repository browser.