io: add io_fd_block() helper.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Jun 2017 05:17:32 +0000 (14:47 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Jun 2017 05:17:32 +0000 (14:47 +0930)
commit3ffb94e9aad84dc0d8e19a5a7d709589d7956ddf
tree0f7b3505833e1333ef5fab496b809dadb4a10b95
parente846b1a93ecf096164ff2c4faaf4a89c24a0e76b
io: add io_fd_block() helper.

It's a common thing to want to do, so add helper here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/benchmarks/run-different-speed.c
ccan/io/benchmarks/run-length-prefix.c
ccan/io/io.c
ccan/io/io.h