]> git.ozlabs.org Git - ccan/commitdiff
io: add io_flush_sync().
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Mar 2017 01:45:19 +0000 (12:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Mar 2017 01:51:53 +0000 (12:21 +1030)
This is needed for emergency handling in lightningd: we want to output
a (fatal) error packet on the socket, but we don't want to do so in the middle
of another packet.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found