Debian Codegraph @

term/terminal_freebsd.go

raw
1 package term
2
3 import (
4 "syscall"
5 )
6
7 const ioctlReadTermios = syscall.TIOCGETA
8
9 // Termios functions describe a general terminal interface that is
10 // provided to control asynchronous communications ports.
11 // Go 1.2 doesn't include Termios for FreeBSD. This should be added in 1.3 and this could be merged with terminal_darwin.
12 type Termios struct {
13 Iflag uint32
14 Oflag uint32
15 Cflag uint32
16 Lflag uint32
17 Cc [20]uint8
18 Ispeed uint32
19 Ospeed uint32
20 }