source: rtems/cpukit/libcsupport/src/getegid.c @ 1c6926c1

5
Last change on this file since 1c6926c1 was a2e3f33, checked in by Sebastian Huber <sebastian.huber@…>, on 07/24/13 at 11:50:54

score: Create object implementation header

Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.

  • Property mode set to 100644
File size: 441 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
14#include <rtems/system.h>
15#include <rtems/seterr.h>
16#include <rtems/userenv.h>
17
18/**
19 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
20 *        P1003.1b-1993, p. 84
21 */
22gid_t getegid( void )
23{
24  return _POSIX_types_Egid;
25}
Note: See TracBrowser for help on using the repository browser.