未验证 提交 44f4f703 编写于 作者: T tianjia 提交者: GitHub

pal: Fix function declaration error in PAL API Specification (#6)

The prototype declaration of pal_init() is wrong, this is a
copy-paste error, this patch fixes it.
Signed-off-by: NTianjia Zhang <tianjia.zhang@linux.alibaba.com>
上级 90e41aaf
......@@ -4,7 +4,7 @@ Enclave Runtime PAL API defines a common interface to interact between `rune` an
## pal_init()
| **Description** | Initialize enclave runtime with specific attributes. |
| :-: | :- |
| **Prototype** | struct pal_attr_t {<br/> const char \*args;<br/> const char \*log_level;<br/>};<br/>int pal_init(char \*path, char \*argv[],<br/> struct stdio_fds \*stdio,<br/> int \*exit_code); |
| **Prototype** | struct pal_attr_t {<br/> const char \*args;<br/> const char \*log_level;<br/>};<br/>int pal_init(const struct pal_attr_t *attr); |
| **Parameters** | @args: the enclave runtime specific argument string.<br/>@log_level: the output log level of enclave runtime. |
| **Return value** | 0: Success<br/>-ENOENT: Invalid instance path of enclave runtime<br/>Others: Enclave runtime specific error codes |
| **Availability **| >=v1 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册