Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby22 /
share /
ri /
2.2.0 /
system /
IO /
Delete
Unzip
Name
Size
Permission
Date
Action
EAGAINWaitReadable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
EAGAINWaitWritable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
EINPROGRESSWaitReadable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
EINPROGRESSWaitWritable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
EWOULDBLOCKWaitReadable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
EWOULDBLOCKWaitWritable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
WaitReadable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
WaitWritable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
generic_readable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
generic_writable
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
%3c%3c-i.ri
572
B
-rw-r--r--
2023-07-26 18:01
advise-i.ri
2.55
KB
-rw-r--r--
2023-07-26 18:01
autoclose%3d-i.ri
623
B
-rw-r--r--
2023-07-26 18:01
autoclose%3f-i.ri
428
B
-rw-r--r--
2023-07-26 18:01
binmode%3f-i.ri
343
B
-rw-r--r--
2023-07-26 18:01
binmode-i.ri
657
B
-rw-r--r--
2023-07-26 18:01
binread-c.ri
904
B
-rw-r--r--
2023-07-26 18:01
binwrite-c.ri
501
B
-rw-r--r--
2023-07-26 18:01
block_scanf-i.ri
244
B
-rw-r--r--
2023-07-26 18:01
bytes-i.ri
299
B
-rw-r--r--
2023-07-26 18:01
cdesc-IO.ri
7.76
KB
-rw-r--r--
2023-07-26 18:01
chars-i.ri
299
B
-rw-r--r--
2023-07-26 18:01
close-i.ri
720
B
-rw-r--r--
2023-07-26 18:01
close_on_exec%3d-i.ri
1.01
KB
-rw-r--r--
2023-07-26 18:01
close_on_exec%3f-i.ri
677
B
-rw-r--r--
2023-07-26 18:01
close_read-i.ri
758
B
-rw-r--r--
2023-07-26 18:01
close_write-i.ri
798
B
-rw-r--r--
2023-07-26 18:01
closed%3f-i.ri
763
B
-rw-r--r--
2023-07-26 18:01
codepoints-i.ri
314
B
-rw-r--r--
2023-07-26 18:01
console-c.ri
636
B
-rw-r--r--
2023-07-26 18:01
cooked%21-i.ri
475
B
-rw-r--r--
2023-07-26 18:01
cooked-i.ri
560
B
-rw-r--r--
2023-07-26 18:01
copy_stream-c.ri
1.15
KB
-rw-r--r--
2023-07-26 18:01
each-i.ri
1.2
KB
-rw-r--r--
2023-07-26 18:01
each_byte-i.ri
842
B
-rw-r--r--
2023-07-26 18:01
each_char-i.ri
767
B
-rw-r--r--
2023-07-26 18:01
each_codepoint-i.ri
753
B
-rw-r--r--
2023-07-26 18:01
each_line-i.ri
1.01
KB
-rw-r--r--
2023-07-26 18:01
echo%3d-i.ri
508
B
-rw-r--r--
2023-07-26 18:01
echo%3f-i.ri
433
B
-rw-r--r--
2023-07-26 18:01
eof%3f-i.ri
1.32
KB
-rw-r--r--
2023-07-26 18:01
eof-i.ri
1.34
KB
-rw-r--r--
2023-07-26 18:01
expect-i.ri
1.44
KB
-rw-r--r--
2023-07-26 18:01
external_encoding-i.ri
456
B
-rw-r--r--
2023-07-26 18:01
fcntl-i.ri
776
B
-rw-r--r--
2023-07-26 18:01
fdatasync-i.ri
574
B
-rw-r--r--
2023-07-26 18:01
fileno-i.ri
539
B
-rw-r--r--
2023-07-26 18:01
flush-i.ri
636
B
-rw-r--r--
2023-07-26 18:01
for_fd-c.ri
328
B
-rw-r--r--
2023-07-26 18:01
foreach-c.ri
1.12
KB
-rw-r--r--
2023-07-26 18:01
fsync-i.ri
746
B
-rw-r--r--
2023-07-26 18:01
getbyte-i.ri
536
B
-rw-r--r--
2023-07-26 18:01
getc-i.ri
517
B
-rw-r--r--
2023-07-26 18:01
getch-i.ri
453
B
-rw-r--r--
2023-07-26 18:01
gets-i.ri
1.18
KB
-rw-r--r--
2023-07-26 18:01
iflush-i.ri
405
B
-rw-r--r--
2023-07-26 18:01
inspect-i.ri
321
B
-rw-r--r--
2023-07-26 18:01
internal_encoding-i.ri
414
B
-rw-r--r--
2023-07-26 18:01
ioctl-i.ri
686
B
-rw-r--r--
2023-07-26 18:01
ioflush-i.ri
420
B
-rw-r--r--
2023-07-26 18:01
isatty-i.ri
563
B
-rw-r--r--
2023-07-26 18:01
lineno%3d-i.ri
868
B
-rw-r--r--
2023-07-26 18:01
lineno-i.ri
1023
B
-rw-r--r--
2023-07-26 18:01
lines-i.ri
304
B
-rw-r--r--
2023-07-26 18:01
new-c.ri
5.67
KB
-rw-r--r--
2023-07-26 18:01
noecho-i.ri
552
B
-rw-r--r--
2023-07-26 18:01
nonblock%3d-i.ri
419
B
-rw-r--r--
2023-07-26 18:01
nonblock%3f-i.ri
360
B
-rw-r--r--
2023-07-26 18:01
nonblock-i.ri
563
B
-rw-r--r--
2023-07-26 18:01
nread-i.ri
388
B
-rw-r--r--
2023-07-26 18:01
oflush-i.ri
406
B
-rw-r--r--
2023-07-26 18:01
open-c.ri
771
B
-rw-r--r--
2023-07-26 18:01
pathconf-i.ri
729
B
-rw-r--r--
2023-07-26 18:01
pid-i.ri
741
B
-rw-r--r--
2023-07-26 18:01
pipe-c.ri
2.67
KB
-rw-r--r--
2023-07-26 18:01
popen-c.ri
3.78
KB
-rw-r--r--
2023-07-26 18:01
pos%3d-i.ri
596
B
-rw-r--r--
2023-07-26 18:01
pos-i.ri
507
B
-rw-r--r--
2023-07-26 18:01
print-i.ri
1.01
KB
-rw-r--r--
2023-07-26 18:01
printf-i.ri
458
B
-rw-r--r--
2023-07-26 18:01
putc-i.ri
768
B
-rw-r--r--
2023-07-26 18:01
puts-i.ri
795
B
-rw-r--r--
2023-07-26 18:01
raw%21-i.ri
486
B
-rw-r--r--
2023-07-26 18:01
raw-i.ri
574
B
-rw-r--r--
2023-07-26 18:01
read-c.ri
1.76
KB
-rw-r--r--
2023-07-26 18:01
read-i.ri
2.89
KB
-rw-r--r--
2023-07-26 18:01
read_nonblock-i.ri
2.28
KB
-rw-r--r--
2023-07-26 18:01
readbyte-i.ri
386
B
-rw-r--r--
2023-07-26 18:01
readchar-i.ri
538
B
-rw-r--r--
2023-07-26 18:01
readline-i.ri
468
B
-rw-r--r--
2023-07-26 18:01
readlines-c.ri
881
B
-rw-r--r--
2023-07-26 18:01
readlines-i.ri
989
B
-rw-r--r--
2023-07-26 18:01
readpartial-i.ri
3.51
KB
-rw-r--r--
2023-07-26 18:01
ready%3f-i.ri
406
B
-rw-r--r--
2023-07-26 18:01
reopen-i.ri
810
B
-rw-r--r--
2023-07-26 18:01
rewind-i.ri
697
B
-rw-r--r--
2023-07-26 18:01
scanf-i.ri
1023
B
-rw-r--r--
2023-07-26 18:01
seek-i.ri
1.07
KB
-rw-r--r--
2023-07-26 18:01
select-c.ri
6.46
KB
-rw-r--r--
2023-07-26 18:01
set_encoding-i.ri
1.11
KB
-rw-r--r--
2023-07-26 18:01
soak_up_spaces-i.ri
234
B
-rw-r--r--
2023-07-26 18:01
stat-i.ri
607
B
-rw-r--r--
2023-07-26 18:01
sync%3d-i.ri
716
B
-rw-r--r--
2023-07-26 18:01
sync-i.ri
638
B
-rw-r--r--
2023-07-26 18:01
sysopen-c.ri
519
B
-rw-r--r--
2023-07-26 18:01
sysread-i.ri
1023
B
-rw-r--r--
2023-07-26 18:01
sysseek-i.ri
710
B
-rw-r--r--
2023-07-26 18:01
syswrite-i.ri
690
B
-rw-r--r--
2023-07-26 18:01
tell-i.ri
509
B
-rw-r--r--
2023-07-26 18:01
to_i-i.ri
222
B
-rw-r--r--
2023-07-26 18:01
to_io-i.ri
290
B
-rw-r--r--
2023-07-26 18:01
try_convert-c.ri
822
B
-rw-r--r--
2023-07-26 18:01
tty%3f-i.ri
559
B
-rw-r--r--
2023-07-26 18:01
ungetbyte-i.ri
947
B
-rw-r--r--
2023-07-26 18:01
ungetc-i.ri
933
B
-rw-r--r--
2023-07-26 18:01
wait-i.ri
555
B
-rw-r--r--
2023-07-26 18:01
wait_readable-i.ri
486
B
-rw-r--r--
2023-07-26 18:01
wait_writable-i.ri
460
B
-rw-r--r--
2023-07-26 18:01
winsize%3d-i.ri
497
B
-rw-r--r--
2023-07-26 18:01
winsize-i.ri
421
B
-rw-r--r--
2023-07-26 18:01
write-c.ri
1.61
KB
-rw-r--r--
2023-07-26 18:01
write-i.ri
775
B
-rw-r--r--
2023-07-26 18:01
write_nonblock-i.ri
2.54
KB
-rw-r--r--
2023-07-26 18:01
Save
Rename
U:RDoc::AnyMethod[iI"select:ETI"IO::select;TT:publico:RDoc::Markup::Document:@parts[-o:RDoc::Markup::Paragraph; [I""Calls select(2) system call. ;TI"LIt monitors given arrays of <code>IO</code> objects, waits one or more ;TI"Jof <code>IO</code> objects ready for reading, are ready for writing, ;TI"Iand have pending exceptions respectively, and returns an array that ;TI"@contains arrays of those IO objects. It will return +nil+ ;TI"Mif optional <i>timeout</i> value is given and no <code>IO</code> object ;TI"(is ready in <i>timeout</i> seconds.;To:RDoc::Markup::BlankLine o; ; [ I"a<code>IO.select</code> peeks the buffer of <code>IO</code> objects for testing readability. ;TI"1If the <code>IO</code> buffer is not empty, ;TI"<<code>IO.select</code> immediately notify readability. ;TI"=This "peek" is only happen for <code>IO</code> objects. ;TI"JIt is not happen for IO-like objects such as OpenSSL::SSL::SSLSocket.;T@o; ; [I"?The best way to use <code>IO.select</code> is invoking it ;TI"eafter nonblocking methods such as <code>read_nonblock</code>, <code>write_nonblock</code>, etc. ;TI":The methods raises an exception which is extended by ;TI"E<code>IO::WaitReadable</code> or <code>IO::WaitWritable</code>. ;TI"PThe modules notify how the caller should wait with <code>IO.select</code>. ;TI"UIf <code>IO::WaitReadable</code> is raised, the caller should wait for reading. ;TI"TIf <code>IO::WaitWritable</code> is raised, the caller should wait for writing.;T@o; ; [I"HSo, blocking read (<code>readpartial</code>) can be emulated using ;TI"F<code>read_nonblock</code> and <code>IO.select</code> as follows:;T@o:RDoc::Markup::Verbatim; [I"begin ;TI". result = io_like.read_nonblock(maxlen) ;TI"rescue IO::WaitReadable ;TI" IO.select([io_like]) ;TI" retry ;TI"rescue IO::WaitWritable ;TI"! IO.select(nil, [io_like]) ;TI" retry ;TI" end ;T:@format0o; ; [ I"<Especially, the combination of nonblocking methods and ;TI"B<code>IO.select</code> is preferred for <code>IO</code> like ;TI";objects such as <code>OpenSSL::SSL::SSLSocket</code>. ;TI"SIt has <code>to_io</code> method to return underlying <code>IO</code> object. ;TI"[<code>IO.select</code> calls <code>to_io</code> to obtain the file descriptor to wait.;T@o; ; [I"QThis means that readability notified by <code>IO.select</code> doesn't mean ;TI"Breadability from <code>OpenSSL::SSL::SSLSocket</code> object.;T@o; ; [I"XMost possible situation is <code>OpenSSL::SSL::SSLSocket</code> buffers some data. ;TI"4<code>IO.select</code> doesn't see the buffer. ;TI"mSo <code>IO.select</code> can block when <code>OpenSSL::SSL::SSLSocket#readpartial</code> doesn't block.;T@o; ; [I"7However several more complicated situation exists.;T@o; ; [I"5SSL is a protocol which is sequence of records. ;TI")The record consists multiple bytes. ;TI"8So, the remote side of SSL sends a partial record, ;TI"5<code>IO.select</code> notifies readability but ;TI"D<code>OpenSSL::SSL::SSLSocket</code> cannot decrypt a byte and ;TI"B<code>OpenSSL::SSL::SSLSocket#readpartial</code> will blocks.;T@o; ; [I"FAlso, the remote side can request SSL renegotiation which forces ;TI",the local SSL engine writes some data. ;TI"EThis means <code>OpenSSL::SSL::SSLSocket#readpartial</code> may ;TI"=invoke <code>write</code> system call and it can block. ;TI"KIn such situation, <code>OpenSSL::SSL::SSLSocket#read_nonblock</code> ;TI"2raises IO::WaitWritable instead of blocking. ;TI"KSo, the caller should wait for ready for writability as above example.;T@o; ; [I"JThe combination of nonblocking methods and <code>IO.select</code> is ;TI"Balso useful for streams such as tty, pipe socket socket when ;TI")multiple process read form a stream.;T@o; ; [ I"=Finally, Linux kernel developers doesn't guarantee that ;TI"Jreadability of select(2) means readability of following read(2) even ;TI"for single process. ;TI".See select(2) manual on GNU/Linux system.;T@o; ; [I"]Invoking <code>IO.select</code> before <code>IO#readpartial</code> works well in usual. ;TI"BHowever it is not the best way to use <code>IO.select</code>.;T@o; ; [ I"8The writability notified by select(2) doesn't show ;TI"how many bytes writable. ;TI"N<code>IO#write</code> method blocks until given whole string is written. ;TI"uSo, <code>IO#write(two or more bytes)</code> can block after writability is notified by <code>IO.select</code>. ;TI"F<code>IO#write_nonblock</code> is required to avoid the blocking.;T@o; ; [I"?Blocking write (<code>write</code>) can be emulated using ;TI"H<code>write_nonblock</code> and <code>IO.select</code> as follows: ;TI"kIO::WaitReadable should also be rescued for SSL renegotiation in <code>OpenSSL::SSL::SSLSocket</code>.;T@o;; [I"while 0 < string.bytesize ;TI" begin ;TI"2 written = io_like.write_nonblock(string) ;TI" rescue IO::WaitReadable ;TI" IO.select([io_like]) ;TI" retry ;TI" rescue IO::WaitWritable ;TI"# IO.select(nil, [io_like]) ;TI" retry ;TI" end ;TI". string = string.byteslice(written..-1) ;TI" end ;T; 0S:RDoc::Markup::Heading: leveli: textI"Parameters;To:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"read_array;T; [o; ; [I"Gan array of <code>IO</code> objects that wait until ready for read;To;;[I"write_array;T; [o; ; [I"Han array of <code>IO</code> objects that wait until ready for write;To;;[I"error_array;T; [o; ; [I"Aan array of <code>IO</code> objects that wait for exceptions;To;;[I"timeout;T; [o; ; [I"a numeric value in second;T@S;;i;I"Example;T@o;; [I"rp, wp = IO.pipe ;TI"mesg = "ping " ;TI"100.times { ;TI"H # IO.select follows IO#read. Not the best way to use IO.select. ;TI"' rs, ws, = IO.select([rp], [wp]) ;TI" if r = rs[0] ;TI" ret = r.read(5) ;TI" print ret ;TI" case ret ;TI" when /ping/ ;TI" mesg = "pong\n" ;TI" when /pong/ ;TI" mesg = "ping " ;TI" end ;TI" end ;TI" if w = ws[0] ;TI" w.write(mesg) ;TI" end ;TI"} ;T; 0o; ; [I"<em>produces:</em>;T@o;; [ I"ping pong ;TI"ping pong ;TI"ping pong ;TI"(snipped) ;TI" ping;T; 0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"WIO.select(read_array [, write_array [, error_array [, timeout]]]) -> array or nil ;T0[ I"$(p1, p2 = v2, p3 = v3, p4 = v4);T@�FI"IO;TcRDoc::NormalClass00