Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t := syscall.Termios{
- Iflag: syscall.IGNPAR,
- }
- syscall.Syscall(
- syscall.SYS_IOCTL,
- uintptr(file.Fd()),
- uintptr(syscall.TCGETS),
- uintptr(unsafe.Pointer(&t)),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement