Back to index

glibc  2.9
Functions
setruid.c File Reference
#include <unistd.h>
#include <sys/types.h>

Go to the source code of this file.

Functions

int setruid (uid_t uid)

Function Documentation

int setruid ( uid_t  uid)

Definition at line 23 of file setruid.c.

{
  return __setreuid (uid, -1);
}