iconv.h 385 字节
Newer Older
R
Rich Felker 已提交
1 2 3 4 5 6 7
#ifndef _ICONV_H
#define _ICONV_H

#ifdef __cplusplus
extern "C" {
#endif

8
#include <features.h>
9

R
Rich Felker 已提交
10 11 12 13 14 15 16
#define __NEED_size_t

#include <bits/alltypes.h>

typedef void *iconv_t;

iconv_t iconv_open(const char *, const char *);
17
size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
R
Rich Felker 已提交
18 19 20 21 22 23 24
int iconv_close(iconv_t);

#ifdef __cplusplus
}
#endif

#endif