Module | Process::Sys |
In: |
process.c
|
The Process::Sys module contains UID and GID functions which provide direct bindings to the system calls of the same names instead of the more-portable versions of the same functionality found in the Process, Process::UID, and Process::GID modules.
Returns the effective group ID for this process. Not available on all platforms.
Process.egid #=> 500
Set the effective group ID of the calling process to integer. Not available on all platforms.
Set the effective user ID of the calling process to integer. Not available on all platforms.
Set the group ID of the current process to integer. Not available on all platforms.
Sets the (integer) real and/or effective group IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms.
Sets the (integer) real, effective, and saved user IDs of the current process to rid, eid, and sid respectively. A value of -1 for any value means to leave that ID unchanged. Not available on all platforms.
Sets the (integer) real, effective, and saved user IDs of the current process to rid, eid, and sid respectively. A value of -1 for any value means to leave that ID unchanged. Not available on all platforms.
Sets the (integer) real and/or effective user IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms.
Set the real group ID of the calling process to integer. Not available on all platforms.
Set the real user ID of the calling process to integer. Not available on all platforms.
Set the user ID of the current process to integer. Not available on all platforms.
ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.