mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
As suggested by Dmitri. Change-Id: Ia42331fc7e7baa22a392e0b3a23485da61d12428 Reviewed-on: https://go-review.googlesource.com/c/sys/+/460155 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
30 lines
466 B
Go
30 lines
466 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
|
|
}
|