]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/fdpass/_info
io/fdpass: fix example.
[ccan] / ccan / io / fdpass / _info
index 406b2f5c2a7b53757043ca8ecc160bc259b9c6ac..ba09025aaf8e5bed001debd89a018f9385415910 100644 (file)
@@ -58,7 +58,7 @@
  *
  *     static struct io_plan *send_stdin(struct io_conn *conn, void *unused)
  *     {
  *
  *     static struct io_plan *send_stdin(struct io_conn *conn, void *unused)
  *     {
- *             return io_send_fd(conn, STDIN_FILENO, io_close_cb, NULL);
+ *             return io_send_fd(conn, STDIN_FILENO, false, io_close_cb, NULL);
  *     }
  *
  *     static void parent(int sockfd)
  *     }
  *
  *     static void parent(int sockfd)