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 <>
Latest commit fedf515 Oct 17, 2018


The C Code Archive Network:

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).