The Process::UID
module contains a collection of module functions which can be used to portably get, set, and switch the current process’s real, effective, and saved user IDs.
The Process::GID
module contains a collection of module functions which can be used to portably get, set, and switch the current process’s real, effective, and saved group IDs.
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.
Attempts to update the existing vertex’s ‘PossibilitySet` with a filtered version @return [void]
@return [Array] array of sub-dependencies to avoid when choosing a
new possibility for the state we've unwound to. Only relevant for non-primary unwinds
returns the socket type as an integer.
Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true
Add a new protocol to the DRbProtocol
module.
Add a new protocol to the DRbProtocol
module.
Convert self
to locale encoding
Returns true
if the underlying file descriptor of ios will be closed automatically at its finalization, otherwise false
.
Sets auto-close flag.
f = open("/dev/null") IO.for_fd(f.fileno) # ... f.gets # may cause Errno::EBADF f = open("/dev/null") IO.for_fd(f.fileno).autoclose = false # ... f.gets # won't cause Errno::EBADF
Convert self
to locale encoding
Convert self
to locale encoding
Processes the topmost available {RequirementState} on the stack @return [void]
Returns the ALPN protocol string that was finally selected by the server during the handshake.
Returns the protocol string that was finally selected by the client during the handshake.
Cleans up uninstalled files and invalid gem specifications