github.com/dolfly/pty@v1.2.1/pty_unsupported.go (about)

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