summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-03-10 01:59:49 +0100
commit3ac1ee16f377d31a0fb80c8dae28b6239ac4229e (patch)
treef61faa581feaaeaba2542b9f2b8234a590684413 /vendor/github.com/tetratelabs/wazero/internal/fsapi/poll.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-3ac1ee16f377d31a0fb80c8dae28b6239ac4229e.tar.xz
[chore] remove vendor
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
-)