Skip to content

Commit 8df08e6

Browse files
authored
Merge pull request #157 from badeend/remove-fd-numbering-docs
Remove documentation on the numeric resource id value.
2 parents 930914d + b563993 commit 8df08e6

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

imports.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,11 +1170,6 @@ WASI.</p>
11701170
</ul>
11711171
<h4><a name="method_descriptor_open_at"></a><code>[method]descriptor.open-at: func</code></h4>
11721172
<p>Open a file or directory.</p>
1173-
<p>The returned descriptor is not guaranteed to be the lowest-numbered
1174-
descriptor not currently open/ it is randomized to prevent applications
1175-
from depending on making assumptions about indexes, since this is
1176-
error-prone in multi-threaded contexts. The returned descriptor is
1177-
guaranteed to be less than 2**31.</p>
11781173
<p>If <code>flags</code> contains <a href="#descriptor_flags.mutate_directory"><code>descriptor-flags::mutate-directory</code></a>, and the base
11791174
descriptor doesn't have <a href="#descriptor_flags.mutate_directory"><code>descriptor-flags::mutate-directory</code></a> set,
11801175
<code>open-at</code> fails with <a href="#error_code.read_only"><code>error-code::read-only</code></a>.</p>

wit/types.wit

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,12 +523,6 @@ interface types {
523523

524524
/// Open a file or directory.
525525
///
526-
/// The returned descriptor is not guaranteed to be the lowest-numbered
527-
/// descriptor not currently open/ it is randomized to prevent applications
528-
/// from depending on making assumptions about indexes, since this is
529-
/// error-prone in multi-threaded contexts. The returned descriptor is
530-
/// guaranteed to be less than 2**31.
531-
///
532526
/// If `flags` contains `descriptor-flags::mutate-directory`, and the base
533527
/// descriptor doesn't have `descriptor-flags::mutate-directory` set,
534528
/// `open-at` fails with `error-code::read-only`.

0 commit comments

Comments
 (0)