Issue #9323 has been updated by matz (Yukihiro Matsumoto).


I vote for making `IO#write` take multiple arguments, probably using `writev(2)` inside.

Matz


----------------------------------------
Feature #9323: IO#writev
https://bugs.ruby-lang.org/issues/9323#change-67331

* Author: Glass_saga (Masaki Matsushita)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 2.5
----------------------------------------
I propose addition of IO#writev.
It enables gather output from multiple buffers.
If writev(2) is not available, IO#writev uses Array#join to emulate atomic write.

---Files--------------------------------
patch.diff (7.83 KB)
patch.diff (6.28 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>