File: syscalls.go

package info (click to toggle)
golang-github-jesseduffield-termbox-go 0.0~git20180919.1e272ff-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 264 kB
  • sloc: python: 94; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// +build ignore

package termbox

/*
#include <termios.h>
#include <sys/ioctl.h>
*/
import "C"

type syscall_Termios C.struct_termios

const (
	syscall_IGNBRK = C.IGNBRK
	syscall_BRKINT = C.BRKINT
	syscall_PARMRK = C.PARMRK
	syscall_ISTRIP = C.ISTRIP
	syscall_INLCR  = C.INLCR
	syscall_IGNCR  = C.IGNCR
	syscall_ICRNL  = C.ICRNL
	syscall_IXON   = C.IXON
	syscall_OPOST  = C.OPOST
	syscall_ECHO   = C.ECHO
	syscall_ECHONL = C.ECHONL
	syscall_ICANON = C.ICANON
	syscall_ISIG   = C.ISIG
	syscall_IEXTEN = C.IEXTEN
	syscall_CSIZE  = C.CSIZE
	syscall_PARENB = C.PARENB
	syscall_CS8    = C.CS8
	syscall_VMIN   = C.VMIN
	syscall_VTIME  = C.VTIME

	// on darwin change these to (on *bsd too?):
	// C.TIOCGETA
	// C.TIOCSETA
	syscall_TCGETS = C.TCGETS
	syscall_TCSETS = C.TCSETS
)