package fdtest - os/exec/internal/fdtest - godocs.io

import "os/exec/internal/fdtest"

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

Functions

func Exists

func Exists(fd uintptr) bool

Exists returns true if fd is a valid file descriptor.

Details

Version: v1.22.4 (latest)

Platform: linux/amd64

Imports: 1 packages

Refresh now

Back to home

Search