minix/lib/libc/posix/_getuid.c
2010-06-08 13:58:01 +00:00

10 lines
154 B
C

#include <lib.h>
#define getuid _getuid
#include <unistd.h>
PUBLIC uid_t getuid()
{
message m;
return( (uid_t) _syscall(PM_PROC_NR, GETUID, &m));
}