mime_codecs.c | 123 size_t inbytes, outbytes, ret; local in function:mime_ficonv 136 outbytes = OUTBUFSIZE; 137 ret = mime_iconv(cd, &in, &inbytes, &out, &outbytes); 171 if (outbytes < OUTBUFSIZE) 172 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo); 176 outbytes = OUTBUFSIZE; 178 ret = iconv(cd, NULL, NULL, &out, &outbytes); 184 if (outbytes < OUTBUFSIZE) 185 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo);
|