unistd

package
v1.9.10 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	F_LOCK                             = 1
	F_OK                               = 0
	F_TEST                             = 3
	F_TLOCK                            = 2
	F_ULOCK                            = 0
	L_INCR                             = 1
	L_SET                              = 0
	L_XTND                             = 2
	R_OK                               = 4
	SEEK_CUR                           = 1
	SEEK_END                           = 2
	SEEK_SET                           = 0
	STDERR_FILENO                      = 2
	STDIN_FILENO                       = 0
	STDOUT_FILENO                      = 1
	W_OK                               = 2
	X_OK                               = 1
	X_ATFILE_SOURCE                    = 1
	X_BITS_POSIX_OPT_H                 = 1
	X_BITS_TYPESIZES_H                 = 1
	X_BITS_TYPES_H                     = 1
	X_BSD_SIZE_T_                      = 0
	X_BSD_SIZE_T_DEFINED_              = 0
	X_DEFAULT_SOURCE                   = 1
	X_FEATURES_H                       = 1
	X_FILE_OFFSET_BITS                 = 64
	X_GCC_SIZE_T                       = 0
	X_GETOPT_CORE_H                    = 1
	X_GETOPT_POSIX_H                   = 1
	X_LFS64_ASYNCHRONOUS_IO            = 1
	X_LFS64_LARGEFILE                  = 1
	X_LFS64_STDIO                      = 1
	X_LFS_ASYNCHRONOUS_IO              = 1
	X_LFS_LARGEFILE                    = 1
	X_LP64                             = 1
	X_POSIX2_CHAR_TERM                 = 200809
	X_POSIX2_C_BIND                    = 200809
	X_POSIX2_C_DEV                     = 200809
	X_POSIX2_C_VERSION                 = 200809
	X_POSIX2_LOCALEDEF                 = 200809
	X_POSIX2_SW_DEV                    = 200809
	X_POSIX2_VERSION                   = 200809
	X_POSIX_ADVISORY_INFO              = 200809
	X_POSIX_ASYNCHRONOUS_IO            = 200809
	X_POSIX_ASYNC_IO                   = 1
	X_POSIX_BARRIERS                   = 200809
	X_POSIX_CHOWN_RESTRICTED           = 0
	X_POSIX_CLOCK_SELECTION            = 200809
	X_POSIX_CPUTIME                    = 0
	X_POSIX_C_SOURCE                   = 200809
	X_POSIX_FSYNC                      = 200809
	X_POSIX_IPV6                       = 200809
	X_POSIX_JOB_CONTROL                = 1
	X_POSIX_MAPPED_FILES               = 200809
	X_POSIX_MEMLOCK                    = 200809
	X_POSIX_MEMLOCK_RANGE              = 200809
	X_POSIX_MEMORY_PROTECTION          = 200809
	X_POSIX_MESSAGE_PASSING            = 200809
	X_POSIX_MONOTONIC_CLOCK            = 0
	X_POSIX_NO_TRUNC                   = 1
	X_POSIX_PRIORITIZED_IO             = 200809
	X_POSIX_PRIORITY_SCHEDULING        = 200809
	X_POSIX_RAW_SOCKETS                = 200809
	X_POSIX_READER_WRITER_LOCKS        = 200809
	X_POSIX_REALTIME_SIGNALS           = 200809
	X_POSIX_REENTRANT_FUNCTIONS        = 1
	X_POSIX_REGEXP                     = 1
	X_POSIX_SAVED_IDS                  = 1
	X_POSIX_SEMAPHORES                 = 200809
	X_POSIX_SHARED_MEMORY_OBJECTS      = 200809
	X_POSIX_SHELL                      = 1
	X_POSIX_SOURCE                     = 1
	X_POSIX_SPAWN                      = 200809
	X_POSIX_SPIN_LOCKS                 = 200809
	X_POSIX_SPORADIC_SERVER            = -1
	X_POSIX_SYNCHRONIZED_IO            = 200809
	X_POSIX_THREADS                    = 200809
	X_POSIX_THREAD_ATTR_STACKADDR      = 200809
	X_POSIX_THREAD_ATTR_STACKSIZE      = 200809
	X_POSIX_THREAD_CPUTIME             = 0
	X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809
	X_POSIX_THREAD_PRIO_INHERIT        = 200809
	X_POSIX_THREAD_PRIO_PROTECT        = 200809
	X_POSIX_THREAD_PROCESS_SHARED      = 200809
	X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809
	X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1
	X_POSIX_THREAD_SAFE_FUNCTIONS      = 200809
	X_POSIX_THREAD_SPORADIC_SERVER     = -1
	X_POSIX_TIMEOUTS                   = 200809
	X_POSIX_TIMERS                     = 200809
	X_POSIX_TRACE                      = -1
	X_POSIX_TRACE_EVENT_FILTER         = -1
	X_POSIX_TRACE_INHERIT              = -1
	X_POSIX_TRACE_LOG                  = -1
	X_POSIX_TYPED_MEMORY_OBJECTS       = -1
	X_POSIX_V6_LP64_OFF64              = 1
	X_POSIX_V6_LPBIG_OFFBIG            = -1
	X_POSIX_V7_LP64_OFF64              = 1
	X_POSIX_V7_LPBIG_OFFBIG            = -1
	X_POSIX_VDISABLE                   = 0
	X_POSIX_VERSION                    = 200809
	X_SIZET_                           = 0
	X_SIZE_T                           = 0
	X_SIZE_T_                          = 0
	X_SIZE_T_DECLARED                  = 0
	X_SIZE_T_DEFINED                   = 0
	X_SIZE_T_DEFINED_                  = 0
	X_STDC_PREDEF_H                    = 1
	X_SYS_CDEFS_H                      = 1
	X_SYS_SIZE_T_H                     = 0
	X_T_SIZE                           = 0
	X_T_SIZE_                          = 0
	X_UNISTD_H                         = 1
	X_XBS5_LP64_OFF64                  = 1
	X_XBS5_LPBIG_OFFBIG                = -1
	X_XOPEN_ENH_I18N                   = 1
	X_XOPEN_LEGACY                     = 1
	X_XOPEN_REALTIME                   = 1
	X_XOPEN_REALTIME_THREADS           = 1
	X_XOPEN_SHM                        = 1
	X_XOPEN_UNIX                       = 1
	X_XOPEN_VERSION                    = 700
	X_XOPEN_XCU_VERSION                = 4
	X_XOPEN_XPG2                       = 1
	X_XOPEN_XPG3                       = 1
	X_XOPEN_XPG4                       = 1
	Linux                              = 1
	Unix                               = 1
)
View Source
const (
	X_PC_LINK_MAX           = 0
	X_PC_MAX_CANON          = 1
	X_PC_MAX_INPUT          = 2
	X_PC_NAME_MAX           = 3
	X_PC_PATH_MAX           = 4
	X_PC_PIPE_BUF           = 5
	X_PC_CHOWN_RESTRICTED   = 6
	X_PC_NO_TRUNC           = 7
	X_PC_VDISABLE           = 8
	X_PC_SYNC_IO            = 9
	X_PC_ASYNC_IO           = 10
	X_PC_PRIO_IO            = 11
	X_PC_SOCK_MAXBUF        = 12
	X_PC_FILESIZEBITS       = 13
	X_PC_REC_INCR_XFER_SIZE = 14
	X_PC_REC_MAX_XFER_SIZE  = 15
	X_PC_REC_MIN_XFER_SIZE  = 16
	X_PC_REC_XFER_ALIGN     = 17
	X_PC_ALLOC_SIZE_MIN     = 18
	X_PC_SYMLINK_MAX        = 19
	X_PC_2_SYMLINKS         = 20
)

