Returns the (real) user ID of the current process.
Process.uid # => 1000
Overloads:
Returns:
6341 6342 6343 6344 6345 6346
# File 'process.c', line 6341 static VALUE proc_getuid(VALUE obj) { rb_uid_t uid = getuid(); return UIDT2NUM(uid); }