File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1170,11 +1170,6 @@ WASI.</p>
1170
1170
</ul >
1171
1171
<h4 ><a name =" method_descriptor_open_at " ></a ><code >[method]descriptor.open-at: func</code ></h4 >
1172
1172
<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 >
1178
1173
<p >If <code >flags</code > contains <a href =" #descriptor_flags.mutate_directory " ><code >descriptor-flags::mutate-directory</code ></a >, and the base
1179
1174
descriptor doesn't have <a href =" #descriptor_flags.mutate_directory " ><code >descriptor-flags::mutate-directory</code ></a > set,
1180
1175
<code >open-at</code > fails with <a href =" #error_code.read_only " ><code >error-code::read-only</code ></a >.</p >
Original file line number Diff line number Diff line change @@ -523,12 +523,6 @@ interface types {
523
523
524
524
/// Open a file or directory.
525
525
///
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
- ///
532
526
/// If `flags` contains `descriptor-flags::mutate-directory` , and the base
533
527
/// descriptor doesn't have `descriptor-flags::mutate-directory` set,
534
528
/// `open-at` fails with `error-code::read-only` .
You can’t perform that action at this time.
0 commit comments