bc314bda91
Use ANSI-style function declarations where necessary.
20 lines
301 B
C
20 lines
301 B
C
#include <lib.h>
|
|
#define setgid _setgid
|
|
#define setegid _setegid
|
|
#include <unistd.h>
|
|
|
|
PUBLIC int setgid(gid_t grp)
|
|
{
|
|
message m;
|
|
|
|
m.m1_i1 = (int) grp;
|
|
return(_syscall(MM, SETGID, &m));
|
|
}
|
|
|
|
PUBLIC int setegid(gid_t grp)
|
|
{
|
|
message m;
|
|
|
|
m.m1_i1 = (int) grp;
|
|
return(_syscall(MM, SETEGID, &m));
|
|
}
|