optimize two-way strstr and memmem bad character shift
[musl.git] / include / iconv.h
blobebe9bfda3926a6a532b4aefc1db8e06a16ec0cdf
1 #ifndef _ICONV_H
2 #define _ICONV_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <features.h>
10 #define __NEED_size_t
12 #include <bits/alltypes.h>
14 typedef void *iconv_t;
16 iconv_t iconv_open(const char *, const char *);
17 size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
18 int iconv_close(iconv_t);
20 #ifdef __cplusplus
22 #endif
24 #endif