Values for the NAME argument to `pathconf' and `fpathconf'.

View Source
const (
	X_CS_PATH = 0 // The default search path.

	X_CS_V6_WIDTH_RESTRICTED_ENVS = 1

	X_CS_GNU_LIBC_VERSION       = 2
	X_CS_GNU_LIBPTHREAD_VERSION = 3

	X_CS_V5_WIDTH_RESTRICTED_ENVS = 4

	X_CS_V7_WIDTH_RESTRICTED_ENVS = 5

	X_CS_LFS_CFLAGS      = 1000
	X_CS_LFS_LDFLAGS     = 1001
	X_CS_LFS_LIBS        = 1002
	X_CS_LFS_LINTFLAGS   = 1003
	X_CS_LFS64_CFLAGS    = 1004
	X_CS_LFS64_LDFLAGS   = 1005
	X_CS_LFS64_LIBS      = 1006
	X_CS_LFS64_LINTFLAGS = 1007

	X_CS_XBS5_ILP32_OFF32_CFLAGS     = 1100
	X_CS_XBS5_ILP32_OFF32_LDFLAGS    = 1101
	X_CS_XBS5_ILP32_OFF32_LIBS       = 1102
	X_CS_XBS5_ILP32_OFF32_LINTFLAGS  = 1103
	X_CS_XBS5_ILP32_OFFBIG_CFLAGS    = 1104
	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS   = 1105
	X_CS_XBS5_ILP32_OFFBIG_LIBS      = 1106
	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107
	X_CS_XBS5_LP64_OFF64_CFLAGS      = 1108
	X_CS_XBS5_LP64_OFF64_LDFLAGS     = 1109
	X_CS_XBS5_LP64_OFF64_LIBS        = 1110
	X_CS_XBS5_LP64_OFF64_LINTFLAGS   = 1111
	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS    = 1112
	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS   = 1113
	X_CS_XBS5_LPBIG_OFFBIG_LIBS      = 1114
	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115

	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS     = 1116
	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS    = 1117
	X_CS_POSIX_V6_ILP32_OFF32_LIBS       = 1118
	X_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS  = 1119
	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS    = 1120
	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS   = 1121
	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS      = 1122
	X_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123
	X_CS_POSIX_V6_LP64_OFF64_CFLAGS      = 1124
	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS     = 1125
	X_CS_POSIX_V6_LP64_OFF64_LIBS        = 1126
	X_CS_POSIX_V6_LP64_OFF64_LINTFLAGS   = 1127
	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS    = 1128
	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS   = 1129
	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS      = 1130
	X_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131

	X_CS_POSIX_V7_ILP32_OFF32_CFLAGS     = 1132
	X_CS_POSIX_V7_ILP32_OFF32_LDFLAGS    = 1133
	X_CS_POSIX_V7_ILP32_OFF32_LIBS       = 1134
	X_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS  = 1135
	X_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS    = 1136
	X_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS   = 1137
	X_CS_POSIX_V7_ILP32_OFFBIG_LIBS      = 1138
	X_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139
	X_CS_POSIX_V7_LP64_OFF64_CFLAGS      = 1140
	X_CS_POSIX_V7_LP64_OFF64_LDFLAGS     = 1141
	X_CS_POSIX_V7_LP64_OFF64_LIBS        = 1142
	X_CS_POSIX_V7_LP64_OFF64_LINTFLAGS   = 1143
	X_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS    = 1144
	X_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS   = 1145
	X_CS_POSIX_V7_LPBIG_OFFBIG_LIBS      = 1146
	X_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147

	X_CS_V6_ENV = 1148
	X_CS_V7_ENV = 1149
)

