github.com/Konstantin8105/c4go@v0.0.0-20240505174241-768bb1c65a51/program/definition_variable.go (about)

     1  package program
     2  
     3  // DefinitionVariable is map of conversion from C var to C4go variable
     4  var DefinitionVariable = map[string]string{
     5  	// stdio.h
     6  	"stdin":  "github.com/Konstantin8105/c4go/noarch.Stdin",
     7  	"stdout": "github.com/Konstantin8105/c4go/noarch.Stdout",
     8  	"stderr": "github.com/Konstantin8105/c4go/noarch.Stderr",
     9  
    10  	// ctype.h
    11  	"_ISupper":  "github.com/Konstantin8105/c4go/noarch.ISupper",
    12  	"_ISlower":  "github.com/Konstantin8105/c4go/noarch.ISlower",
    13  	"_ISalpha":  "github.com/Konstantin8105/c4go/noarch.ISalpha",
    14  	"_ISdigit":  "github.com/Konstantin8105/c4go/noarch.ISdigit",
    15  	"_ISxdigit": "github.com/Konstantin8105/c4go/noarch.ISxdigit",
    16  	"_ISspace":  "github.com/Konstantin8105/c4go/noarch.ISspace",
    17  	"_ISprint":  "github.com/Konstantin8105/c4go/noarch.ISprint",
    18  	"_ISgraph":  "github.com/Konstantin8105/c4go/noarch.ISgraph",
    19  	"_ISblank":  "github.com/Konstantin8105/c4go/noarch.ISblank",
    20  	"_IScntrl":  "github.com/Konstantin8105/c4go/noarch.IScntrl",
    21  	"_ISpunct":  "github.com/Konstantin8105/c4go/noarch.ISpunct",
    22  	"_ISalnum":  "github.com/Konstantin8105/c4go/noarch.ISalnum",
    23  
    24  	// termios.h
    25  	"TCSANOW":   "github.com/pkg/term/termios.TCSANOW",
    26  	"TCSADRAIN": "github.com/pkg/term/termios.TCSADRAIN",
    27  	"TCSAFLUSH": "github.com/pkg/term/termios.TCSAFLUSH",
    28  	//
    29  	"TCIFLUSH":  "github.com/pkg/term/termios.TCIFLUSH",
    30  	"TCOFLUSH":  "github.com/pkg/term/termios.TCOFLUSH",
    31  	"TCIOFLUSH": "github.com/pkg/term/termios.TCIOFLUSH",
    32  	//
    33  	"TCSETS":  "github.com/pkg/term/termios.TCSETS",
    34  	"TCSETSW": "github.com/pkg/term/termios.TCSETSW",
    35  	"TCSETSF": "github.com/pkg/term/termios.TCSETSF",
    36  	"TCFLSH":  "github.com/pkg/term/termios.TCFLSH",
    37  	"TCSBRK":  "github.com/pkg/term/termios.TCSBRK",
    38  	"TCSBRKP": "github.com/pkg/term/termios.TCSBRKP",
    39  	//
    40  	"IXON":    "github.com/pkg/term/termios.IXON",
    41  	"IXANY":   "github.com/pkg/term/termios.IXANY",
    42  	"IXOFF":   "github.com/pkg/term/termios.IXOFF",
    43  	"CRTSCTS": "github.com/pkg/term/termios.CRTSCTS",
    44  
    45  	// sys/ioctl.h
    46  	"TIOCGWINSZ": "golang.org/x/sys/unix.TIOCGWINSZ",
    47  }