unistd

package
v1.11.38 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ACCESSX_MAX_DESCRIPTORS                = 100
	ACCESSX_MAX_TABLESIZE                  = 16384
	FD_SETSIZE                             = 1024
	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_DATA                              = 4
	SEEK_END                               = 2
	SEEK_HOLE                              = 3
	SEEK_SET                               = 0
	STDERR_FILENO                          = 2
	STDIN_FILENO                           = 0
	STDOUT_FILENO                          = 1
	SYNC_VOLUME_FULLSYNC                   = 0x01
	SYNC_VOLUME_WAIT                       = 0x02
	W_OK                                   = 2
	X_OK                                   = 1
	X_ACCESS_EXTENDED_MASK                 = 4193792
	X_APPEND_OK                            = 8192
	X_BSD_I386__TYPES_H_                   = 0
	X_BSD_MACHINE_TYPES_H_                 = 0
	X_BSD_MACHINE__TYPES_H_                = 0
	X_CDEFS_H_                             = 0
	X_CHOWN_OK                             = 2097152
	X_CS_DARWIN_USER_CACHE_DIR             = 65538
	X_CS_DARWIN_USER_DIR                   = 65536
	X_CS_DARWIN_USER_TEMP_DIR              = 65537
	X_CS_PATH                              = 1
	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS       = 2
	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS      = 3
	X_CS_POSIX_V6_ILP32_OFF32_LIBS         = 4
	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS      = 5
	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS     = 6
	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS        = 7
	X_CS_POSIX_V6_LP64_OFF64_CFLAGS        = 8
	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS       = 9
	X_CS_POSIX_V6_LP64_OFF64_LIBS          = 10
	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS      = 11
	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS     = 12
	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS        = 13
	X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS    = 14
	X_CS_XBS5_ILP32_OFF32_CFLAGS           = 20
	X_CS_XBS5_ILP32_OFF32_LDFLAGS          = 21
	X_CS_XBS5_ILP32_OFF32_LIBS             = 22
	X_CS_XBS5_ILP32_OFF32_LINTFLAGS        = 23
	X_CS_XBS5_ILP32_OFFBIG_CFLAGS          = 24
	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS         = 25
	X_CS_XBS5_ILP32_OFFBIG_LIBS            = 26
	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS       = 27
	X_CS_XBS5_LP64_OFF64_CFLAGS            = 28
	X_CS_XBS5_LP64_OFF64_LDFLAGS           = 29
	X_CS_XBS5_LP64_OFF64_LIBS              = 30
	X_CS_XBS5_LP64_OFF64_LINTFLAGS         = 31
	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS          = 32
	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS         = 33
	X_CS_XBS5_LPBIG_OFFBIG_LIBS            = 34
	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS       = 35
	X_CTERMID_H_                           = 0
	X_DARWIN_FEATURE_64_BIT_INODE          = 1
	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3
	X_DELETE_OK                            = 4096
	X_DEV_T                                = 0
	X_EXECUTE_OK                           = 2048
	X_FD_SET                               = 0
	X_FILE_OFFSET_BITS                     = 64
	X_FORTIFY_SOURCE                       = 2
	X_GID_T                                = 0
	X_INT16_T                              = 0
	X_INT32_T                              = 0
	X_INT64_T                              = 0
	X_INT8_T                               = 0
	X_INTPTR_T                             = 0
	X_LP64                                 = 1
	X_MACHTYPES_H_                         = 0
	X_MODE_T                               = 0
	X_Nonnull                              = 0
	X_Null_unspecified                     = 0
	X_Nullable                             = 0
	X_OFF_T                                = 0
	X_PC_2_SYMLINKS                        = 15
	X_PC_ALLOC_SIZE_MIN                    = 16
	X_PC_ASYNC_IO                          = 17
	X_PC_AUTH_OPAQUE_NP                    = 14
	X_PC_CASE_PRESERVING                   = 12
	X_PC_CASE_SENSITIVE                    = 11
	X_PC_CHOWN_RESTRICTED                  = 7
	X_PC_EXTENDED_SECURITY_NP              = 13
	X_PC_FILESIZEBITS                      = 18
	X_PC_LINK_MAX                          = 1
	X_PC_MAX_CANON                         = 2
	X_PC_MAX_INPUT                         = 3
	X_PC_MIN_HOLE_SIZE                     = 27
	X_PC_NAME_CHARS_MAX                    = 10
	X_PC_NAME_MAX                          = 4
	X_PC_NO_TRUNC                          = 8
	X_PC_PATH_MAX                          = 5
	X_PC_PIPE_BUF                          = 6
	X_PC_PRIO_IO                           = 19
	X_PC_REC_INCR_XFER_SIZE                = 20
	X_PC_REC_MAX_XFER_SIZE                 = 21
	X_PC_REC_MIN_XFER_SIZE                 = 22
	X_PC_REC_XFER_ALIGN                    = 23
	X_PC_SYMLINK_MAX                       = 24
	X_PC_SYNC_IO                           = 25
	X_PC_VDISABLE                          = 9
	X_PC_XATTR_SIZE_BITS                   = 26
	X_PID_T                                = 0
	X_POSIX2_CHAR_TERM                     = 200112
	X_POSIX2_C_BIND                        = 200112
	X_POSIX2_C_DEV                         = 200112
	X_POSIX2_FORT_DEV                      = -1
	X_POSIX2_FORT_RUN                      = 200112
	X_POSIX2_LOCALEDEF                     = 200112
	X_POSIX2_PBS                           = -1
	X_POSIX2_PBS_ACCOUNTING                = -1
	X_POSIX2_PBS_CHECKPOINT                = -1
	X_POSIX2_PBS_LOCATE                    = -1
	X_POSIX2_PBS_MESSAGE                   = -1
	X_POSIX2_PBS_TRACK                     = -1
	X_POSIX2_SW_DEV                        = 200112
	X_POSIX2_UPE                           = 200112
	X_POSIX2_VERSION                       = 200112
	X_POSIX_ADVISORY_INFO                  = -1
	X_POSIX_ASYNCHRONOUS_IO                = -1
	X_POSIX_BARRIERS                       = -1
	X_POSIX_CHOWN_RESTRICTED               = 200112
	X_POSIX_CLOCK_SELECTION                = -1
	X_POSIX_CPUTIME                        = -1
	X_POSIX_FSYNC                          = 200112
	X_POSIX_IPV6                           = 200112
	X_POSIX_JOB_CONTROL                    = 200112
	X_POSIX_MAPPED_FILES                   = 200112
	X_POSIX_MEMLOCK                        = -1
	X_POSIX_MEMLOCK_RANGE                  = -1
	X_POSIX_MEMORY_PROTECTION              = 200112
	X_POSIX_MESSAGE_PASSING                = -1
	X_POSIX_MONOTONIC_CLOCK                = -1
	X_POSIX_NO_TRUNC                       = 200112
	X_POSIX_PRIORITIZED_IO                 = -1
	X_POSIX_PRIORITY_SCHEDULING            = -1
	X_POSIX_RAW_SOCKETS                    = -1
	X_POSIX_READER_WRITER_LOCKS            = 200112
	X_POSIX_REALTIME_SIGNALS               = -1
	X_POSIX_REGEXP                         = 200112
	X_POSIX_SAVED_IDS                      = 200112
	X_POSIX_SEMAPHORES                     = -1
	X_POSIX_SHARED_MEMORY_OBJECTS          = -1
	X_POSIX_SHELL                          = 200112
	X_POSIX_SPAWN                          = -1
	X_POSIX_SPIN_LOCKS                     = -1
	X_POSIX_SPORADIC_SERVER                = -1
	X_POSIX_SYNCHRONIZED_IO                = -1
	X_POSIX_THREADS                        = 200112
	X_POSIX_THREAD_ATTR_STACKADDR          = 200112
	X_POSIX_THREAD_ATTR_STACKSIZE          = 200112
	X_POSIX_THREAD_CPUTIME                 = -1
	X_POSIX_THREAD_KEYS_MAX                = 128
	X_POSIX_THREAD_PRIORITY_SCHEDULING     = -1
	X_POSIX_THREAD_PRIO_INHERIT            = -1
	X_POSIX_THREAD_PRIO_PROTECT            = -1
	X_POSIX_THREAD_PROCESS_SHARED          = 200112
	X_POSIX_THREAD_SAFE_FUNCTIONS          = 200112
	X_POSIX_THREAD_SPORADIC_SERVER         = -1
	X_POSIX_TIMEOUTS                       = -1
	X_POSIX_TIMERS                         = -1
	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_ILP32_OFF32                 = -1
	X_POSIX_V6_ILP32_OFFBIG                = -1
	X_POSIX_V6_LP64_OFF64                  = 1
	X_POSIX_V6_LPBIG_OFFBIG                = 1
	X_POSIX_V7_ILP32_OFF32                 = -1
	X_POSIX_V7_ILP32_OFFBIG                = -1
	X_POSIX_V7_LP64_OFF64                  = 1
	X_POSIX_V7_LPBIG_OFFBIG                = 1
	X_POSIX_VERSION                        = 200112
	X_RATTR_OK                             = 32768
	X_READ_OK                              = 512
	X_REXT_OK                              = 131072
	X_RMFILE_OK                            = 16384
	X_RPERM_OK                             = 524288
	X_SC_2_CHAR_TERM                       = 20
	X_SC_2_C_BIND                          = 18
	X_SC_2_C_DEV                           = 19
	X_SC_2_FORT_DEV                        = 21
	X_SC_2_FORT_RUN                        = 22
	X_SC_2_LOCALEDEF                       = 23
	X_SC_2_PBS                             = 59
	X_SC_2_PBS_ACCOUNTING                  = 60
	X_SC_2_PBS_CHECKPOINT                  = 61
	X_SC_2_PBS_LOCATE                      = 62
	X_SC_2_PBS_MESSAGE                     = 63
	X_SC_2_PBS_TRACK                       = 64
	X_SC_2_SW_DEV                          = 24
	X_SC_2_UPE                             = 25
	X_SC_2_VERSION                         = 17
	X_SC_ADVISORY_INFO                     = 65
	X_SC_AIO_LISTIO_MAX                    = 42
	X_SC_AIO_MAX                           = 43
	X_SC_AIO_PRIO_DELTA_MAX                = 44
	X_SC_ARG_MAX                           = 1
	X_SC_ASYNCHRONOUS_IO                   = 28
	X_SC_ATEXIT_MAX                        = 107
	X_SC_BARRIERS                          = 66
	X_SC_BC_BASE_MAX                       = 9
	X_SC_BC_DIM_MAX                        = 10
	X_SC_BC_SCALE_MAX                      = 11
	X_SC_BC_STRING_MAX                     = 12
	X_SC_CHILD_MAX                         = 2
	X_SC_CLK_TCK                           = 3
	X_SC_CLOCK_SELECTION                   = 67
	X_SC_COLL_WEIGHTS_MAX                  = 13
	X_SC_CPUTIME                           = 68
	X_SC_DELAYTIMER_MAX                    = 45
	X_SC_EXPR_NEST_MAX                     = 14
	X_SC_FILE_LOCKING                      = 69
	X_SC_FSYNC                             = 38
	X_SC_GETGR_R_SIZE_MAX                  = 70
	X_SC_GETPW_R_SIZE_MAX                  = 71
	X_SC_HOST_NAME_MAX                     = 72
	X_SC_IOV_MAX                           = 56
	X_SC_IPV6                              = 118
	X_SC_JOB_CONTROL                       = 6
	X_SC_LINE_MAX                          = 15
	X_SC_LOGIN_NAME_MAX                    = 73
	X_SC_MAPPED_FILES                      = 47
	X_SC_MEMLOCK                           = 30
	X_SC_MEMLOCK_RANGE                     = 31
	X_SC_MEMORY_PROTECTION                 = 32
	X_SC_MESSAGE_PASSING                   = 33
	X_SC_MONOTONIC_CLOCK                   = 74
	X_SC_MQ_OPEN_MAX                       = 46
	X_SC_MQ_PRIO_MAX                       = 75
	X_SC_NGROUPS_MAX                       = 4
	X_SC_NPROCESSORS_CONF                  = 57
	X_SC_NPROCESSORS_ONLN                  = 58
	X_SC_OPEN_MAX                          = 5
	X_SC_PAGESIZE                          = 29
	X_SC_PAGE_SIZE                         = 29
	X_SC_PASS_MAX                          = 131
	X_SC_PHYS_PAGES                        = 200
	X_SC_PRIORITIZED_IO                    = 34
	X_SC_PRIORITY_SCHEDULING               = 35
	X_SC_RAW_SOCKETS                       = 119
	X_SC_READER_WRITER_LOCKS               = 76
	X_SC_REALTIME_SIGNALS                  = 36
	X_SC_REGEXP                            = 77
	X_SC_RE_DUP_MAX                        = 16
	X_SC_RTSIG_MAX                         = 48
	X_SC_SAVED_IDS                         = 7
	X_SC_SEMAPHORES                        = 37
	X_SC_SEM_NSEMS_MAX                     = 49
	X_SC_SEM_VALUE_MAX                     = 50
	X_SC_SHARED_MEMORY_OBJECTS             = 39
	X_SC_SHELL                             = 78
	X_SC_SIGQUEUE_MAX                      = 51
	X_SC_SPAWN                             = 79
	X_SC_SPIN_LOCKS                        = 80
	X_SC_SPORADIC_SERVER                   = 81
	X_SC_SS_REPL_MAX                       = 126
	X_SC_STREAM_MAX                        = 26
	X_SC_SYMLOOP_MAX                       = 120
	X_SC_SYNCHRONIZED_IO                   = 40
	X_SC_THREADS                           = 96
	X_SC_THREAD_ATTR_STACKADDR             = 82
	X_SC_THREAD_ATTR_STACKSIZE             = 83
	X_SC_THREAD_CPUTIME                    = 84
	X_SC_THREAD_DESTRUCTOR_ITERATIONS      = 85
	X_SC_THREAD_KEYS_MAX                   = 86
	X_SC_THREAD_PRIORITY_SCHEDULING        = 89
	X_SC_THREAD_PRIO_INHERIT               = 87
	X_SC_THREAD_PRIO_PROTECT               = 88
	X_SC_THREAD_PROCESS_SHARED             = 90
	X_SC_THREAD_SAFE_FUNCTIONS             = 91
	X_SC_THREAD_SPORADIC_SERVER            = 92
	X_SC_THREAD_STACK_MIN                  = 93
	X_SC_THREAD_THREADS_MAX                = 94
	X_SC_TIMEOUTS                          = 95
	X_SC_TIMERS                            = 41
	X_SC_TIMER_MAX                         = 52
	X_SC_TRACE                             = 97
	X_SC_TRACE_EVENT_FILTER                = 98
	X_SC_TRACE_EVENT_NAME_MAX              = 127
	X_SC_TRACE_INHERIT                     = 99
	X_SC_TRACE_LOG                         = 100
	X_SC_TRACE_NAME_MAX                    = 128
	X_SC_TRACE_SYS_MAX                     = 129
	X_SC_TRACE_USER_EVENT_MAX              = 130
	X_SC_TTY_NAME_MAX                      = 101
	X_SC_TYPED_MEMORY_OBJECTS              = 102
	X_SC_TZNAME_MAX                        = 27
	X_SC_V6_ILP32_OFF32                    = 103
	X_SC_V6_ILP32_OFFBIG                   = 104
	X_SC_V6_LP64_OFF64                     = 105
	X_SC_V6_LPBIG_OFFBIG                   = 106
	X_SC_VERSION                           = 8
	X_SC_XBS5_ILP32_OFF32                  = 122
	X_SC_XBS5_ILP32_OFFBIG                 = 123
	X_SC_XBS5_LP64_OFF64                   = 124
	X_SC_XBS5_LPBIG_OFFBIG                 = 125
	X_SC_XOPEN_CRYPT                       = 108
	X_SC_XOPEN_ENH_I18N                    = 109
	X_SC_XOPEN_LEGACY                      = 110
	X_SC_XOPEN_REALTIME                    = 111
	X_SC_XOPEN_REALTIME_THREADS            = 112
	X_SC_XOPEN_SHM                         = 113
	X_SC_XOPEN_STREAMS                     = 114
	X_SC_XOPEN_UNIX                        = 115
	X_SC_XOPEN_VERSION                     = 116
	X_SC_XOPEN_XCU_VERSION                 = 121
	X_SIGSET_T                             = 0
	X_SIZE_T                               = 0
	X_SSIZE_T                              = 0
	X_SUSECONDS_T                          = 0
	X_SYS_SELECT_H_                        = 0
	X_SYS_UNISTD_H_                        = 0
	X_SYS__PTHREAD_TYPES_H_                = 0
	X_SYS__SELECT_H_                       = 0
	X_SYS__TYPES_H_                        = 0
	X_TIME_T                               = 0
	X_UID_T                                = 0
	X_UINT32_T                             = 0
	X_UINT64_T                             = 0
	X_UINTPTR_T                            = 0
	X_UNISTD_H_                            = 0
	X_USECONDS_T                           = 0
	X_UUID_T                               = 0
	X_U_INT16_T                            = 0
	X_U_INT32_T                            = 0
	X_U_INT64_T                            = 0
	X_U_INT8_T                             = 0
	X_V6_ILP32_OFF32                       = -1
	X_V6_ILP32_OFFBIG                      = -1
	X_V6_LP64_OFF64                        = 1
	X_V6_LPBIG_OFFBIG                      = 1
	X_WATTR_OK                             = 65536
	X_WEXT_OK                              = 262144
	X_WPERM_OK                             = 1048576
	X_WRITE_OK                             = 1024
	X_XBS5_ILP32_OFF32                     = -1
	X_XBS5_ILP32_OFFBIG                    = -1
	X_XBS5_LP64_OFF64                      = 1
	X_XBS5_LPBIG_OFFBIG                    = 1
	X_XOPEN_CRYPT                          = 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_STREAMS                        = -1
	X_XOPEN_UNIX                           = 1
	X_XOPEN_VERSION                        = 600
	X_XOPEN_XCU_VERSION                    = 4
)

