Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion legacy/preview0/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ If non-zero, an error that occurred while processing the subscription request.
Offset: 8

- <a href="#event.type" name="event.type"></a> `type`: [`eventtype`](#eventtype)
The type of event that occured
The type of event that occurred

Offset: 10

Expand Down
2 changes: 1 addition & 1 deletion legacy/preview0/witx/typenames.witx
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
(field $userdata $userdata)
;;; If non-zero, an error that occurred while processing the subscription request.
(field $error $errno)
;;; The type of event that occured
;;; The type of event that occurred
(field $type $eventtype)
;;; The contents of the event, if it is an `eventtype::fd_read` or
;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field.
Expand Down
3 changes: 2 additions & 1 deletion legacy/preview1/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ <h3 id="struct-members">Struct members</h3>
</li>
<li>&lt;a href=&quot;#event.userdata&quot; name=&quot;event.userdata&quot;&gt;&lt;/a&gt; <code>userdata</code>: <a href="#userdata"><code>userdata</code></a><br>User-provided value that got attached to <a href="#subscription.userdata"><code>subscription::userdata</code></a>.<br>Offset: 0</li>
<li>&lt;a href=&quot;#event.error&quot; name=&quot;event.error&quot;&gt;&lt;/a&gt; <code>error</code>: <a href="#errno"><code>errno</code></a><br>If non-zero, an error that occurred while processing the subscription request.<br>Offset: 8</li>
<li>&lt;a href=&quot;#event.type&quot; name=&quot;event.type&quot;&gt;&lt;/a&gt; <code>type</code>: <a href="#eventtype"><code>eventtype</code></a><br>The type of event that occured<br>Offset: 10</li>
<li>&lt;a href=&quot;#event.type&quot;
name=&quot;event.type&quot;&gt;&lt;/a&gt; <code>type</code>: <a href="#eventtype"><code>eventtype</code></a><br>The type of event that occurred<br>Offset: 10</li>
<li>&lt;a href=&quot;#event.fd_readwrite&quot; name=&quot;event.fd_readwrite&quot;&gt;&lt;/a&gt; <code>fd_readwrite</code>: <a href="#event_fd_readwrite"><code>event_fd_readwrite</code></a><br>The contents of the event, if it is an <a href="#eventtype.fd_read"><code>eventtype::fd_read</code></a> or<br><a href="#eventtype.fd_write"><code>eventtype::fd_write</code></a>. <a href="#eventtype.clock"><code>eventtype::clock</code></a> events ignore this field.<br>Offset: 16<h2 id="a-href-subclockflags-name-subclockflags-a-subclockflags-flags-u16-">&lt;a href=&quot;#subclockflags&quot; name=&quot;subclockflags&quot;&gt;&lt;/a&gt; <code>subclockflags</code>: Flags(<code>u16</code>)</h2>
Flags determining how to interpret the timestamp provided in<br><a href="#subscription_clock.timeout"><code>subscription_clock::timeout</code></a>.<br>Size: 2<br>Alignment: 2<h3 id="flags">Flags</h3>
</li>
Expand Down
2 changes: 1 addition & 1 deletion legacy/preview1/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ If non-zero, an error that occurred while processing the subscription request.
Offset: 8

- <a href="#event.type" name="event.type"></a> `type`: [`eventtype`](#eventtype)
The type of event that occured
The type of event that occurred

Offset: 10

Expand Down
2 changes: 1 addition & 1 deletion legacy/preview1/witx/typenames.witx
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
(field $userdata $userdata)
;;; If non-zero, an error that occurred while processing the subscription request.
(field $error $errno)
;;; The type of event that occured
;;; The type of event that occurred
(field $type $eventtype)
;;; The contents of the event, if it is an `eventtype::fd_read` or
;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field.
Expand Down