github.com/tristanisham/sys@v0.0.0-20240326010300-a16cbabb7555/unix/syscall_hurd_386.go (about)

     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  
     7  package unix
     8  
     9  const (
    10  	TIOCGETA = 0x62251713
    11  )
    12  
    13  type Winsize struct {
    14  	Row    uint16
    15  	Col    uint16
    16  	Xpixel uint16
    17  	Ypixel uint16
    18  }
    19  
    20  type Termios struct {
    21  	Iflag  uint32
    22  	Oflag  uint32
    23  	Cflag  uint32
    24  	Lflag  uint32
    25  	Cc     [20]uint8
    26  	Ispeed int32
    27  	Ospeed int32
    28  }