pty_unsupported.go 273 B

123456789101112
  1. //go:build !linux && !darwin && !freebsd && !dragonfly && !netbsd && !openbsd && !solaris
  2. // +build !linux,!darwin,!freebsd,!dragonfly,!netbsd,!openbsd,!solaris
  3. package pty
  4. import (
  5. "os"
  6. )
  7. func open() (pty, tty *os.File, err error) {
  8. return nil, nil, ErrUnsupported
  9. }