setreuid function

int setreuid(
  1. int ruid,
  2. int euid
)

Sets the real user ID of the calling process.

Implementation

int setreuid(int ruid, int euid) => platform.setreuid(ruid, euid);