From 7ceff03db37d98e1dc634198fcee4206d8318499 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 25 Dec 2012 02:45:28 +0100 Subject: 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. --- sys/include/bio.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/include') 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*); -- cgit v1.2.3