The C Code Archive Network
Clone or download
rustyrussell io: don't leave errno as a random value when we hit EOF.
It's used inside io_finish; setting to 0 allows that to know we hit
EOF on a read.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Latest commit fedf515 Oct 17, 2018

README

The C Code Archive Network: http://ccodearchive.net

You can find a set of helper utilities under tools/ and the modules
under ccan/.  The recommended way to add ccan modules to your project
is to create a ccan/ directory and add one module per subdirectory
(see tools/create-ccan-tree).

Enjoy!