-
Notifications
You must be signed in to change notification settings - Fork 38
/
definition_variable.go
47 lines (43 loc) · 1.97 KB
/
definition_variable.go
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
40
41
42
43
44
45
46
47
package program
// DefinitionVariable is map of conversion from C var to C4go variable
var DefinitionVariable = map[string]string{
// stdio.h
"stdin": "github.com/Konstantin8105/c4go/noarch.Stdin",
"stdout": "github.com/Konstantin8105/c4go/noarch.Stdout",
"stderr": "github.com/Konstantin8105/c4go/noarch.Stderr",
// ctype.h
"_ISupper": "github.com/Konstantin8105/c4go/noarch.ISupper",
"_ISlower": "github.com/Konstantin8105/c4go/noarch.ISlower",
"_ISalpha": "github.com/Konstantin8105/c4go/noarch.ISalpha",
"_ISdigit": "github.com/Konstantin8105/c4go/noarch.ISdigit",
"_ISxdigit": "github.com/Konstantin8105/c4go/noarch.ISxdigit",
"_ISspace": "github.com/Konstantin8105/c4go/noarch.ISspace",
"_ISprint": "github.com/Konstantin8105/c4go/noarch.ISprint",
"_ISgraph": "github.com/Konstantin8105/c4go/noarch.ISgraph",
"_ISblank": "github.com/Konstantin8105/c4go/noarch.ISblank",
"_IScntrl": "github.com/Konstantin8105/c4go/noarch.IScntrl",
"_ISpunct": "github.com/Konstantin8105/c4go/noarch.ISpunct",
"_ISalnum": "github.com/Konstantin8105/c4go/noarch.ISalnum",
// termios.h
"TCSANOW": "github.com/pkg/term/termios.TCSANOW",
"TCSADRAIN": "github.com/pkg/term/termios.TCSADRAIN",
"TCSAFLUSH": "github.com/pkg/term/termios.TCSAFLUSH",
//
"TCIFLUSH": "github.com/pkg/term/termios.TCIFLUSH",
"TCOFLUSH": "github.com/pkg/term/termios.TCOFLUSH",
"TCIOFLUSH": "github.com/pkg/term/termios.TCIOFLUSH",
//
"TCSETS": "github.com/pkg/term/termios.TCSETS",
"TCSETSW": "github.com/pkg/term/termios.TCSETSW",
"TCSETSF": "github.com/pkg/term/termios.TCSETSF",
"TCFLSH": "github.com/pkg/term/termios.TCFLSH",
"TCSBRK": "github.com/pkg/term/termios.TCSBRK",
"TCSBRKP": "github.com/pkg/term/termios.TCSBRKP",
//
"IXON": "github.com/pkg/term/termios.IXON",
"IXANY": "github.com/pkg/term/termios.IXANY",
"IXOFF": "github.com/pkg/term/termios.IXOFF",
"CRTSCTS": "github.com/pkg/term/termios.CRTSCTS",
// sys/ioctl.h
"TIOCGWINSZ": "golang.org/x/sys/unix.TIOCGWINSZ",
}