зеркало из https://github.com/golang/sys.git
30 строки
488 B
Go
30 строки
488 B
Go
|
// Copyright 2022 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
//go:build 386 && hurd
|
||
|
// +build 386,hurd
|
||
|
|
||
|
package unix
|
||
|
|
||
|
const (
|
||
|
TIOCGETA = 0x62251713
|
||
|
)
|
||
|
|
||
|
type Winsize struct {
|
||
|
Row uint16
|
||
|
Col uint16
|
||
|
Xpixel uint16
|
||
|
Ypixel uint16
|
||
|
}
|
||
|
|
||
|
type Termios struct {
|
||
|
Iflag uint32
|
||
|
Oflag uint32
|
||
|
Cflag uint32
|
||
|
Lflag uint32
|
||
|
Cc [20]uint8
|
||
|
Ispeed int32
|
||
|
Ospeed int32
|
||
|
}
|