summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getegid.c
blob: 80a8ac9bbae576eb3115f371c98e6c1f4bec1791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* vi: set sw=4 ts=4: */
/*
 * getegid() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>

#ifdef __NR_getegid32
# undef __NR_getegid
# define __NR_getegid __NR_getegid32
#endif

#ifdef __NR_getegid
_syscall_noerr0(gid_t, getegid)
libc_hidden_def(getegid)
#endif