Values for the NAME argument to `confstr'.

View Source
const (
	X_SC_ARG_MAX               = 0
	X_SC_CHILD_MAX             = 1
	X_SC_CLK_TCK               = 2
	X_SC_NGROUPS_MAX           = 3
	X_SC_OPEN_MAX              = 4
	X_SC_STREAM_MAX            = 5
	X_SC_TZNAME_MAX            = 6
	X_SC_JOB_CONTROL           = 7
	X_SC_SAVED_IDS             = 8
	X_SC_REALTIME_SIGNALS      = 9
	X_SC_PRIORITY_SCHEDULING   = 10
	X_SC_TIMERS                = 11
	X_SC_ASYNCHRONOUS_IO       = 12
	X_SC_PRIORITIZED_IO        = 13
	X_SC_SYNCHRONIZED_IO       = 14
	X_SC_FSYNC                 = 15
	X_SC_MAPPED_FILES          = 16
	X_SC_MEMLOCK               = 17
	X_SC_MEMLOCK_RANGE         = 18
	X_SC_MEMORY_PROTECTION     = 19
	X_SC_MESSAGE_PASSING       = 20
	X_SC_SEMAPHORES            = 21
	X_SC_SHARED_MEMORY_OBJECTS = 22
	X_SC_AIO_LISTIO_MAX        = 23
	X_SC_AIO_MAX               = 24
	X_SC_AIO_PRIO_DELTA_MAX    = 25
	X_SC_DELAYTIMER_MAX        = 26
	X_SC_MQ_OPEN_MAX           = 27
	X_SC_MQ_PRIO_MAX           = 28
	X_SC_VERSION               = 29
	X_SC_PAGESIZE              = 30
	X_SC_RTSIG_MAX             = 31
	X_SC_SEM_NSEMS_MAX         = 32
	X_SC_SEM_VALUE_MAX         = 33
	X_SC_SIGQUEUE_MAX          = 34
	X_SC_TIMER_MAX             = 35

	// Values for the argument to `sysconf'
	//        corresponding to _POSIX2_* symbols.
	X_SC_BC_BASE_MAX        = 36
	X_SC_BC_DIM_MAX         = 37
	X_SC_BC_SCALE_MAX       = 38
	X_SC_BC_STRING_MAX      = 39
	X_SC_COLL_WEIGHTS_MAX   = 40
	X_SC_EQUIV_CLASS_MAX    = 41
	X_SC_EXPR_NEST_MAX      = 42
	X_SC_LINE_MAX           = 43
	X_SC_RE_DUP_MAX         = 44
	X_SC_CHARCLASS_NAME_MAX = 45

	X_SC_2_VERSION   = 46
	X_SC_2_C_BIND    = 47
	X_SC_2_C_DEV     = 48
	X_SC_2_FORT_DEV  = 49
	X_SC_2_FORT_RUN  = 50
	X_SC_2_SW_DEV    = 51
	X_SC_2_LOCALEDEF = 52

	X_SC_PII                 = 53
	X_SC_PII_XTI             = 54
	X_SC_PII_SOCKET          = 55
	X_SC_PII_INTERNET        = 56
	X_SC_PII_OSI             = 57
	X_SC_POLL                = 58
	X_SC_SELECT              = 59
	X_SC_UIO_MAXIOV          = 60
	X_SC_IOV_MAX             = 60
	X_SC_PII_INTERNET_STREAM = 61
	X_SC_PII_INTERNET_DGRAM  = 62
	X_SC_PII_OSI_COTS        = 63
	X_SC_PII_OSI_CLTS        = 64
	X_SC_PII_OSI_M           = 65
	X_SC_T_IOV_MAX           = 66

	// Values according to POSIX 1003.1c (POSIX threads).
	X_SC_THREADS                      = 67
	X_SC_THREAD_SAFE_FUNCTIONS        = 68
	X_SC_GETGR_R_SIZE_MAX             = 69
	X_SC_GETPW_R_SIZE_MAX             = 70
	X_SC_LOGIN_NAME_MAX               = 71
	X_SC_TTY_NAME_MAX                 = 72
	X_SC_THREAD_DESTRUCTOR_ITERATIONS = 73
	X_SC_THREAD_KEYS_MAX              = 74
	X_SC_THREAD_STACK_MIN             = 75
	X_SC_THREAD_THREADS_MAX           = 76
	X_SC_THREAD_ATTR_STACKADDR        = 77
	X_SC_THREAD_ATTR_STACKSIZE        = 78
	X_SC_THREAD_PRIORITY_SCHEDULING   = 79
	X_SC_THREAD_PRIO_INHERIT          = 80
	X_SC_THREAD_PRIO_PROTECT          = 81
	X_SC_THREAD_PROCESS_SHARED        = 82

	X_SC_NPROCESSORS_CONF = 83
	X_SC_NPROCESSORS_ONLN = 84
	X_SC_PHYS_PAGES       = 85
	X_SC_AVPHYS_PAGES     = 86
	X_SC_ATEXIT_MAX       = 87
	X_SC_PASS_MAX         = 88

	X_SC_XOPEN_VERSION     = 89
	X_SC_XOPEN_XCU_VERSION = 90
	X_SC_XOPEN_UNIX        = 91
	X_SC_XOPEN_CRYPT       = 92
	X_SC_XOPEN_ENH_I18N    = 93
	X_SC_XOPEN_SHM         = 94

	X_SC_2_CHAR_TERM = 95
	X_SC_2_C_VERSION = 96
	X_SC_2_UPE       = 97

	X_SC_XOPEN_XPG2 = 98
	X_SC_XOPEN_XPG3 = 99
	X_SC_XOPEN_XPG4 = 100

	X_SC_CHAR_BIT   = 101
	X_SC_CHAR_MAX   = 102
	X_SC_CHAR_MIN   = 103
	X_SC_INT_MAX    = 104
	X_SC_INT_MIN    = 105
	X_SC_LONG_BIT   = 106
	X_SC_WORD_BIT   = 107
	X_SC_MB_LEN_MAX = 108
	X_SC_NZERO      = 109
	X_SC_SSIZE_MAX  = 110
	X_SC_SCHAR_MAX  = 111
	X_SC_SCHAR_MIN  = 112
	X_SC_SHRT_MAX   = 113
	X_SC_SHRT_MIN   = 114
	X_SC_UCHAR_MAX  = 115
	X_SC_UINT_MAX   = 116
	X_SC_ULONG_MAX  = 117
	X_SC_USHRT_MAX  = 118

	X_SC_NL_ARGMAX  = 119
	X_SC_NL_LANGMAX = 120
	X_SC_NL_MSGMAX  = 121
	X_SC_NL_NMAX    = 122
	X_SC_NL_SETMAX  = 123
	X_SC_NL_TEXTMAX = 124

	X_SC_XBS5_ILP32_OFF32  = 125
	X_SC_XBS5_ILP32_OFFBIG = 126
	X_SC_XBS5_LP64_OFF64   = 127
	X_SC_XBS5_LPBIG_OFFBIG = 128

	X_SC_XOPEN_LEGACY           = 129
	X_SC_XOPEN_REALTIME         = 130
	X_SC_XOPEN_REALTIME_THREADS = 131

	X_SC_ADVISORY_INFO          = 132
	X_SC_BARRIERS               = 133
	X_SC_BASE                   = 134
	X_SC_C_LANG_SUPPORT         = 135
	X_SC_C_LANG_SUPPORT_R       = 136
	X_SC_CLOCK_SELECTION        = 137
	X_SC_CPUTIME                = 138
	X_SC_THREAD_CPUTIME         = 139
	X_SC_DEVICE_IO              = 140
	X_SC_DEVICE_SPECIFIC        = 141
	X_SC_DEVICE_SPECIFIC_R      = 142
	X_SC_FD_MGMT                = 143
	X_SC_FIFO                   = 144
	X_SC_PIPE                   = 145
	X_SC_FILE_ATTRIBUTES        = 146
	X_SC_FILE_LOCKING           = 147
	X_SC_FILE_SYSTEM            = 148
	X_SC_MONOTONIC_CLOCK        = 149
	X_SC_MULTI_PROCESS          = 150
	X_SC_SINGLE_PROCESS         = 151
	X_SC_NETWORKING             = 152
	X_SC_READER_WRITER_LOCKS    = 153
	X_SC_SPIN_LOCKS             = 154
	X_SC_REGEXP                 = 155
	X_SC_REGEX_VERSION          = 156
	X_SC_SHELL                  = 157
	X_SC_SIGNALS                = 158
	X_SC_SPAWN                  = 159
	X_SC_SPORADIC_SERVER        = 160
	X_SC_THREAD_SPORADIC_SERVER = 161
	X_SC_SYSTEM_DATABASE        = 162
	X_SC_SYSTEM_DATABASE_R      = 163
	X_SC_TIMEOUTS               = 164
	X_SC_TYPED_MEMORY_OBJECTS   = 165
	X_SC_USER_GROUPS            = 166
	X_SC_USER_GROUPS_R          = 167
	X_SC_2_PBS                  = 168
	X_SC_2_PBS_ACCOUNTING       = 169
	X_SC_2_PBS_LOCATE           = 170
	X_SC_2_PBS_MESSAGE          = 171
	X_SC_2_PBS_TRACK            = 172
	X_SC_SYMLOOP_MAX            = 173
	X_SC_STREAMS                = 174
	X_SC_2_PBS_CHECKPOINT       = 175

	X_SC_V6_ILP32_OFF32  = 176
	X_SC_V6_ILP32_OFFBIG = 177
	X_SC_V6_LP64_OFF64   = 178
	X_SC_V6_LPBIG_OFFBIG = 179

	X_SC_HOST_NAME_MAX      = 180
	X_SC_TRACE              = 181
	X_SC_TRACE_EVENT_FILTER = 182
	X_SC_TRACE_INHERIT      = 183
	X_SC_TRACE_LOG          = 184

	X_SC_LEVEL1_ICACHE_SIZE     = 185
	X_SC_LEVEL1_ICACHE_ASSOC    = 186
	X_SC_LEVEL1_ICACHE_LINESIZE = 187
	X_SC_LEVEL1_DCACHE_SIZE     = 188
	X_SC_LEVEL1_DCACHE_ASSOC    = 189
	X_SC_LEVEL1_DCACHE_LINESIZE = 190
	X_SC_LEVEL2_CACHE_SIZE      = 191
	X_SC_LEVEL2_CACHE_ASSOC     = 192
	X_SC_LEVEL2_CACHE_LINESIZE  = 193
	X_SC_LEVEL3_CACHE_SIZE      = 194
	X_SC_LEVEL3_CACHE_ASSOC     = 195
	X_SC_LEVEL3_CACHE_LINESIZE  = 196
	X_SC_LEVEL4_CACHE_SIZE      = 197
	X_SC_LEVEL4_CACHE_ASSOC     = 198
	X_SC_LEVEL4_CACHE_LINESIZE  = 199

	X_SC_IPV6        = 235
	X_SC_RAW_SOCKETS = 236

	X_SC_V7_ILP32_OFF32  = 237
	X_SC_V7_ILP32_OFFBIG = 238
	X_SC_V7_LP64_OFF64   = 239
	X_SC_V7_LPBIG_OFFBIG = 240

	X_SC_SS_REPL_MAX = 241

	X_SC_TRACE_EVENT_NAME_MAX = 242
	X_SC_TRACE_NAME_MAX       = 243
	X_SC_TRACE_SYS_MAX        = 244
	X_SC_TRACE_USER_EVENT_MAX = 245

	X_SC_XOPEN_STREAMS = 246

	X_SC_THREAD_ROBUST_PRIO_INHERIT = 247
	X_SC_THREAD_ROBUST_PRIO_PROTECT = 248
)