Variables

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

Functions

This section is empty.

Types

type Accessx_descriptor

type Accessx_descriptor = struct {
	Fad_name_offset uint32
	Fad_flags       int32
	Fad_pad         [2]int32

} /* unistd.h:132:1 */

type Dev_t

type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number

type Fd_set

type Fd_set = Fd_set1 /* _fd_def.h:52:3 */

type Fd_set1

type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */

type Gid_t

type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */

type Int16_t

type Int16_t = int16 /* _int16_t.h:30:33 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Int32_t

type Int32_t = int32 /* _int32_t.h:30:33 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Int64_t

type Int64_t = int64 /* _int64_t.h:30:33 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Int8_t

type Int8_t = int8 /* _int8_t.h:30:33 */

Basic integral types. Omit the typedef if not possible for a machine/compiler combination. Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Intptr_t

type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */

type Mode_t

type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */

type Off_t

type Off_t = X__darwin_off_t /* _off_t.h:31:33 */

type Pid_t

type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */

type Ptrdiff_t

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

type Register_t

type Register_t = Int64_t /* types.h:87:33 */

type Sigset_t

type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */

type Size_t

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

type Ssize_t

type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */

type Suseconds_t

type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */

type Syscall_arg_t

type Syscall_arg_t = U_int64_t /* types.h:111:33 */

