X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fio.h;h=ecbeb0b093bf6f0c43054b9a67e1233cff41bf66;hb=710d42d071a10093077d30d6e521f9599a9bc997;hp=bcdb11fdd0e0c1f1e9a08aac55a13e0afe888d92;hpb=ecf907f7e6b41ba69a10b20b2cb5743ed9cdf919;p=ccan diff --git a/ccan/io/io.h b/ccan/io/io.h index bcdb11fd..ecbeb0b0 100644 --- a/ccan/io/io.h +++ b/ccan/io/io.h @@ -39,7 +39,8 @@ struct io_conn *io_new_conn_(int fd, struct io_plan plan); * * @finish will be called when an I/O operation fails, or you call * io_close() on the connection. errno will be set to the value - * after the failed I/O, or at the call to io_close(). + * after the failed I/O, or at the call to io_close(). The fd + * will be closed (unless a duplex) before @finish is called. * * Example: * static void finish(struct io_conn *conn, void *unused)