1// +build !windows
2
3package pty
4
5import "syscall"
6
7func ioctl(fd, cmd, ptr uintptr) error {
8	_, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr)
9	if e != 0 {
10		return e
11	}
12	return nil
13}
14