...

Package fdtest

import "os/exec/internal/fdtest"
Overview
Index

Overview ▾

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

func Exists

func Exists(fd uintptr) bool

Exists returns true if fd is a valid file descriptor.