This defines the size of syscall arguments after copying into the kernel:

type Time_t

type Time_t = X__darwin_time_t /* _time_t.h:31:33 */

The time_t and suseconds_t types shall be defined as described in <sys/types.h> The sigset_t type shall be defined as described in <signal.h> Copyright (c) 2003-2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@ Copyright (c) 2000-2007 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@ Copyright 1995 NeXT Computer, Inc. All rights reserved.

type Timespec

type Timespec = struct {
	Ftv_sec  X__darwin_time_t
	Ftv_nsec int64

} /* _timespec.h:33:1 */

type Timeval

type Timeval = struct {
	Ftv_sec      X__darwin_time_t
	Ftv_usec     X__darwin_suseconds_t
	F__ccgo_pad1 [4]byte

} /* _timeval.h:34:1 */

type U_int16_t

type U_int16_t = uint16 /* _u_int16_t.h:30:41 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type U_int32_t

type U_int32_t = uint32 /* _u_int32_t.h:30:33 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type U_int64_t

type U_int64_t = uint64 /* _u_int64_t.h:30:33 */

Copyright (c) 2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type U_int8_t

type U_int8_t = uint8 /* _u_int8_t.h:30:33 */

Copyright (c) 2016 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Uid_t

type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */

type Uint32_t

