minix/lib/posix/_setuid.c

13 lines
166 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#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));
}