Project

General

Profile

Actions

Feature #9323

closed

IO#writev

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

Status:
Closed
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 2 (0 open2 closed)

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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0