aboutsummaryrefslogtreecommitdiff
path: root/include/bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bio.h')
-rw-r--r--include/bio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bio.h b/include/bio.h
index 473389a7..bdf00302 100644
--- a/include/bio.h
+++ b/include/bio.h
@@ -30,7 +30,7 @@ struct Biobuf
int icount; /* neg num of bytes at eob */
int ocount; /* num of bytes at bob */
int rdline; /* num of bytes after rdline */
- int runesize; /* num of bytes of last getrune */
+ int runesize; /* num of bytes of last getrune */
int state; /* r/w/inactive */
int fid; /* open file */
int flag; /* magic if malloc'ed */
@@ -59,6 +59,8 @@ struct Biobuf
int Bbuffered(Biobuf*);
Biobuf* Bfdopen(int, int);
+int Bfmtinit(Fmt*, Biobuf*);
+int Bfmtflush(Fmt*);
int Bfildes(Biobuf*);
int Bflush(Biobuf*);
int Bgetc(Biobuf*);