Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
bed0abf9ca95f5633254735a656bbce591688cf3
/
.
/
vendor
/
github.com
/
creack
/
pty
/
ioctl.go
blob: c85cdcd14a01486005b308ed74f5149726a953e4 [
file
]
// +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
}