You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
466 B

  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. //go:build 386 && hurd
  5. // +build 386,hurd
  6. package unix
  7. const (
  8. TIOCGETA = 0x62251713
  9. )
  10. type Winsize struct {
  11. Row uint16
  12. Col uint16
  13. Xpixel uint16
  14. Ypixel uint16
  15. }
  16. type Termios struct {
  17. Iflag uint32
  18. Oflag uint32
  19. Cflag uint32
  20. Lflag uint32
  21. Cc [20]uint8
  22. Ispeed int32
  23. Ospeed int32
  24. }