utsname-h.md 1.6 KB
Newer Older
[
[yang] 已提交
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
# utsname.h<a name="ZH-CN_TOPIC_0000001055209585"></a>

-   [Overview](#section116890806165629)
-   [Summary](#section617884463165629)
-   [Functions](#func-members)

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

**Related Modules:**

[UTILS](UTILS.md)

**Description:**

Declares common functions for system operations. 

You can use the function provided in this file to obtain the system information during development. 

**Since:**

1.0

**Version:**

1.0

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

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

<a name="table465398328165629"></a>
<table><thead align="left"><tr id="row530835903165629"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1013653742165629"><a name="p1013653742165629"></a><a name="p1013653742165629"></a>Function</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1725776542165629"><a name="p1725776542165629"></a><a name="p1725776542165629"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row1948274624165629"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1476807733165629"><a name="p1476807733165629"></a><a name="p1476807733165629"></a><a href="UTILS.md#ga8aad464bbe437c5776c520d958dcff58">uname</a> (struct utsname *buf)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1755647740165629"><a name="p1755647740165629"></a><a name="p1755647740165629"></a>int </p>
<p id="p56263247165629"><a name="p56263247165629"></a><a name="p56263247165629"></a>Obtains the system information. </p>
</td>
</tr>
</tbody>
</table>