Lines Matching full:unix
15 "golang.org/x/sys/unix"
29 var term unix.Termios
30 …_, _, errno := syscall.Syscall(unix.SYS_IOCTL, uintptr(fd), syscallTCGETS, uintptr(unsafe.Pointer(…
35 term.Cflag &^= unixCBAUD | unix.CSIZE | unix.PARENB | unix.CSTOPB | unixCRTSCTS
37 term.Cflag |= unix.B115200 | unix.CS8 | unix.CLOCAL | unix.CREAD
39 term.Iflag &^= unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR |
40 unix.IGNCR | unix.ICRNL | unix.IXON
41 term.Lflag &^= unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN
42 term.Oflag &^= unix.OPOST
43 term.Cc[unix.VMIN] = 0
44 term.Cc[unix.VTIME] = 10 // 1 second timeout
45 …_, _, errno = syscall.Syscall(unix.SYS_IOCTL, uintptr(fd), syscallTCSETS, uintptr(unsafe.Pointer(&…