The syscall -> unix rename broke a few things on illumos/solaris:
% go install -v ./...
github.com/pkg/term
# github.com/pkg/term
./term.go:71:2: not enough arguments to return
have (error)
want (int, error)
./term.go:71:24: not enough arguments in call to termios.Tiocinq
have (uintptr)
want (uintptr, *int)
./term.go:76:2: not enough arguments to return
have (error)
want (int, error)
./term.go:76:25: not enough arguments in call to termios.Tiocoutq
have (uintptr)
want (uintptr, *int)
./term_solaris.go:21:48: cannot convert a (type *attr) to type *syscall.Termios
./term_solaris.go:62:7: undefined: syscall.B500000
./term_solaris.go:64:7: undefined: syscall.B576000
./term_solaris.go:142:68: undefined: unix.StringBytePtr
The syscall -> unix rename broke a few things on illumos/solaris: