Hello API
June 25, 2018 · View on GitHub
打招呼
注意:对于函数介绍,必须遵循下面的格式
int hello_func(void)
在这里需要介绍 hello_func 函数的主要功能
| 参数 | 描述 |
|---|---|
无 | 无参数 |
| 返回 | 描述 |
| 0 | 正确执行 |
| -1 | 失败 |
示例(可选)
#include <hello.h>
int func()
{
hello_func();
return 0;
}
June 25, 2018 · View on GitHub
注意:对于函数介绍,必须遵循下面的格式
int hello_func(void)
在这里需要介绍 hello_func 函数的主要功能
| 参数 | 描述 |
|---|---|
无 | 无参数 |
| 返回 | 描述 |
| 0 | 正确执行 |
| -1 | 失败 |
示例(可选)
#include <hello.h>
int func()
{
hello_func();
return 0;
}