Current Path : /usr/local/share/ri/1.8/system/IO/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/IO/sysread-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads <em>integer</em> bytes from <em>ios</em> using a low-level read and returns them as a string. Do not mix with other methods that read from <em>ios</em> or you may get unpredictable results. Raises <tt>SystemCallError</tt> on error and <tt>EOFError</tt> at end of file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sysread(16) #=> "This is line one"\n" full_name: IO#sysread is_singleton: false name: sysread params: | ios.sysread(integer ) => string visibility: public