Skip to main content
Log in

Mojo function

getuid

getuid() -> Int

Retrieve the user ID of the calling process.

Constraints:

This function is constrained to run on Linux or macOS operating systems only.

Returns:

The user ID of the calling process.