Sign in
fuchsia
/
third_party
/
github.com
/
creack
/
pty
/
67e2db24c831afa6c64fc17b4a143390674365ef
/
.
/
ioctl.go
blob: 5b856e8711deac8e4d6f8b6bef7ed338b5513e76 [
file
] [
log
] [
blame
]
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
}