minix/lib/posix/_getuid.c
2009-11-09 10:26:00 +00:00

10 lines
146 B
C

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