method

sysopen

v1_9_3_392 - Show latest stable - Class: IO
sysopen(p1, p2 = v2, p3 = v3)
public

Opens the given path, returning the underlying file descriptor as a Fixnum.

IO.sysopen("testfile")   #=> 3