module FFI::IO

def self.for_fd(fd, mode = "r")

Returns:
  • (::IO) -

Parameters:
  • mode (String) -- mode string
  • fd (Integer) -- file decriptor
def self.for_fd(fd, mode = "r")
  ::IO.for_fd(fd, mode)
end