libc, libutil: remove compat hacks
[minix.git] / lib / libc / sys-minix / getuid.c
blobb8662b7e3a749b3c00e58cb6e81e06ee4998fb1e
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <unistd.h>
7 #ifdef __weak_alias
8 __weak_alias(getuid, _getuid)
9 #endif
11 uid_t getuid()
13 message m;
15 return( (uid_t) _syscall(PM_PROC_NR, GETUID, &m));