aboutsummaryrefslogtreecommitdiff
path: root/unix/syscall_hurd_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'unix/syscall_hurd_386.go')
-rw-r--r--unix/syscall_hurd_386.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/unix/syscall_hurd_386.go b/unix/syscall_hurd_386.go
new file mode 100644
index 0000000..7cf54a3
--- /dev/null
+++ b/unix/syscall_hurd_386.go
@@ -0,0 +1,29 @@
+// 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
+}