121 fp=fopen(filename,
"r");
131 BuffStruc->
maxstr = maxstr;
133 (
char *)malloc(maxstr *
sizeof(
char))) !=
NULL)
172 if(fgets(
string,length,bfp->
fp))
175 bufflen=strlen(
string);
182 if(!bufflen && bfp->
fp == stdin)
188 strncpy(
string,bfp->
buffer,length);
232 bufflen = strlen(bfp->
buffer);
233 if(bufflen) (bfp->
nlines)++;
240 if(!bufflen && bfp->
fp == stdin)
245 strncpy(
string,bfp->
buffer,length);
Header for window/normal interface routines.
BOOL blReadBufferedFile(INBUFFER *bfp, char *string, int length)
INBUFFER * blOpenBufferedFile(char *filename, int maxstr)
Header file for BuffInp.c.
BOOL blProbeBufferedFile(INBUFFER *bfp, char *string, int length)