X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fio.h;h=4468cee3ab0d10d14aacd6cc3cfa3462bc8ec114;hb=5a510ed5696255910fd42adb47d7c1ffa728a116;hp=df0764bd17e1ff7f50633ffe91a45de4c02c6a22;hpb=dbbefec6973725d9a16c82747e0c7ce8e5e6c4f2;p=ccan diff --git a/ccan/io/io.h b/ccan/io/io.h index df0764bd..4468cee3 100644 --- a/ccan/io/io.h +++ b/ccan/io/io.h @@ -394,7 +394,7 @@ bool io_timeout_(struct io_conn *conn, struct timespec ts, * to have two connections for the same fd, and use one for read * operations and one for write. * - * Returning io_close() on one will close both fds! + * You must io_close() both of them to close the fd. * * Example: * static void setup_read_write(int fd,