Convert as much as possible of inbuf to outbuf. Initiallythe size_t variables indicate the number of bytes available in thebuffers, and they are updated (and the char pointers are updatedto point to the next free byte in the buffer). The return value is thenumber of characters converted, or (size_t)-1 (beware:size_t is usually an unsigned type). It should be safe to assumethat an error condition sets errno to one of E2BIG (theoutput buffer is full), EILSEQ (the input cannot be converted,and might be invalid in the encoding specified) or EINVAL (theinput does not end with a complete multi-byte character).
fm 2007 modifier 2.14 for free | updated
2ff7e9595c
コメント