ccan/io: io_halfclose.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:16:21 +0000 (17:46 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:16:21 +0000 (17:46 +0930)
commitd8ecdc8021b532fe76f001290fcd79c4fb9e1323
tree7bfa26ce38e2e536035bb6605a54a9c3e8796c68
parent43185ec669720903fa86aac5f2d1b1ee62e3a12b
ccan/io: io_halfclose.

Helper for a common case.  Replace all but 1 in tests.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c
ccan/io/io.h
ccan/io/test/run-12-bidir.c
ccan/io/test/run-14-duplex-both-read.c
ccan/io/test/run-16-duplex-test.c