зеркало из https://github.com/github/ruby.git
io.c: [DOC]
* io.c (rb_f_select): [DOC] adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fa24a0c5ad
Коммит
28e50d05d3
2
io.c
2
io.c
|
@ -8559,7 +8559,7 @@ rb_io_advise(int argc, VALUE *argv, VALUE io)
|
|||
* rp, wp = IO.pipe
|
||||
* mesg = "ping "
|
||||
* 100.times {
|
||||
* # IO.select follows IO#read. Not the best way to use IO.select.
|
||||
* # IO.select follows IO#read. Not the best way to use IO.select.
|
||||
* rs, ws, = IO.select([rp], [wp])
|
||||
* if r = rs[0]
|
||||
* ret = r.read(5)
|
||||
|
|
Загрузка…
Ссылка в новой задаче