Source File
poll.go
Belonging Package
github.com/tetratelabs/wazero/internal/fsapi
package fsapi// Pflag are bit flags used for File.Poll. Values, including zero, should not// be interpreted numerically. Instead, use by constants prefixed with 'POLL'.//// # Notes//// - This is like `pollfd.events` flags for `poll` in POSIX. See// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.htmltype Pflag uint32// Only define bitflags we support and are needed by `poll_oneoff` in wasip1// See https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#eventrwflagsconst (// POLLIN is a read event.POLLIN Pflag = 1 << iota// POLLOUT is a write event.POLLOUT)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |