geteuid function

int geteuid()

Get the effective user ID of the calling process.

Implementation

int geteuid() {
  _geteuid ??= Libc()
      .dylib
      .lookupFunction<ffi.Uint32 Function(), _dart_geteuid>('geteuid');
  return _geteuid!();
}