Apidock_header
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog
Use OpenID
  • Rspec_icon_16RSpec
  • Rails_icon_16Ruby on Rails
  • Ruby_icon_16Ruby
method

uid

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Process
  • 1_8_6_287 (0)
  • 1_8_7_72 (0)
  • 1_8_7_330 (0)
  • 1_9_1_378 (-38)
  • 1_9_2_180 (0)
  • 1_9_3_125 (0)
  • 1_9_3_392 (0)
  • 2_1_10 (0)
  • 2_2_9 (0)
  • 2_4_6 (0)
  • 2_5_5 (0)
  • 2_6_3 (0)
  • What's this?

Related methods

  • Class methods (45)
  • Importance_1_sm abort
  • Importance_1_sm argv0
  • Importance_2_sm clock_getres
  • Importance_4_sm clock_gettime
  • Importance_1_sm daemon
  • Importance_2_sm detach
  • Importance_1_sm egid
  • Importance_1_sm egid=
  • Importance_1_sm euid
  • Importance_1_sm euid=
  • Importance_3_sm exec
  • Importance_2_sm exit
  • Importance_1_sm exit!
  • Importance_2_sm fork
  • Importance_1_sm getpgid
  • Importance_1_sm getpgrp
  • Importance_1_sm getpriority
  • Importance_2_sm getrlimit
  • Importance_1_sm getsid
  • Importance_1_sm gid
  • Importance_1_sm gid=
  • Importance_1_sm groups
  • Importance_1_sm groups=
  • Importance_1_sm initgroups
  • Importance_3_sm kill
  • Importance_1_sm last_status
  • Importance_1_sm maxgroups
  • Importance_1_sm maxgroups=
  • Importance_1_sm pid
  • Importance_1_sm ppid
  • Importance_1_sm setpgid
  • Importance_1_sm setpgrp
  • Importance_1_sm setpriority
  • Importance_1_sm setproctitle
  • Importance_2_sm setrlimit
  • Importance_1_sm setsid
  • Importance_5_sm spawn
  • Importance_1_sm times
  • Importance_1_sm uid
  • Importance_1_sm uid=
  • Importance_2_sm wait
  • Importance_1_sm wait2
  • Importance_1_sm waitall
  • Importance_2_sm waitpid
  • Importance_1_sm waitpid2

Icon_private_sm = private
Icon_protected_sm = protected

uid() public

Returns the (real) user ID of this process.

Process.uid   #=> 501
Show source
static VALUE
proc_getuid(VALUE obj)
{
    rb_uid_t uid = getuid();
    return UIDT2NUM(uid);
}
Register or log in to add new notes.
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog


APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at

Go to Nodeta blog APIdock copyright Nodeta Oy 2008-2025