source:
rtems/cpukit/libcsupport/src/getgid.c
@
c499856
Last change on this file since c499856 was 3750995, checked in by Alex Ivanov <alexivanov97@…>, on 12/10/12 at 19:51:23 | |
---|---|
|
|
File size: 386 bytes |
Line | |
---|---|
1 | /** |
2 | * @file |
3 | * |
4 | * @brief Get Real User, Effective User, Ral Group, and Effective Group IDs |
5 | * @ingroup libcsupport |
6 | */ |
7 | |
8 | #if HAVE_CONFIG_H |
9 | #include "config.h" |
10 | #endif |
11 | |
12 | #include <unistd.h> |
13 | #include <rtems/userenv.h> |
14 | |
15 | /** |
16 | * 4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, |
17 | * P1003.1b-1993, p. 84 |
18 | */ |
19 | gid_t getgid( void ) |
20 | { |
21 | return _POSIX_types_Gid; |
22 | } |
Note: See TracBrowser
for help on using the repository browser.