type Uint32_t = uint32 /* _uint32_t.h:31:22 */

type Uint64_t

type Uint64_t = uint64 /* _uint64_t.h:31:28 */

type Uintptr_t

type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */

Copyright (c) 2003-2012 Apple Inc. All rights reserved.

@APPLE_OSREFERENCE_LICENSE_HEADER_START@

This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement.

Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file.

The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License.

@APPLE_OSREFERENCE_LICENSE_HEADER_END@

type Useconds_t

type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */

type User_addr_t

type User_addr_t = U_int64_t /* types.h:97:33 */

These types are used for reserving the largest possible size.

type User_long_t

type User_long_t = Int64_t /* types.h:100:33 */

type User_off_t

type User_off_t = Int64_t /* types.h:103:33 */

type User_size_t

type User_size_t = U_int64_t /* types.h:98:33 */

type User_ssize_t

type User_ssize_t = Int64_t /* types.h:99:33 */

type User_time_t

type User_time_t = Int64_t /* types.h:102:33 */

type User_ulong_t

type User_ulong_t = U_int64_t /* types.h:101:33 */

type Uuid_t

type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */

type Wchar_t

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

type X__builtin_va_list

type X__builtin_va_list = uintptr /* <builtin>:46:14 */

type X__darwin_blkcnt_t

