1 # -*- encoding: binary -*-
2 require 'io_splice_ext'
8 # the version of IO::Splice, currently 0.1.0
11 # The maximum capacity of the pipe in bytes.
12 # Under stock Linux, this is 65536 bytes as of 2.6.11, and 4096 before
13 # We detect this at runtime as it is easy to recompile the kernel
14 # and set a new value.
20 n += wr.write_nonblock(buf)