From ee7b1df091bbe56107b3c87d5e7a867ee7f9d59e Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 30 Jan 2020 23:57:37 +0100 Subject: [PATCH] Regenerate docs for wasi_ephemeral This commit regenerates docs for the ephemeral phase since there were a couple of changes to the underlying `*.witx` which started tripping the CI. This commit fixes that. --- phases/ephemeral/docs.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/phases/ephemeral/docs.md b/phases/ephemeral/docs.md index 4fd0305ed..275cfa3de 100644 --- a/phases/ephemeral/docs.md +++ b/phases/ephemeral/docs.md @@ -308,7 +308,7 @@ The right to invoke `fd_allocate`. The right to invoke `path_create_directory`. - `path_create_file` -If `path_open` is set, the right to invoke `path_open` with [`oflags::creat`](#oflags.creat). +If `path_open` is set, the right to invoke `path_open` with [`oflags::create`](#oflags.create). - `path_link_source` The right to invoke `path_link` with the file descriptor as the @@ -568,7 +568,7 @@ As long as the resolved path corresponds to a symbolic link, it is expanded. Open flags used by `path_open`. ### Flags -- `creat` +- `create` Create file if it does not exist. - `directory` @@ -740,7 +740,7 @@ The contents of a $subscription when type is type is [`eventtype::fd_read`](#eventtype.fd_read) or [`eventtype::fd_write`](#eventtype.fd_write). ### Struct members -- `file_descriptor`: [`fd`](#fd) +- `fd`: [`fd`](#fd) The file descriptor on which to wait for it to become ready for reading or writing. ## `subscription_u`: Union @@ -1687,7 +1687,7 @@ The exit code returned by the process. --- -#### `get(buf: Pointer, buf_len: size) -> errno` +#### `get(buf: Pointer, buf_len: size) -> errno` Write high-quality random data into a buffer. This function blocks when the implementation is unable to immediately provide sufficient high-quality random data. @@ -1696,7 +1696,7 @@ required, it's advisable to use this function to seed a pseudo-random number generator, rather than to provide the random data directly. ##### Params -- `buf`: `Pointer` +- `buf`: `Pointer` The buffer to fill with random data. - `buf_len`: [`size`](#size)