Lines Matching refs:ssize_t
30 ssize_t sfread(Sfio_t* f, Void_t* buf, size_t n)
32 ssize_t sfread(f,buf,n)
39 reg ssize_t r;
43 SFMTXENTER(f, (ssize_t)(-1));
49 SFMTXRETURN(f, (ssize_t)(n == 0 ? 0 : -1) );
54 SFMTXRETURN(f, (ssize_t)(-1));
59 SFMTXRETURN(f, (ssize_t)(-1));
65 SFMTXRETURN(f, (ssize_t)(-1));
86 SFMTXRETURN(f, (ssize_t)n);
92 { if(r > (ssize_t)n)
93 r = (ssize_t)n;
110 r = (ssize_t)n;
116 if(r > (ssize_t)n && (r - r/8) <= (ssize_t)n)
117 r = (ssize_t)n;
120 if(r == (ssize_t)n && (r = SFRD(f,s,r,f->disc)) >= 0)