termios

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B0                             = 0000000
	B1000000                       = 0010010
	B110                           = 0000003
	B115200                        = 0010002
	B1152000                       = 0010011
	B1200                          = 0000011
	B134                           = 0000004
	B150                           = 0000005
	B1500000                       = 0010012
	B1800                          = 0000012
	B19200                         = 0000016
	B200                           = 0000006
	B2000000                       = 0010013
	B230400                        = 0010003
	B2400                          = 0000013
	B2500000                       = 0010014
	B300                           = 0000007
	B3000000                       = 0010015
	B3500000                       = 0010016
	B38400                         = 0000017
	B4000000                       = 0010017
	B460800                        = 0010004
	B4800                          = 0000014
	B50                            = 0000001
	B500000                        = 0010005
	B57600                         = 0010001
	B576000                        = 0010006
	B600                           = 0000010
	B75                            = 0000002
	B921600                        = 0010007
	B9600                          = 0000015
	BRKINT                         = 0000002
	BS0                            = 0000000
	BS1                            = 0020000
	BSDLY                          = 0020000
	CBAUD                          = 000000010017
	CBAUDEX                        = 000000010000
	CBRK                           = 0
	CDISCARD                       = 15
	CDSUSP                         = 25
	CEOF                           = 4
	CEOL                           = 0
	CEOT                           = 4
	CERASE                         = 0177
	CFLUSH                         = 15
	CIBAUD                         = 002003600000
	CINTR                          = 3
	CKILL                          = 21
	CLNEXT                         = 22
	CLOCAL                         = 0004000
	CMIN                           = 1
	CMSPAR                         = 010000000000
	CQUIT                          = 034
	CR0                            = 0000000
	CR1                            = 0001000
	CR2                            = 0002000
	CR3                            = 0003000
	CRDLY                          = 0003000
	CREAD                          = 0000200
	CREPRINT                       = 18
	CRPRNT                         = 18
	CRTSCTS                        = 020000000000
	CS5                            = 0000000
	CS6                            = 0000020
	CS7                            = 0000040
	CS8                            = 0000060
	CSIZE                          = 0000060
	CSTART                         = 17
	CSTATUS                        = 0
	CSTOP                          = 19
	CSTOPB                         = 0000100
	CSUSP                          = 26
	CTIME                          = 0
	CWERASE                        = 23
	ECHO                           = 0000010
	ECHOCTL                        = 0001000
	ECHOE                          = 0000020
	ECHOK                          = 0000040
	ECHOKE                         = 0004000
	ECHONL                         = 0000100
	ECHOPRT                        = 0002000
	EXTA                           = 14
	EXTB                           = 15
	EXTPROC                        = 0200000
	FF0                            = 0000000
	FF1                            = 0100000
	FFDLY                          = 0100000
	FLUSHO                         = 0010000
	HUPCL                          = 0002000
	ICANON                         = 0000002
	ICRNL                          = 0000400
	IEXTEN                         = 0100000
	IGNBRK                         = 0000001
	IGNCR                          = 0000200
	IGNPAR                         = 0000004
	IMAXBEL                        = 0020000
	INLCR                          = 0000100
	INPCK                          = 0000020
	ISIG                           = 0000001
	ISTRIP                         = 0000040
	IUCLC                          = 0001000
	IUTF8                          = 0040000
	IXANY                          = 0004000
	IXOFF                          = 0010000
	IXON                           = 0002000
	NCCS                           = 32
	NL0                            = 0000000
	NL1                            = 0000400
	NLDLY                          = 0000400
	NOFLSH                         = 0000200
	OCRNL                          = 0000010
	OFDEL                          = 0000200
	OFILL                          = 0000100
	OLCUC                          = 0000002
	ONLCR                          = 0000004
	ONLRET                         = 0000040
	ONOCR                          = 0000020
	OPOST                          = 0000001
	PARENB                         = 0000400
	PARMRK                         = 0000010
	PARODD                         = 0001000
	PENDIN                         = 0040000
	TAB0                           = 0000000
	TAB1                           = 0004000
	TAB2                           = 0010000
	TAB3                           = 0014000
	TABDLY                         = 0014000
	TCIFLUSH                       = 0
	TCIOFF                         = 2
	TCIOFLUSH                      = 2
	TCION                          = 3
	TCOFLUSH                       = 1
	TCOOFF                         = 0
	TCOON                          = 1
	TCSADRAIN                      = 1
	TCSAFLUSH                      = 2
	TCSANOW                        = 0
	TIOCSER_TEMT                   = 0x01
	TOSTOP                         = 0000400
	TTYDEF_CFLAG                   = 1440
	TTYDEF_IFLAG                   = 11554
	TTYDEF_LFLAG                   = 35355
	TTYDEF_OFLAG                   = 6149
	TTYDEF_SPEED                   = 13
	VDISCARD                       = 13
	VEOF                           = 4
	VEOL                           = 11
	VEOL2                          = 16
	VERASE                         = 2
	VINTR                          = 0
	VKILL                          = 3
	VLNEXT                         = 15
	VMIN                           = 6
	VQUIT                          = 1
	VREPRINT                       = 12
	VSTART                         = 8
	VSTOP                          = 9
	VSUSP                          = 10
	VSWTC                          = 7
	VT0                            = 0000000
	VT1                            = 0040000
	VTDLY                          = 0040000
	VTIME                          = 5
	VWERASE                        = 14
	XCASE                          = 0000004
	XTABS                          = 0014000
	X_ATFILE_SOURCE                = 1
	X_BITS_TIME64_H                = 1
	X_BITS_TYPESIZES_H             = 1
	X_BITS_TYPES_H                 = 1
	X_DEFAULT_SOURCE               = 1
	X_FEATURES_H                   = 1
	X_FILE_OFFSET_BITS             = 64
	X_HAVE_STRUCT_TERMIOS_C_ISPEED = 1
	X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1
	X_LP64                         = 1
	X_POSIX_C_SOURCE               = 200809
	X_POSIX_SOURCE                 = 1
	X_STDC_PREDEF_H                = 1
	X_SYS_CDEFS_H                  = 1
	X_SYS_TTYDEFAULTS_H_           = 0
	X_TERMIOS_H                    = 1
	Linux                          = 1
	Unix                           = 1
)

