summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go')
-rw-r--r--vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go b/vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go
deleted file mode 100644
index 25f7c5711..000000000
--- a/vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go
+++ /dev/null
@@ -1,20 +0,0 @@
-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.html
-type 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#eventrwflags
-const (
- // POLLIN is a read event.
- POLLIN Pflag = 1 << iota
-
- // POLLOUT is a write event.
- POLLOUT
-)