minix/lib/posix/_setuid.c
2005-04-21 14:53:53 +00:00

12 lines
166 B
C
Executable file

#include <lib.h>
#define setuid _setuid
#include <unistd.h>
PUBLIC int setuid(usr)
Uid_t usr;
{
message m;
m.m1_i1 = usr;
return(_syscall(MM, SETUID, &m));
}