equal
deleted
inserted
replaced
|
1 // Copyright 2022 The Go Authors. All rights reserved. |
|
2 // Use of this source code is governed by a BSD-style |
|
3 // license that can be found in the LICENSE file. |
|
4 |
|
5 //go:build 386 && hurd |
|
6 // +build 386,hurd |
|
7 |
|
8 package unix |
|
9 |
|
10 const ( |
|
11 TIOCGETA = 0x62251713 |
|
12 ) |
|
13 |
|
14 type Winsize struct { |
|
15 Row uint16 |
|
16 Col uint16 |
|
17 Xpixel uint16 |
|
18 Ypixel uint16 |
|
19 } |
|
20 |
|
21 type Termios struct { |
|
22 Iflag uint32 |
|
23 Oflag uint32 |
|
24 Cflag uint32 |
|
25 Lflag uint32 |
|
26 Cc [20]uint8 |
|
27 Ispeed int32 |
|
28 Ospeed int32 |
|
29 } |