package fdtest

import "os/exec/internal/fdtest"

Package fdtest provides test helpers for working with file descriptors across exec.

Index

Functions

func Exists

func Exists(fd uintptr) bool

Exists returns true if fd is a valid file descriptor.

Source Files

exists_unix.go

Version
v1.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
29 minutes ago

Tools for package owners.