Values for the argument to `sysconf'.

Variables

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

Functions

This section is empty.

Types

type Gid_t

type Gid_t = X__gid_t /* unistd.h:232:17 */

The Single Unix specification says that some more types are

available here.

type Intptr_t

type Intptr_t = X__intptr_t /* unistd.h:267:20 */

type Off_t

type Off_t = X__off64_t /* unistd.h:245:19 */

type Pid_t

type Pid_t = X__pid_t /* unistd.h:260:17 */

type Ptrdiff_t

type Ptrdiff_t = int64 /* <builtin>:3:26 */

type Size_t

type Size_t = uint64 /* <builtin>:9:23 */

type Socklen_t

type Socklen_t = X__socklen_t /* unistd.h:274:21 */

type Ssize_t

type Ssize_t = X__ssize_t /* unistd.h:220:19 */

type Uid_t

type Uid_t = X__uid_t /* unistd.h:237:17 */

type Useconds_t

type Useconds_t = X__useconds_t /* unistd.h:255:22 */

type Wchar_t

type Wchar_t = int32 /* <builtin>:15:24 */

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__blksize_t

type X__blksize_t = int64 /* types.h:172:29 */

Type to represent block size.

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: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__dev_t

type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.

type X__float128

type X__float128 = float64 /* <builtin>:47: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__gid_t

type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.

type X__id_t

type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.

type X__ino64_t

type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).

type X__ino_t

type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.

type X__int128_t added in v1.3.0

type X__int128_t = struct {
	Flo int64
	Fhi int64

} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128

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__intmax_t

type X__intmax_t = int64 /* types.h:71:18 */

Largest integral types.

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__key_t

type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.

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__mode_t

type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
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__off_t

type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.

type X__pid_t

type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.

type X__quad_t

type X__quad_t = int64 /* types.h:62:18 */

quad_t is also 64 bits.

type X__rlim64_t

type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).

type X__rlim_t

type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.

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__time_t

type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.

type X__timer_t

type X__timer_t = uintptr /* types.h:169:12 */

Timer ID returned by `timer_create'.

type X__u_char

type X__u_char = uint8 /* types.h:30:23 */

Convenience types.

type X__u_int

type X__u_int = uint32 /* types.h:32:22 */

type X__u_long

type X__u_long = uint64 /* types.h:33:27 */

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__uid_t

type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.

type X__uint128_t added in v1.3.0

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64

} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128

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.

Jump to

Keyboard shortcuts

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