Method: IO#writev2

Defined in:
lib/phusion_passenger/utils.rb

#writev2(components, components2) ⇒ Object

Like #writev, but accepts two arrays. The data is written in the given order.

io.writev2(["hello ", "world", "\n"], ["another ", "message\n"])


977
978
979
980
# File 'lib/phusion_passenger/utils.rb', line 977

def writev2(components, components2)
	return PhusionPassenger::NativeSupport.writev2(fileno,
		components, components2)
end