Lines Matching defs:len
96 int len, i;
107 len = strlen(bufr) + 1;
108 if ((i = len % xpacksize) != 0) {
109 len = len + xpacksize - i;
110 bufr[len - 1] = '\0';
112 gwrblk(bufr, len);
122 unsigned len;
127 len = pkread(str, packsize);
128 if (len == 0)
130 str += len;
145 int len;
153 while ((len = read( fd1, bufr, BUFSIZ )) > 0) {
154 bytes += len;
156 ret = gwrblk(bufr, len);
157 if (ret != len) {
160 if (len != BUFSIZ)
174 int len;
183 len = grdblk(bufr, BUFSIZ);
184 if (len < 0) {
187 bytes += len;
189 if ( ret == SUCCESS && write( fd2, bufr, len ) != len) {
193 if (len < BUFSIZ)
202 grdblk(blk, len)
207 for (i = 0; i < len; i += ret) {
208 ret = pkread(blk, len - i);
220 gwrblk(blk, len)
223 return(pkwrite(blk, len));