OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / geteuid.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * geteuid() for uClibc
4  *
5  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
6  *
7  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8  */
9
10 #include <sys/syscall.h>
11 #include <unistd.h>
12
13 #ifdef __NR_geteuid32
14 # undef __NR_geteuid
15 # define __NR_geteuid __NR_geteuid32
16 #endif
17
18 #ifdef __NR_geteuid
19 _syscall_noerr0(uid_t, geteuid)
20 libc_hidden_def(geteuid)
21 #endif