Flowdock
sysseek(...) public

Seeks to a given offset in the stream according to the value of whence (see IO#seek for values of whence). Returns the new offset into the file.

   f = File.new("testfile")
   f.sysseek(-13, IO::SEEK_END)   #=> 53
   f.sysread(10)                  #=> "And so on."
Show source
Register or log in to add new notes.