summaryrefslogtreecommitdiffstats
path: root/src/internal/testpty/pty_none.go
blob: 4f9e2b7c1704c0bfb0f199ba07703e9510f0b72a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !(cgo && (aix || dragonfly || freebsd || (linux && !android) || netbsd || openbsd)) && !darwin

package testpty

import "os"

func open() (pty *os.File, processTTY string, err error) {
	return nil, "", ErrNotSupported
}