aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-13 07:08:07 +0900
committerOphestra <cat@gensokyo.uk>2025-11-13 07:14:16 +0900
commitabeb67964f52f245f7d529e4dfe01f8347932bfd (patch)
treeb2e00cedab6721261098dee789360571bdefa0cf /internal/outcome
parentbf5d10743f82ea438b1a05939f55d8b0027e98b9 (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.go2
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