Sign in
fuchsia
/
third_party
/
github.com
/
creack
/
pty
/
8a22c94093561323bff9eb908ad993c38ee48aa3
/
.
/
ioctl.go
blob: c57c19e7e25b08e658d0c10de970f9bd6ae9fa96 [
file
] [
log
] [
blame
]
// +build !windows
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
}