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__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__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 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 = 0010017 CBAUDEX = 0010000 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 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_TYPESIZES_H = 1 X_BITS_TYPES_H = 1 X_DEFAULT_SOURCE = 1 X_FEATURES_H = 1 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 X__blkcnt64_t ¶
type X__blkcnt64_t = int64 /* types.h:178:30 */
type X__blkcnt_t ¶
type X__blkcnt_t = int64 /* types.h:177:28 */
Type to count number of disk blocks.
type X__builtin_va_list ¶
type X__builtin_va_list = uintptr /* <builtin>:28:14 */
type X__caddr_t ¶
type X__caddr_t = uintptr /* types.h:201:14 */
type X__clock_t ¶
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__clockid_t ¶
type X__clockid_t = int32 /* types.h:166:29 */
Clock ID used in clock and timer functions.
type X__daddr_t ¶
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__float128 ¶
type X__float128 = float64 /* <builtin>:29:21 */
type X__fsblkcnt64_t ¶
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
type X__fsblkcnt_t ¶
type X__fsblkcnt_t = uint64 /* types.h:181:30 */
Type to count file system blocks.
type X__fsfilcnt64_t ¶
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
type X__fsfilcnt_t ¶
type X__fsfilcnt_t = uint64 /* types.h:185:30 */
Type to count file system nodes.
type X__fsid_t ¶
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__fsword_t ¶
type X__fsword_t = int64 /* types.h:189:28 */
Type of miscellaneous file system fields.
type X__ino64_t ¶
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__int16_t ¶
type X__int16_t = int16 /* types.h:38:26 */
type X__int32_t ¶
type X__int32_t = int32 /* types.h:40:20 */
type X__int64_t ¶
type X__int64_t = int64 /* types.h:43:25 */
type X__int8_t ¶
type X__int8_t = int8 /* types.h:36: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:53:19 */
type X__int_least32_t ¶
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__int_least64_t ¶
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__int_least8_t ¶
type X__int_least8_t = X__int8_t /* types.h:51:18 */
Smallest types with at least a given width.
type X__intptr_t ¶
type X__intptr_t = int64 /* types.h:204: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:200: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:149:27 */ // Type of file link counts.
type X__off64_t ¶
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__rlim64_t ¶
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__sig_atomic_t ¶
type X__sig_atomic_t = int32 /* types.h:212: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:207:23 */
Duplicate info from sys/socket.h.
type X__ssize_t ¶
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
type X__suseconds_t ¶
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
type X__syscall_slong_t ¶
type X__syscall_slong_t = int64 /* types.h:194:33 */
Signed long type used in system calls.
type X__syscall_ulong_t ¶
type X__syscall_ulong_t = uint64 /* types.h:196:33 */
Unsigned long type used in system calls.
type X__timer_t ¶
type X__timer_t = uintptr /* types.h:169:12 */
Timer ID returned by `timer_create'.
type X__u_quad_t ¶
type X__u_quad_t = uint64 /* types.h:63:27 */
type X__u_short ¶
type X__u_short = uint16 /* types.h:31:28 */
type X__uint16_t ¶
type X__uint16_t = uint16 /* types.h:39:28 */
type X__uint32_t ¶
type X__uint32_t = uint32 /* types.h:41:22 */
type X__uint64_t ¶
type X__uint64_t = uint64 /* types.h:44:27 */
type X__uint8_t ¶
type X__uint8_t = uint8 /* types.h:37:23 */
type X__uint_least16_t ¶
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__uint_least32_t ¶
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__uint_least64_t ¶
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__uint_least8_t ¶
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__uintmax_t ¶
type X__uintmax_t = uint64 /* types.h:72:27 */
type X__useconds_t ¶
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
Click to show internal directories.
Click to hide internal directories.