diff --git a/rune/libenclave/internal/runtime/pal/spec.md b/rune/libenclave/internal/runtime/pal/spec.md index d124e67be51009792df9ae3e14742ca3baafd0cd..708df8552c54c9d68818f7d968cb5e0680bb4c28 100644 --- a/rune/libenclave/internal/runtime/pal/spec.md +++ b/rune/libenclave/internal/runtime/pal/spec.md @@ -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 {
const char \*args;
const char \*log_level;
};
int pal_init(char \*path, char \*argv[],
struct stdio_fds \*stdio,
int \*exit_code); | +| **Prototype** | struct pal_attr_t {
const char \*args;
const char \*log_level;
};
int pal_init(const struct pal_attr_t *attr); | | **Parameters** | @args: the enclave runtime specific argument string.
@log_level: the output log level of enclave runtime. | | **Return value** | 0: Success
-ENOENT: Invalid instance path of enclave runtime
Others: Enclave runtime specific error codes | | **Availability **| >=v1 |