66 #define FFUTF_IMPLM 16
134 extern uint32_t
fgetc_u(FILE *fp,
int type);
160 extern size_t fwrite_u(uint32_t c, FILE *fp,
int type);
167 #define ISASCII(ch) ((ch) & 0x7f == (ch))
194 extern size_t strlen_u(
const char *s,
int type);
203 extern size_t strnlen_u(
const char *s,
size_t max_len,
int type);
int ffutf_errno
Definition: ffutf.c:11
uint32_t fgetc_u(FILE *fp, int type)
Definition: ffutf.c:59
size_t fwrite_u(uint32_t c, FILE *fp, int type)
Definition: ffutf.c:227
size_t strnlen_u(const char *s, size_t max_len, int type)
Length of a unicode string with a length limit.
Definition: ffutf.c:776
size_t strlen_u(const char *s, int type)
Length of a unicode string.
Definition: ffutf.c:771