Documentation ¶
Index ¶
- Constants
- Variables
- type Cc_t
- type Pid_t
- type Ptrdiff_t
- type Size_t
- type Speed_t
- type Tcflag_t
- type Termios
- type Wchar_t
- type X__blkcnt64_t
- type X__blkcnt_t
- type X__blksize_t
- type X__builtin_va_list
- type X__caddr_t
- type X__clock_t
- type X__clockid_t
- type X__daddr_t
- type X__dev_t
- type X__float128
- type X__fsblkcnt64_t
- type X__fsblkcnt_t
- type X__fsfilcnt64_t
- type X__fsfilcnt_t
- type X__fsid_t
- type X__fsword_t
- type X__gid_t
- type X__id_t
- type X__ino64_t
- type X__ino_t
- type X__int128_t
- type X__int16_t
- type X__int32_t
- type X__int64_t
- type X__int8_t
- type X__int_least16_t
- type X__int_least32_t
- type X__int_least64_t
- type X__int_least8_t
- type X__intmax_t
- type X__intptr_t
- type X__key_t
- type X__loff_t
- type X__mode_t
- type X__nlink_t
- type X__off64_t
- type X__off_t
- type X__pid_t
- type X__quad_t
- type X__rlim64_t
- type X__rlim_t
- type X__sig_atomic_t
- type X__socklen_t
- type X__ssize_t
- type X__suseconds_t
- type X__syscall_slong_t
- type X__syscall_ulong_t
- type X__time_t
- type X__timer_t
- type X__u_char
- type X__u_int
- type X__u_long
- type X__u_quad_t
- type X__u_short
- type X__uid_t
- type X__uint128_t
- type X__uint16_t
- type X__uint32_t
- type X__uint64_t
- type X__uint8_t
- type X__uint_least16_t
- type X__uint_least32_t
- type X__uint_least64_t
- type X__uint_least8_t
- type X__uintmax_t
- type X__useconds_t
Constants ¶
View Source
const ( B0 = 0000000 // termios.h:33:1: B1000000 = 0010010 // termios-baud.h:40:1: B110 = 0000003 // termios.h:36:1: B115200 = 0010002 // termios-baud.h:34:1: B1152000 = 0010011 // termios-baud.h:41:1: B1200 = 0000011 // termios.h:42:1: B134 = 0000004 // termios.h:37:1: B150 = 0000005 // termios.h:38:1: B1500000 = 0010012 // termios-baud.h:42:1: B1800 = 0000012 // termios.h:43:1: B19200 = 0000016 // termios.h:47:1: B200 = 0000006 // termios.h:39:1: B2000000 = 0010013 // termios-baud.h:43:1: B230400 = 0010003 // termios-baud.h:35:1: B2400 = 0000013 // termios.h:44:1: B2500000 = 0010014 // termios-baud.h:44:1: B300 = 0000007 // termios.h:40:1: B3000000 = 0010015 // termios-baud.h:45:1: B3500000 = 0010016 // termios-baud.h:46:1: B38400 = 0000017 // termios.h:48:1: B4000000 = 0010017 // termios-baud.h:47:1: B460800 = 0010004 // termios-baud.h:36:1: B4800 = 0000014 // termios.h:45:1: B50 = 0000001 // termios.h:34:1: B500000 = 0010005 // termios-baud.h:37:1: B57600 = 0010001 // termios-baud.h:33:1: B576000 = 0010006 // termios-baud.h:38:1: B600 = 0000010 // termios.h:41:1: B75 = 0000002 // termios.h:35:1: B921600 = 0010007 // termios-baud.h:39:1: B9600 = 0000015 // termios.h:46:1: BRKINT = 0000002 // termios-c_iflag.h:25:1: BS0 = 0000000 // termios-c_oflag.h:48:1: BS1 = 0020000 // termios-c_oflag.h:49:1: BSDLY = 0020000 // termios-c_oflag.h:47:1: CBAUD = 000000010017 // termios-baud.h:24:1: CBAUDEX = 000000010000 // termios-baud.h:25:1: CBRK = 0 // ttydefaults.h:83:1: CDISCARD = 15 // ttydefaults.h:78:1: CDSUSP = 25 // ttydefaults.h:74:1: CEOF = 4 // ttydefaults.h:56:1: CEOL = 0 // ttydefaults.h:60:1: CEOT = 4 // ttydefaults.h:81:1: CERASE = 0177 // ttydefaults.h:62:1: CFLUSH = 15 // ttydefaults.h:85:1: CIBAUD = 002003600000 // termios-baud.h:27:1: CINTR = 3 // ttydefaults.h:63:1: CKILL = 21 // ttydefaults.h:69:1: CLNEXT = 22 // ttydefaults.h:77:1: CLOCAL = 0004000 // termios-c_cflag.h:34:1: CMIN = 1 // ttydefaults.h:70:1: CMSPAR = 010000000000 // termios-baud.h:28:1: CQUIT = 034 // ttydefaults.h:71:1: CR0 = 0000000 // termios-c_oflag.h:38:1: CR1 = 0001000 // termios-c_oflag.h:39:1: CR2 = 0002000 // termios-c_oflag.h:40:1: CR3 = 0003000 // termios-c_oflag.h:41:1: CRDLY = 0003000 // termios-c_oflag.h:37:1: CREAD = 0000200 // termios-c_cflag.h:30:1: CREPRINT = 18 // ttydefaults.h:80:1: CRPRNT = 18 // ttydefaults.h:84:1: CRTSCTS = 020000000000 // termios-baud.h:29:1: CS5 = 0000000 // termios-c_cflag.h:25:1: CS6 = 0000020 // termios-c_cflag.h:26:1: CS7 = 0000040 // termios-c_cflag.h:27:1: CS8 = 0000060 // termios-c_cflag.h:28:1: CSIZE = 0000060 // termios-c_cflag.h:24:1: CSTART = 17 // ttydefaults.h:75:1: CSTATUS = 0 // ttydefaults.h:67:1: CSTOP = 19 // ttydefaults.h:76:1: CSTOPB = 0000100 // termios-c_cflag.h:29:1: CSUSP = 26 // ttydefaults.h:72:1: CTIME = 0 // ttydefaults.h:73:1: CWERASE = 23 // ttydefaults.h:79:1: ECHO = 0000010 // termios-c_lflag.h:29:1: ECHOCTL = 0001000 // termios-c_lflag.h:37:1: ECHOE = 0000020 // termios-c_lflag.h:30:1: ECHOK = 0000040 // termios-c_lflag.h:32:1: ECHOKE = 0004000 // termios-c_lflag.h:45:1: ECHONL = 0000100 // termios-c_lflag.h:33:1: ECHOPRT = 0002000 // termios-c_lflag.h:42:1: EXTA = 14 // termios.h:50:1: EXTB = 15 // termios.h:51:1: EXTPROC = 0200000 // termios-c_lflag.h:57:1: FF0 = 0000000 // termios-c_oflag.h:51:1: FF1 = 0100000 // termios-c_oflag.h:52:1: FFDLY = 0100000 // termios-c_oflag.h:50:1: FLUSHO = 0010000 // termios-c_lflag.h:48:1: HUPCL = 0002000 // termios-c_cflag.h:33:1: ICANON = 0000002 // termios-c_lflag.h:25:1: ICRNL = 0000400 // termios-c_iflag.h:32:1: IEXTEN = 0100000 // termios-c_lflag.h:54:1: IGNBRK = 0000001 // termios-c_iflag.h:24:1: IGNCR = 0000200 // termios-c_iflag.h:31:1: IGNPAR = 0000004 // termios-c_iflag.h:26:1: IMAXBEL = 0020000 // termios-c_iflag.h:38:1: INLCR = 0000100 // termios-c_iflag.h:30:1: INPCK = 0000020 // termios-c_iflag.h:28:1: ISIG = 0000001 // termios-c_lflag.h:24:1: ISTRIP = 0000040 // termios-c_iflag.h:29:1: IUCLC = 0001000 // termios-c_iflag.h:33:1: IUTF8 = 0040000 // termios-c_iflag.h:40:1: IXANY = 0004000 // termios-c_iflag.h:36:1: IXOFF = 0010000 // termios-c_iflag.h:37:1: IXON = 0002000 // termios-c_iflag.h:35:1: NCCS = 32 // termios-struct.h:23:1: NL0 = 0000000 // termios-c_oflag.h:35:1: NL1 = 0000400 // termios-c_oflag.h:36:1: NLDLY = 0000400 // termios-c_oflag.h:34:1: NOFLSH = 0000200 // termios-c_lflag.h:34:1: OCRNL = 0000010 // termios-c_oflag.h:28:1: OFDEL = 0000200 // termios-c_oflag.h:32:1: OFILL = 0000100 // termios-c_oflag.h:31:1: OLCUC = 0000002 // termios-c_oflag.h:25:1: ONLCR = 0000004 // termios-c_oflag.h:27:1: ONLRET = 0000040 // termios-c_oflag.h:30:1: ONOCR = 0000020 // termios-c_oflag.h:29:1: OPOST = 0000001 // termios-c_oflag.h:24:1: PARENB = 0000400 // termios-c_cflag.h:31:1: PARMRK = 0000010 // termios-c_iflag.h:27:1: PARODD = 0001000 // termios-c_cflag.h:32:1: PENDIN = 0040000 // termios-c_lflag.h:50:1: TAB0 = 0000000 // termios-c_oflag.h:43:1: TAB1 = 0004000 // termios-c_oflag.h:44:1: TAB2 = 0010000 // termios-c_oflag.h:45:1: TAB3 = 0014000 // termios-c_oflag.h:46:1: TABDLY = 0014000 // termios-c_oflag.h:42:1: TCIFLUSH = 0 // termios.h:70:1: TCIOFF = 2 // termios.h:66:1: TCIOFLUSH = 2 // termios.h:72:1: TCION = 3 // termios.h:67:1: TCOFLUSH = 1 // termios.h:71:1: TCOOFF = 0 // termios.h:64:1: TCOON = 1 // termios.h:65:1: TCSADRAIN = 1 // termios-tcflow.h:25:1: TCSAFLUSH = 2 // termios-tcflow.h:26:1: TCSANOW = 0 // termios-tcflow.h:24:1: TIOCSER_TEMT = 0x01 // termios.h:60:1: TOSTOP = 0000400 // termios-c_lflag.h:35:1: TTYDEF_CFLAG = 1440 // ttydefaults.h:49:1: TTYDEF_IFLAG = 11554 // ttydefaults.h:46:1: TTYDEF_LFLAG = 35355 // ttydefaults.h:48:1: TTYDEF_OFLAG = 6149 // ttydefaults.h:47:1: TTYDEF_SPEED = 13 // ttydefaults.h:50:1: VDISCARD = 13 // termios-c_cc.h:37:1: VEOF = 4 // termios-c_cc.h:28:1: VEOL = 11 // termios-c_cc.h:35:1: VEOL2 = 16 // termios-c_cc.h:40:1: VERASE = 2 // termios-c_cc.h:26:1: VINTR = 0 // termios-c_cc.h:24:1: VKILL = 3 // termios-c_cc.h:27:1: VLNEXT = 15 // termios-c_cc.h:39:1: VMIN = 6 // termios-c_cc.h:30:1: VQUIT = 1 // termios-c_cc.h:25:1: VREPRINT = 12 // termios-c_cc.h:36:1: VSTART = 8 // termios-c_cc.h:32:1: VSTOP = 9 // termios-c_cc.h:33:1: VSUSP = 10 // termios-c_cc.h:34:1: VSWTC = 7 // termios-c_cc.h:31:1: VT0 = 0000000 // termios-c_oflag.h:56:1: VT1 = 0040000 // termios-c_oflag.h:57:1: VTDLY = 0040000 // termios-c_oflag.h:55:1: VTIME = 5 // termios-c_cc.h:29:1: VWERASE = 14 // termios-c_cc.h:38:1: XCASE = 0000004 // termios-c_lflag.h:27:1: XTABS = 0014000 // termios-c_oflag.h:60:1: X_ATFILE_SOURCE = 1 // features.h:342:1: X_BITS_TIME64_H = 1 // time64.h:24:1: X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: X_BITS_TYPES_H = 1 // types.h:24:1: X_DEFAULT_SOURCE = 1 // features.h:227:1: X_FEATURES_H = 1 // features.h:19:1: X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: X_HAVE_STRUCT_TERMIOS_C_ISPEED = 1 // termios-struct.h:34:1: X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1 // termios-struct.h:35:1: X_LP64 = 1 // <predefined>:284:1: X_POSIX_C_SOURCE = 200809 // features.h:281:1: X_POSIX_SOURCE = 1 // features.h:279:1: X_STDC_PREDEF_H = 1 // <predefined>:162:1: X_SYS_CDEFS_H = 1 // cdefs.h:19:1: X_SYS_TTYDEFAULTS_H_ = 0 // ttydefaults.h:41:1: X_TERMIOS_H = 1 // termios.h:23:1: Linux = 1 // <predefined>:231:1: Unix = 1 // <predefined>:177:1: )
Variables ¶
View Source
var CAPI = map[string]struct{}{}
Functions ¶
This section is empty.
Types ¶
type X__blkcnt64_t ¶
type X__blkcnt64_t = int64 /* types.h:180:30 */
type X__blkcnt_t ¶
type X__blkcnt_t = int64 /* types.h:179:28 */
Type to count number of disk blocks.
type X__builtin_va_list ¶
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__caddr_t ¶
type X__caddr_t = uintptr /* types.h:203:14 */
type X__clock_t ¶
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__clockid_t ¶
type X__clockid_t = int32 /* types.h:168:29 */
Clock ID used in clock and timer functions.
type X__daddr_t ¶
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__float128 ¶
type X__float128 = float64 /* <builtin>:47:21 */
type X__fsblkcnt64_t ¶
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
type X__fsblkcnt_t ¶
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
Type to count file system blocks.
type X__fsfilcnt64_t ¶
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
type X__fsfilcnt_t ¶
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
Type to count file system nodes.
type X__fsid_t ¶
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__fsword_t ¶
type X__fsword_t = int64 /* types.h:191:28 */
Type of miscellaneous file system fields.
type X__ino64_t ¶
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__int128_t ¶
type X__int16_t ¶
type X__int16_t = int16 /* types.h:39:26 */
type X__int32_t ¶
type X__int32_t = int32 /* types.h:41:20 */
type X__int64_t ¶
type X__int64_t = int64 /* types.h:44:25 */
type X__int8_t ¶
type X__int8_t = int8 /* types.h:37:21 */
Fixed-size types, underlying types depend on word size and compiler.
type X__int_least16_t ¶
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__int_least32_t ¶
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__int_least64_t ¶
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__int_least8_t ¶
type X__int_least8_t = X__int8_t /* types.h:52:18 */
Smallest types with at least a given width.
type X__intptr_t ¶
type X__intptr_t = int64 /* types.h:206:25 */
Duplicates info from stdint.h but this is used in unistd.h.
type X__loff_t ¶
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
These few don't really vary by system, they always correspond
to one of the other defined types.
type X__nlink_t ¶
type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
type X__off64_t ¶
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__rlim64_t ¶
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__sig_atomic_t ¶
type X__sig_atomic_t = int32 /* types.h:214:13 */
C99: An integer type that can be accessed as an atomic entity,
even in the presence of asynchronous interrupts. It is not currently necessary for this to be machine-specific.
type X__socklen_t ¶
type X__socklen_t = uint32 /* types.h:209:23 */
Duplicate info from sys/socket.h.
type X__ssize_t ¶
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
type X__suseconds_t ¶
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__syscall_slong_t ¶
type X__syscall_slong_t = int64 /* types.h:196:33 */
Signed long type used in system calls.
type X__syscall_ulong_t ¶
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
Unsigned long type used in system calls.
type X__timer_t ¶
type X__timer_t = uintptr /* types.h:171:12 */
Timer ID returned by `timer_create'.
type X__u_quad_t ¶
type X__u_quad_t = uint64 /* types.h:64:27 */
type X__u_short ¶
type X__u_short = uint16 /* types.h:32:28 */
type X__uint128_t ¶
type X__uint16_t ¶
type X__uint16_t = uint16 /* types.h:40:28 */
type X__uint32_t ¶
type X__uint32_t = uint32 /* types.h:42:22 */
type X__uint64_t ¶
type X__uint64_t = uint64 /* types.h:45:27 */
type X__uint8_t ¶
type X__uint8_t = uint8 /* types.h:38:23 */
type X__uint_least16_t ¶
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__uint_least32_t ¶
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__uint_least64_t ¶
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
type X__uint_least8_t ¶
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__uintmax_t ¶
type X__uintmax_t = uint64 /* types.h:73:27 */
type X__useconds_t ¶
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
Click to show internal directories.
Click to hide internal directories.