未验证 提交 c35ecea1 编写于 作者: H hustliyilin 提交者: GitHub

rune/libenclave: Supply the missing return value description information for PAL API v2

Signed-off-by: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 71872a7c
...@@ -18,7 +18,7 @@ N/A ...@@ -18,7 +18,7 @@ N/A
### Return value ### Return value
``` ```
N/A @int: the PAL API version of the current enclave runtime.
``` ```
## 2.pal_init() ## 2.pal_init()
...@@ -107,6 +107,13 @@ int pal_exec(struct pal_exec_args *attr); ...@@ -107,6 +107,13 @@ int pal_exec(struct pal_exec_args *attr);
@exit_value: The exit value of the process. @exit_value: The exit value of the process.
``` ```
### Return value
```
0: Success
-EINVAL: Invalid argument
-ENOSYS: The function is not supported
```
## 5.pal_kill() ## 5.pal_kill()
### Description ### Description
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册