Lines Matching defs:buf
61 ssize_t sfrd(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc)
63 ssize_t sfrd(f,buf,n,disc)
65 Void_t* buf;
141 if((uchar*)buf >= f->data && (uchar*)buf <= f->endb)
143 buf = NIL(char*);
201 if(buf)
204 memcpy(buf,f->next,n);
221 if(!buf)
222 { buf = (Void_t*)f->data;
253 SFDCRD(f,buf,n,dc,r);
264 r = sfpkrd(f->file, (char*)buf, n,
273 else r = sysreadf(f->file,buf,n);
285 if((uchar*)buf >= f->data &&
286 (uchar*)buf < f->data+f->size)
287 f->endb = f->endr = ((uchar*)buf) + r;