Sign in
fuchsia
/
third_party
/
github.com
/
creack
/
pty
/
d8c5af0daf34a08086db186952be27a22b2c2f33
/
.
/
ioctl.go
blob: c85cdcd14a01486005b308ed74f5149726a953e4 [
file
] [
log
] [
blame
]
// +build !windows,!solaris
package pty
import "syscall"
func ioctl(fd, cmd, ptr uintptr) error {
_, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr)
if e != 0 {
return e
}
return nil
}