Codebase list golang-pty / 98c7b80
define public symbols without build constraints Keith Rarick 10 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
11 package pty
22
33 import (
4 "errors"
45 "os"
56 )
7
8 // ErrUnsupported is returned if a function is not
9 // available on the current platform.
10 var ErrUnsupported = errors.New("unsupported")
611
712 // Opens a pty and its corresponding tty.
813 func Open() (pty, tty *os.File, err error) {
22 package pty
33
44 import (
5 "errors"
65 "os"
7 )
8
9 var (
10 ErrUnsupported = errors.New("Unsupported")
116 )
127
138 func open() (pty, tty *os.File, err error) {