type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks

type X__darwin_blksize_t

type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size

type X__darwin_clock_t

type X__darwin_clock_t = uint64 /* _types.h:117:33 */ // clock()

type X__darwin_ct_rune_t

type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t

type X__darwin_dev_t

type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t

type X__darwin_fsblkcnt_t

type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs

type X__darwin_fsfilcnt_t

type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs

type X__darwin_gid_t

type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs

type X__darwin_id_t

type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t

type X__darwin_ino64_t

type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes

type X__darwin_ino_t

type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes

type X__darwin_intptr_t

type X__darwin_intptr_t = int64 /* _types.h:49:33 */

type X__darwin_mach_port_name_t

type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach

type X__darwin_mach_port_t

type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach

type X__darwin_mbstate_t

type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t

type X__darwin_mode_t

type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes

type X__darwin_natural_t

type X__darwin_natural_t = uint32 /* _types.h:50:33 */

type X__darwin_nl_item

type X__darwin_nl_item = int32 /* _types.h:40:14 */

type X__darwin_off_t

type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes

type X__darwin_pid_t

type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs

type X__darwin_pthread_attr_t

type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */

type X__darwin_pthread_cond_t

type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */

type X__darwin_pthread_condattr_t

type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */

type X__darwin_pthread_handler_rec

