getuid function

int getuid()

Get the real user ID of the calling process.

Implementation

int getuid() {
  _getuid ??= Libc()
      .dylib
      .lookupFunction<ffi.Uint32 Function(), _dart_getuid>('getuid');
  return _getuid!();
}