1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openLuat-LuatOS

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
iconv.h 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Dozingfiretruck Отправлено 2 лет назад d2913ee
/**************************************************************************
* Copyright (C), AirM2M Tech. Co., Ltd.
*
* Name: iconv.h
* Author: liweiqiang
* Version: V0.1
* Date: 2013/7/15
*
* Description:
* 字符编码转换
**************************************************************************/
#ifndef __ICONV_H__
#define __ICONV_H__
// #include "stddef.h"
/* Identifier for conversion method from one codeset to another. */
typedef void *iconv_t;
/* Allocate descriptor for code conversion from codeset FROMCODE to
codeset TOCODE. */
extern iconv_t iconv_open (const char *to_code, const char *from_code);
/* Convert at most *INBYTESLEFT bytes from *INBUF according to the
code conversion algorithm specified by CD and place up to
*OUTBYTESLEFT bytes in buffer at *OUTBUF. */
extern size_t iconv_convert (iconv_t __cd, char ** __inbuf,
size_t * __inbytesleft,
char ** __outbuf,
size_t * __outbytesleft);
/* Free resources allocated for descriptor CD for code conversion. */
extern int iconv_close (iconv_t cd);
#endif/*__ICONV_H__*/
1
https://gitlife.ru/oschina-mirror/openLuat-LuatOS.git
git@gitlife.ru:oschina-mirror/openLuat-LuatOS.git
oschina-mirror
openLuat-LuatOS
openLuat-LuatOS
master