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
}