DockerCLI/vendor/github.com/creack/pty/ioctl_legacy.go

11 lines
216 B
Go
Raw Normal View History

//go:build !windows && !go1.12
// +build !windows,!go1.12
package pty
import "os"
func ioctl(f *os.File, cmd, ptr uintptr) error {
return ioctlInner(f.Fd(), cmd, ptr) // fall back to blocking io (old behavior)
}