Project

General

Profile

Feature #9323

IO#writev

Added by Glass_saga (Masaki Matsushita) almost 7 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:59408]

Description

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 Glass_saga (Masaki Matsushita), 12/30/2013 10:08 PM
patch.diff (6.28 KB) patch.diff Glass_saga (Masaki Matsushita), 06/27/2017 05:05 AM
patch.diff (6.79 KB) patch.diff IO#write accepts multiple arguments Glass_saga (Masaki Matsushita), 10/21/2017 12:20 PM

Related issues

Related to Ruby master - Feature #9420: warn and puts should be atomicClosedGlass_saga (Masaki Matsushita)Actions
Related to Ruby master - Feature #14042: IO#puts: use writev if availableClosedActions

Also available in: Atom PDF