diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:08:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:14:16 +0900 |
| commit | abeb67964f52f245f7d529e4dfe01f8347932bfd (patch) | |
| tree | b2e00cedab6721261098dee789360571bdefa0cf /internal/outcome | |
| parent | bf5d10743f82ea438b1a05939f55d8b0027e98b9 (diff) | |
treewide: document linkname uses
These provide justification for each use of linkname. Poorly thought out uses of linkname are removed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome')
| -rw-r--r-- | internal/outcome/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/outcome/main.go b/internal/outcome/main.go index 1f02fafb..8bf666b2 100644 --- a/internal/outcome/main.go +++ b/internal/outcome/main.go @@ -12,6 +12,8 @@ import ( // IsPollDescriptor reports whether fd is the descriptor being used by the poller. // +// Made available here to determine and reject impossible fd. +// //go:linkname IsPollDescriptor internal/poll.IsPollDescriptor func IsPollDescriptor(fd uintptr) bool |