type X__darwin_pthread_handler_rec = struct {
	F__routine uintptr
	F__arg     uintptr
	F__next    uintptr

} /* _pthread_types.h:57:1 */

type X__darwin_pthread_key_t

type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */

type X__darwin_pthread_mutex_t

type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */

type X__darwin_pthread_mutexattr_t

type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */

type X__darwin_pthread_once_t

type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */

type X__darwin_pthread_rwlock_t

type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */

type X__darwin_pthread_rwlockattr_t

type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */

type X__darwin_pthread_t

type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */

type X__darwin_ptrdiff_t

type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2

type X__darwin_rune_t

type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t

type X__darwin_sigset_t

type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set

type X__darwin_size_t

type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()

type X__darwin_socklen_t

type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)

type X__darwin_ssize_t

type X__darwin_ssize_t = int64 /* _types.h:119:33 */ // byte count or error

type X__darwin_suseconds_t

type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds

type X__darwin_time_t

type X__darwin_time_t = int64 /* _types.h:120:33 */ // time()

type X__darwin_uid_t

type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs

type X__darwin_useconds_t

type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds

type X__darwin_uuid_string_t

type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */

type X__darwin_uuid_t

type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */

type X__darwin_va_list

type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list

type X__darwin_wchar_t

