add kgio_syssend method to wrap send(2)
commit070b5aeb9313ef09303dffa7bc72c771f6f86f31
authorEric Wong <normalperson@yhbt.net>
Tue, 4 Feb 2014 00:51:59 +0000 (4 00:51 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 4 Feb 2014 01:43:03 +0000 (4 01:43 +0000)
tree0048fd8ad2eb5b9099d8142226ecc74630260204
parenta876a30e4bfae6e3aa4af2e34f68bf66be5715b4
add kgio_syssend method to wrap send(2)

This behaves like kgio_trywrite on GNU/Linux, but allows extra flags
to be specified.  The main purpose of this is to support use of the
MSG_MORE flag on GNU/Linux.
ext/kgio/write.c
test/test_syssend.rb [new file with mode: 0644]