minix/lib/posix/_getuid.c

11 lines
146 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define getuid _getuid
#include <unistd.h>
PUBLIC uid_t getuid()
{
message m;
return( (uid_t) _syscall(MM, GETUID, &m));
}