type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t

type X__darwin_wctrans_t

type X__darwin_wctrans_t = int32 /* _types.h:41:14 */

type X__darwin_wctype_t

type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */

type X__darwin_wint_t

type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t

type X__float128

type X__float128 = float64 /* <builtin>:47:21 */

type X__int128_t

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:42:33 */

type X__int32_t

type X__int32_t = int32 /* _types.h:44:33 */

type X__int64_t

type X__int64_t = int64 /* _types.h:46:33 */

type X__int8_t

type X__int8_t = int8 /* _types.h:37:33 */

type X__mbstate_t

type X__mbstate_t = struct {
	F__mbstate8 [128]int8
	// contains filtered or unexported fields

} /* _types.h:79:3 */

mbstate_t is an opaque object to keep conversion state, during multibyte stream conversions. The content must not be referenced by user programs.

type X__uint128_t

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:43:33 */

type X__uint32_t

type X__uint32_t = uint32 /* _types.h:45:33 */

type X__uint64_t

type X__uint64_t = uint64 /* _types.h:47:33 */

type X__uint8_t

type X__uint8_t = uint8 /* _types.h:41:33 */

type X_opaque_pthread_attr_t

type X_opaque_pthread_attr_t = struct {
	F__sig    int64
	F__opaque [56]int8

} /* _pthread_types.h:63:1 */

type X_opaque_pthread_cond_t

type X_opaque_pthread_cond_t = struct {
	F__sig    int64
	F__opaque [40]int8

} /* _pthread_types.h:68:1 */

type X_opaque_pthread_condattr_t

type X_opaque_pthread_condattr_t = struct {
	F__sig    int64
	F__opaque [8]int8

} /* _pthread_types.h:73:1 */

type X_opaque_pthread_mutex_t

type X_opaque_pthread_mutex_t = struct {
	F__sig    int64
	F__opaque [56]int8

} /* _pthread_types.h:78:1 */

type X_opaque_pthread_mutexattr_t

type X_opaque_pthread_mutexattr_t = struct {
	F__sig    int64
	F__opaque [8]int8

} /* _pthread_types.h:83:1 */

type X_opaque_pthread_once_t

type X_opaque_pthread_once_t = struct {
	F__sig    int64
	F__opaque [8]int8

} /* _pthread_types.h:88:1 */

type X_opaque_pthread_rwlock_t

type X_opaque_pthread_rwlock_t = struct {
	F__sig    int64
	F__opaque [192]int8

} /* _pthread_types.h:93:1 */

type X_opaque_pthread_rwlockattr_t

type X_opaque_pthread_rwlockattr_t = struct {
	F__sig    int64
	F__opaque [16]int8

} /* _pthread_types.h:98:1 */

type X_opaque_pthread_t

type X_opaque_pthread_t = struct {
	F__sig           int64
	F__cleanup_stack uintptr
	F__opaque        [8176]int8

} /* _pthread_types.h:103:1 */

Jump to

Keyboard shortcuts

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