nptl: remove sysdep-cancel ASM macros, convert to C
[uclibc-ng.git] / include / iconv.h
blobdfab27f053b69e4ad4d5fcc29b9fd0048058cf2a
1 #ifndef _ICONV_H
2 #define _ICONV_H 1
4 #define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
6 #include <stddef.h>
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 extern int _libiconv_version; /* Likewise */
14 typedef long iconv_t;
16 extern iconv_t
17 iconv_open(const char *tocode, const char *fromcode);
19 extern size_t
20 iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
21 char **outbuf, size_t *outbytesleft);
23 extern int
24 iconv_close(iconv_t cd);
26 #define libiconv_set_relocation_prefix(...) do {} while(0)
28 #ifdef __cplusplus
30 #endif
32 #endif /* _ICONV_H */