Variables

View Source
var CAPI = map[string]struct{}{}

Functions

This section is empty.

Types

type Cc_t

type Cc_t = uint8

type Pid_t

type Pid_t = X__pid_t

type Ptrdiff_t

type Ptrdiff_t = int64

type Size_t

type Size_t = uint64

type Speed_t

type Speed_t = uint32

type Tcflag_t

type Tcflag_t = uint32

type Termios

type Termios = struct {
	Fc_iflag     Tcflag_t
	Fc_oflag     Tcflag_t
	Fc_cflag     Tcflag_t
	Fc_lflag     Tcflag_t
	Fc_line      Cc_t
	Fc_cc        [32]Cc_t
	F__ccgo_pad1 [3]byte
	Fc_ispeed    Speed_t
	Fc_ospeed    Speed_t
}

type Wchar_t

type Wchar_t = int32

type X__blkcnt64_t

type X__blkcnt64_t = int64

type X__blkcnt_t

type X__blkcnt_t = int64

type X__blksize_t

type X__blksize_t = int64

type X__builtin_va_list

type X__builtin_va_list = uintptr

type X__caddr_t

type X__caddr_t = uintptr

type X__clock_t

type X__clock_t = int64

type X__clockid_t

type X__clockid_t = int32

type X__daddr_t

type X__daddr_t = int32

type X__dev_t

type X__dev_t = uint64

type X__float128

type X__float128 = float64

type X__fsblkcnt64_t

type X__fsblkcnt64_t = uint64

type X__fsblkcnt_t

type X__fsblkcnt_t = uint64

type X__fsfilcnt64_t

type X__fsfilcnt64_t = uint64

type X__fsfilcnt_t

type X__fsfilcnt_t = uint64

type X__fsid_t

type X__fsid_t = struct{ F__val [2]int32 }

type X__fsword_t

type X__fsword_t = int64

type X__gid_t

type X__gid_t = uint32

type X__id_t

type X__id_t = uint32

type X__ino64_t

type X__ino64_t = uint64

type X__ino_t

type X__ino_t = uint64

type X__int8_t

type X__int8_t = int8

type X__int16_t

type X__int16_t = int16

type X__int32_t

type X__int32_t = int32

type X__int64_t

type X__int64_t = int64

type X__int128_t

type X__int128_t = struct {
	Flo int64
	Fhi int64
}

type X__int_least8_t

type X__int_least8_t = X__int8_t

type X__int_least16_t

type X__int_least16_t = X__int16_t

type X__int_least32_t

type X__int_least32_t = X__int32_t

type X__int_least64_t

type X__int_least64_t = X__int64_t

type X__intmax_t

type X__intmax_t = int64

type X__intptr_t

type X__intptr_t = int64

type X__key_t

type X__key_t = int32

type X__loff_t

type X__loff_t = X__off64_t

type X__mode_t

type X__mode_t = uint32
type X__nlink_t = uint64

type X__off64_t

type X__off64_t = int64

type X__off_t

type X__off_t = int64

type X__pid_t

type X__pid_t = int32

type X__quad_t

type X__quad_t = int64

type X__rlim64_t

type X__rlim64_t = uint64

type X__rlim_t

type X__rlim_t = uint64

type X__sig_atomic_t

type X__sig_atomic_t = int32

type X__socklen_t

type X__socklen_t = uint32

type X__ssize_t

type X__ssize_t = int64

type X__suseconds_t

type X__suseconds_t = int64

type X__syscall_slong_t

type X__syscall_slong_t = int64

type X__syscall_ulong_t

type X__syscall_ulong_t = uint64

type X__time_t

type X__time_t = int64

type X__timer_t

type X__timer_t = uintptr

type X__u_char

type X__u_char = uint8

type X__u_int

type X__u_int = uint32

type X__u_long

type X__u_long = uint64

type X__u_quad_t

type X__u_quad_t = uint64

type X__u_short

type X__u_short = uint16

type X__uid_t

type X__uid_t = uint32

type X__uint8_t

type X__uint8_t = uint8

type X__uint16_t

type X__uint16_t = uint16

type X__uint32_t

type X__uint32_t = uint32

type X__uint64_t

type X__uint64_t = uint64

type X__uint128_t

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64
}

type X__uint_least8_t

type X__uint_least8_t = X__uint8_t

type X__uint_least16_t

type X__uint_least16_t = X__uint16_t

type X__uint_least32_t

type X__uint_least32_t = X__uint32_t

type X__uint_least64_t

type X__uint_least64_t = X__uint64_t

type X__uintmax_t

type X__uintmax_t = uint64

type X__useconds_t

type X__useconds_t = uint32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL