Sign in
fuchsia
/
third_party
/
github.com
/
creack
/
pty
/
a76ea1c68211b2a1c60c9238440bb067a6ef70f4
/
.
/
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
}