setuid function

int setuid(
  1. int uid
)

Sets the effective user ID of the calling process.

Implementation

int setuid(int uid) => platform.setuid(uid);