R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/
54290043
#include <dirent.h>
#include <fcntl.h>
#include <signal.h>
+#include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/param.h>
type BpfTimeval C.struct_bpf_timeval
+// Terminal handling
+
+type Termios C.struct_termios
+
// Sysctl
type Sysctlnode C.struct_sysctlnode
Usec int32
}
+type Termios struct {
+ Iflag uint32
+ Oflag uint32
+ Cflag uint32
+ Lflag uint32
+ Cc [20]uint8
+ Ispeed int32
+ Ospeed int32
+}
+
type Sysctlnode struct {
Flags uint32
Num int32
Usec int64
}
+type Termios struct {
+ Iflag uint32
+ Oflag uint32
+ Cflag uint32
+ Lflag uint32
+ Cc [20]uint8
+ Ispeed int32
+ Ospeed int32
+}
+
type Sysctlnode struct {
Flags uint32
Num int32
Usec int32
}
+type Termios struct {
+ Iflag uint32
+ Oflag uint32
+ Cflag uint32
+ Lflag uint32
+ Cc [20]uint8
+ Ispeed int32
+ Ospeed int32
+}
+
type Sysctlnode struct {
Flags uint32
Num int32