iconv-h.md 4.0 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
# iconv.h<a name="ZH-CN_TOPIC_0000001055547978"></a>

## **Overview**<a name="section2080269519084830"></a>

**Related Modules:**

[IO](IO.md)

**Description:**

Declares functions related to the I/O character set conversion. 

**Since:**

1.0

**Version:**

1.0

## **Summary**<a name="section972639167084830"></a>

## Typedefs<a name="typedef-members"></a>

<a name="table2037174226084830"></a>
<table><thead align="left"><tr id="row1589756495084830"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1513707284084830"><a name="p1513707284084830"></a><a name="p1513707284084830"></a>Typedef Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1758964260084830"><a name="p1758964260084830"></a><a name="p1758964260084830"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row861538130084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p680517810084830"><a name="p680517810084830"></a><a name="p680517810084830"></a><a href="IO.md#ga72517f6ffadddaafa9d51dee9b535c9f">iconv_t</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1197765638084830"><a name="p1197765638084830"></a><a name="p1197765638084830"></a> typedef void *&nbsp;</p>
<p id="p997763674084830"><a name="p997763674084830"></a><a name="p997763674084830"></a>Type of the character set conversion descriptor. </p>
</td>
</tr>
</tbody>
</table>

## Functions<a name="func-members"></a>

<a name="table1696880125084830"></a>
<table><thead align="left"><tr id="row1722070593084830"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1715130880084830"><a name="p1715130880084830"></a><a name="p1715130880084830"></a>Function Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p271290989084830"><a name="p271290989084830"></a><a name="p271290989084830"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row1310852221084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p764216310084830"><a name="p764216310084830"></a><a name="p764216310084830"></a><a href="IO.md#ga934548ab8aaae237ac5cce0ed0b3edec">iconv_open</a> (const char *to, const char *from)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1343009333084830"><a name="p1343009333084830"></a><a name="p1343009333084830"></a><a href="IO.md#ga72517f6ffadddaafa9d51dee9b535c9f">iconv_t</a>&nbsp;</p>
<p id="p1774028513084830"><a name="p1774028513084830"></a><a name="p1774028513084830"></a>Obtain a character set conversion descriptor. </p>
</td>
</tr>
<tr id="row258328759084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p2128215912084830"><a name="p2128215912084830"></a><a name="p2128215912084830"></a><a href="IO.md#gab7c1300a663def659ce6d4a01076c39d">iconv</a> (<a href="IO.md#ga72517f6ffadddaafa9d51dee9b535c9f">iconv_t</a> cd, char **restrict in, size_t *restrict inb, char **restrict out, size_t *restrict outb)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1735504893084830"><a name="p1735504893084830"></a><a name="p1735504893084830"></a>size_t&nbsp;</p>
<p id="p326594027084830"><a name="p326594027084830"></a><a name="p326594027084830"></a>Converts a character set. </p>
</td>
</tr>
<tr id="row619317271084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1206469449084830"><a name="p1206469449084830"></a><a name="p1206469449084830"></a><a href="IO.md#ga062da5f802d9e274a8702f11921e691b">iconv_close</a> (<a href="IO.md#ga72517f6ffadddaafa9d51dee9b535c9f">iconv_t</a> cd)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1606477763084830"><a name="p1606477763084830"></a><a name="p1606477763084830"></a>int&nbsp;</p>
<p id="p236298488084830"><a name="p236298488084830"></a><a name="p236298488084830"></a>Closes a character set conversion descriptor. </p>
</td>
</tr>
</tbody>
</table>