zlogzgo.at/zlog/internal/isatty Index | Files

package isatty

import "zgo.at/zlog/internal/isatty"

Package isatty implements interface to isatty

Index

Functions

func IsTerminal

func IsTerminal(fd uintptr) bool

IsTerminal return true if the file descriptor is terminal.

Source Files

doc.go isatty_linux.go

Version
v0.0.0-20221122093315-5bf8c3bea85e (latest)
Published
Nov 22, 2022
Platform
linux/amd64
Imports
2 packages
Last checked
2 days ago

Tools for package owners.