X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=io.h;h=8a766ca94c467e5f35012af11290eb2590978b35;hb=cbc5ebaaf7f082f334d06d770efddd37dea91e7f;hp=9a68a5ec336bac8fbcbb96a5e84f9971a18a227d;hpb=389378ae4f62653a77d6b1679989734715a0fc22;p=tig.git diff --git a/io.h b/io.h index 9a68a5e..8a766ca 100644 --- a/io.h +++ b/io.h @@ -62,7 +62,7 @@ bool io_run_append(const char **argv, int fd); bool io_eof(struct io *io); int io_error(struct io *io); char * io_strerror(struct io *io); -bool io_can_read(struct io *io); +bool io_can_read(struct io *io, bool can_block); ssize_t io_read(struct io *io, void *buf, size_t bufsize); char * io_get(struct io *io, int c, bool can_read); bool io_write(struct io *io, const void *buf, size_t bufsize);