@@ -282,14 +282,14 @@ Cross-device link.
282
282
- <a href =" #errno.notcapable " name =" errno.notcapable " ></a > ` notcapable `
283
283
Extension: Capabilities insufficient.
284
284
285
- ## <a href =" #rights " name =" rights " ></a > ` rights ` : Flags( ` u64 ` )
285
+ ## <a href =" #rights " name =" rights " ></a > ` rights ` : ` u64 `
286
286
File descriptor rights, determining which actions may be performed.
287
287
288
288
Size: 8
289
289
290
290
Alignment: 8
291
291
292
- ### Flags
292
+ ### Constants
293
293
- <a href =" #rights.fd_datasync " name =" rights.fd_datasync " ></a > ` fd_datasync `
294
294
The right to invoke ` fd_datasync ` .
295
295
If ` path_open ` is set, includes the right to invoke
@@ -487,6 +487,9 @@ Size: 8
487
487
488
488
Alignment: 8
489
489
490
+ ### Constants
491
+ - <a href =" #dircookie.start " name =" dircookie.start " ></a > ` start `
492
+
490
493
## <a href =" #dirnamlen " name =" dirnamlen " ></a > ` dirnamlen ` : ` u32 `
491
494
The type for the [ ` dirent::d_namlen ` ] ( #dirent.d_namlen ) field of [ ` dirent ` ] ( #dirent ) .
492
495
@@ -590,14 +593,14 @@ The application expects that it will not access the specified data in the near f
590
593
- <a href =" #advice.noreuse " name =" advice.noreuse " ></a > ` noreuse `
591
594
The application expects to access the specified data once and then not reuse it thereafter.
592
595
593
- ## <a href =" #fdflags " name =" fdflags " ></a > ` fdflags ` : Flags( ` u16 ` )
596
+ ## <a href =" #fdflags " name =" fdflags " ></a > ` fdflags ` : ` u16 `
594
597
File descriptor flags.
595
598
596
599
Size: 2
597
600
598
601
Alignment: 2
599
602
600
- ### Flags
603
+ ### Constants
601
604
- <a href =" #fdflags.append " name =" fdflags.append " ></a > ` append `
602
605
Append mode: Data written to the file is always appended to the file's end.
603
606
@@ -652,14 +655,14 @@ Size: 8
652
655
653
656
Alignment: 8
654
657
655
- ## <a href =" #fstflags " name =" fstflags " ></a > ` fstflags ` : Flags( ` u16 ` )
658
+ ## <a href =" #fstflags " name =" fstflags " ></a > ` fstflags ` : ` u16 `
656
659
Which file time attributes to adjust.
657
660
658
661
Size: 2
659
662
660
663
Alignment: 2
661
664
662
- ### Flags
665
+ ### Constants
663
666
- <a href =" #fstflags.atim " name =" fstflags.atim " ></a > ` atim `
664
667
Adjust the last data access timestamp to the value stored in [ ` filestat::atim ` ] ( #filestat.atim ) .
665
668
@@ -672,25 +675,25 @@ Adjust the last data modification timestamp to the value stored in [`filestat::m
672
675
- <a href =" #fstflags.mtim_now " name =" fstflags.mtim_now " ></a > ` mtim_now `
673
676
Adjust the last data modification timestamp to the time of clock [ ` clockid::realtime ` ] ( #clockid.realtime ) .
674
677
675
- ## <a href =" #lookupflags " name =" lookupflags " ></a > ` lookupflags ` : Flags( ` u32 ` )
678
+ ## <a href =" #lookupflags " name =" lookupflags " ></a > ` lookupflags ` : ` u32 `
676
679
Flags determining the method of how paths are resolved.
677
680
678
681
Size: 4
679
682
680
683
Alignment: 4
681
684
682
- ### Flags
685
+ ### Constants
683
686
- <a href =" #lookupflags.symlink_follow " name =" lookupflags.symlink_follow " ></a > ` symlink_follow `
684
687
As long as the resolved path corresponds to a symbolic link, it is expanded.
685
688
686
- ## <a href =" #oflags " name =" oflags " ></a > ` oflags ` : Flags( ` u16 ` )
689
+ ## <a href =" #oflags " name =" oflags " ></a > ` oflags ` : ` u16 `
687
690
Open flags used by ` path_open ` .
688
691
689
692
Size: 2
690
693
691
694
Alignment: 2
692
695
693
- ### Flags
696
+ ### Constants
694
697
- <a href =" #oflags.create " name =" oflags.create " ></a > ` create `
695
698
Create file if it does not exist.
696
699
@@ -710,7 +713,7 @@ Size: 8
710
713
711
714
Alignment: 8
712
715
713
- ## <a href =" #permissions " name =" permissions " ></a > ` permissions ` : Flags( ` u8 ` )
716
+ ## <a href =" #permissions " name =" permissions " ></a > ` permissions ` : ` u8 `
714
717
File permissions. This represents the permissions associated with a
715
718
file in a filesystem, and don't fully reflect all the conditions
716
719
which determine whether a given WASI program can access the file.
@@ -719,7 +722,7 @@ Size: 1
719
722
720
723
Alignment: 1
721
724
722
- ### Flags
725
+ ### Constants
723
726
- <a href =" #permissions.read " name =" permissions.read " ></a > ` read `
724
727
For files, permission to read the file.
725
728
For directories, permission to do [ ` readdir ` ] ( #readdir ) and access files
@@ -825,15 +828,15 @@ available for reading. This event always triggers for regular files.
825
828
File descriptor [ ` subscription_fd_readwrite::fd ` ] ( #subscription_fd_readwrite.fd ) has capacity
826
829
available for writing. This event always triggers for regular files.
827
830
828
- ## <a href =" #eventrwflags " name =" eventrwflags " ></a > ` eventrwflags ` : Flags( ` u16 ` )
831
+ ## <a href =" #eventrwflags " name =" eventrwflags " ></a > ` eventrwflags ` : ` u16 `
829
832
The state of the file descriptor subscribed to with
830
833
[ ` eventtype::fd_read ` ] ( #eventtype.fd_read ) or [ ` eventtype::fd_write ` ] ( #eventtype.fd_write ) .
831
834
832
835
Size: 2
833
836
834
837
Alignment: 2
835
838
836
- ### Flags
839
+ ### Constants
837
840
- <a href =" #eventrwflags.fd_readwrite_hangup " name =" eventrwflags.fd_readwrite_hangup " ></a > ` fd_readwrite_hangup `
838
841
The peer of this socket has closed or disconnected.
839
842
@@ -899,15 +902,15 @@ The type of the event that occurred, and the contents of the event
899
902
900
903
Offset: 16
901
904
902
- ## <a href =" #subclockflags " name =" subclockflags " ></a > ` subclockflags ` : Flags( ` u16 ` )
905
+ ## <a href =" #subclockflags " name =" subclockflags " ></a > ` subclockflags ` : ` u16 `
903
906
Flags determining how to interpret the timestamp provided in
904
907
[ ` subscription_clock::timeout ` ] ( #subscription_clock.timeout ) .
905
908
906
909
Size: 2
907
910
908
911
Alignment: 2
909
912
910
- ### Flags
913
+ ### Constants
911
914
- <a href =" #subclockflags.subscription_clock_abstime " name =" subclockflags.subscription_clock_abstime " ></a > ` subscription_clock_abstime `
912
915
If set, treat the timestamp provided in
913
916
[ ` subscription_clock::timeout ` ] ( #subscription_clock.timeout ) as an absolute timestamp of clock
@@ -1004,28 +1007,28 @@ Size: 4
1004
1007
1005
1008
Alignment: 4
1006
1009
1007
- ## <a href =" #riflags " name =" riflags " ></a > ` riflags ` : Flags( ` u16 ` )
1010
+ ## <a href =" #riflags " name =" riflags " ></a > ` riflags ` : ` u16 `
1008
1011
Flags provided to ` sock_recv ` .
1009
1012
1010
1013
Size: 2
1011
1014
1012
1015
Alignment: 2
1013
1016
1014
- ### Flags
1017
+ ### Constants
1015
1018
- <a href =" #riflags.recv_peek " name =" riflags.recv_peek " ></a > ` recv_peek `
1016
1019
Returns the message without removing it from the socket's receive queue.
1017
1020
1018
1021
- <a href =" #riflags.recv_waitall " name =" riflags.recv_waitall " ></a > ` recv_waitall `
1019
1022
On byte-stream sockets, block until the full amount of data can be returned.
1020
1023
1021
- ## <a href =" #roflags " name =" roflags " ></a > ` roflags ` : Flags( ` u16 ` )
1024
+ ## <a href =" #roflags " name =" roflags " ></a > ` roflags ` : ` u16 `
1022
1025
Flags returned by ` sock_recv ` .
1023
1026
1024
1027
Size: 2
1025
1028
1026
1029
Alignment: 2
1027
1030
1028
- ### Flags
1031
+ ### Constants
1029
1032
- <a href =" #roflags.recv_data_truncated " name =" roflags.recv_data_truncated " ></a > ` recv_data_truncated `
1030
1033
Returned by ` sock_recv ` : Message data has been truncated.
1031
1034
@@ -1037,14 +1040,14 @@ Size: 2
1037
1040
1038
1041
Alignment: 2
1039
1042
1040
- ## <a href =" #sdflags " name =" sdflags " ></a > ` sdflags ` : Flags( ` u8 ` )
1043
+ ## <a href =" #sdflags " name =" sdflags " ></a > ` sdflags ` : ` u8 `
1041
1044
Which channels on a socket to shut down.
1042
1045
1043
1046
Size: 1
1044
1047
1045
1048
Alignment: 1
1046
1049
1047
- ### Flags
1050
+ ### Constants
1048
1051
- <a href =" #sdflags.rd " name =" sdflags.rd " ></a > ` rd `
1049
1052
Disables further receive operations.
1050
1053
0 commit comments