summaryrefslogblamecommitdiffstats
path: root/c/src/exec/posix/src/getegid.c
blob: f1169f14bc0d9a3e5ae844bca791282657e2f685 (plain) (tree)

























                                                                             
/*
 *  $Id$
 */

#include <limits.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>

#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/posix/seterr.h>

gid_t _POSIX_types_Egid = 0;

/*PAGE
 *
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, 
 *        P1003.1b-1993, p. 84
 */

gid_t getegid( void )
{
  return _POSIX_types_Egid;
}