mime_codecs.c | 123 size_t inbytes, outbytes, ret; local in function:mime_ficonv 132 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fi)) > 0) { 134 while (inbytes > 0) { 137 ret = mime_iconv(cd, &in, &inbytes, &out, &outbytes); 151 (void)memmove(inbuf, in, inbytes); 152 ret = fread(inbuf + inbytes, 1, 153 INBUFSIZE - inbytes, fi); 168 inbytes += ret;
|