diff options
author | rsc <devnull@localhost> | 2003-12-03 22:50:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-12-03 22:50:48 +0000 |
commit | 669250d159e93a6933afa4cd25f410af801515ec (patch) | |
tree | 1f053fd518cf1a172863e07050e6e3bf13762f7d /include/bio.h | |
parent | 5a82f26e50fbfbb3090b4cf839decf012637a00e (diff) | |
download | plan9port-669250d159e93a6933afa4cd25f410af801515ec.tar.gz plan9port-669250d159e93a6933afa4cd25f410af801515ec.tar.bz2 plan9port-669250d159e93a6933afa4cd25f410af801515ec.zip |
Various fixes.
B - fixed usage, DISPLAY :0 vs :0.0
9term - fixed various terminal things
rc - notice traps in Read
_p9dir - only run disk code for disks
dirread - getdirentries on FreeBSD and Linux
are different w.r.t. meaning of off.
notify - set up so signals interrupt system calls
bprint - use bfmt.
Diffstat (limited to 'include/bio.h')
-rw-r--r-- | include/bio.h | 4 |
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*); |