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