summaryrefslogtreecommitdiff
path: root/sys/include/bio.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-12-25 02:45:28 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-12-25 02:45:28 +0100
commit7ceff03db37d98e1dc634198fcee4206d8318499 (patch)
treef6cbd49954c203b70ce6f5bfefa5201c1d238167 /sys/include/bio.h
parente7348f8ed26c8cc66cebfc3e59ff237b95db2a7b (diff)
bio: remove useless Breadn() as it does the same as Bread()
Bread() always reads exactly nbytes of data if it can. only when it reaches end of file or an error it will return less. so the Breadn() function that was introduced has been removed. sorry for the confusion.
Diffstat (limited to 'sys/include/bio.h')
-rw-r--r--sys/include/bio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/include/bio.h b/sys/include/bio.h
index fabc2b7c8..f358c962c 100644
--- a/sys/include/bio.h
+++ b/sys/include/bio.h
@@ -66,7 +66,6 @@ int Bputrune(Biobufhdr*, long);
void* Brdline(Biobufhdr*, int);
char* Brdstr(Biobufhdr*, int, int);
long Bread(Biobufhdr*, void*, long);
-long Breadn(Biobufhdr*, void*, long);
vlong Bseek(Biobufhdr*, vlong, int);
int Bterm(Biobufhdr*);
int Bungetc(Biobufhdr*);