modernc.org/xdmcp@v1.0.17/lib/xdmcp_darwin_amd64.go (about)

     1  // Code generated by 'ccgo -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -o lib/xdmcp_darwin_amd64.go -pkgname xdmcp -trace-translation-units /var/folders/b1/8mwd0y2x52l16_sqf8zbtz8r0000gn/T/go-generate-395159562/cdb.json .libs/libXdmcp.a', DO NOT EDIT.
     2  
     3  package xdmcp
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  
    11  	"modernc.org/libc"
    12  	"modernc.org/libc/sys/types"
    13  )
    14  
    15  var _ = math.Pi
    16  var _ reflect.Kind
    17  var _ atomic.Value
    18  var _ unsafe.Pointer
    19  var _ types.Size_t
    20  
    21  const (
    22  	ACCESSX_MAX_DESCRIPTORS                   = 100
    23  	ACCESSX_MAX_TABLESIZE                     = 16384
    24  	AT_EACCESS                                = 0x0010
    25  	AT_FDCWD                                  = -2
    26  	AT_FDONLY                                 = 0x0400
    27  	AT_REALDEV                                = 0x0200
    28  	AT_REMOVEDIR                              = 0x0080
    29  	AT_SYMLINK_FOLLOW                         = 0x0040
    30  	AT_SYMLINK_NOFOLLOW                       = 0x0020
    31  	Above                                     = 0
    32  	AllTemporary                              = 0
    33  	AllocAll                                  = 1
    34  	AllocNone                                 = 0
    35  	AllowExposures                            = 1
    36  	AlreadyGrabbed                            = 1
    37  	Always                                    = 2
    38  	AnyButton                                 = 0
    39  	AnyKey                                    = 0
    40  	AnyModifier                               = 32768
    41  	AnyPropertyType                           = 0
    42  	ArcChord                                  = 0
    43  	ArcPieSlice                               = 1
    44  	AsyncBoth                                 = 6
    45  	AsyncKeyboard                             = 3
    46  	AsyncPointer                              = 0
    47  	AutoRepeatModeDefault                     = 2
    48  	AutoRepeatModeOff                         = 0
    49  	AutoRepeatModeOn                          = 1
    50  	B16                                       = 0
    51  	B32                                       = 0
    52  	BIG_ENDIAN                                = 4321
    53  	BUS_ADRALN                                = 1
    54  	BUS_ADRERR                                = 2
    55  	BUS_NOOP                                  = 0
    56  	BUS_OBJERR                                = 3
    57  	BYTE_ORDER                                = 1234
    58  	BadAccess                                 = 10
    59  	BadAlloc                                  = 11
    60  	BadAtom                                   = 5
    61  	BadColor                                  = 12
    62  	BadCursor                                 = 6
    63  	BadDrawable                               = 9
    64  	BadFont                                   = 7
    65  	BadGC                                     = 13
    66  	BadIDChoice                               = 14
    67  	BadImplementation                         = 17
    68  	BadLength                                 = 16
    69  	BadMatch                                  = 8
    70  	BadName                                   = 15
    71  	BadPixmap                                 = 4
    72  	BadRequest                                = 1
    73  	BadValue                                  = 2
    74  	BadWindow                                 = 3
    75  	Below                                     = 1
    76  	BottomIf                                  = 3
    77  	Button1                                   = 1
    78  	Button1Mask                               = 256
    79  	Button1MotionMask                         = 256
    80  	Button2                                   = 2
    81  	Button2Mask                               = 512
    82  	Button2MotionMask                         = 512
    83  	Button3                                   = 3
    84  	Button3Mask                               = 1024
    85  	Button3MotionMask                         = 1024
    86  	Button4                                   = 4
    87  	Button4Mask                               = 2048
    88  	Button4MotionMask                         = 2048
    89  	Button5                                   = 5
    90  	Button5Mask                               = 4096
    91  	Button5MotionMask                         = 4096
    92  	ButtonMotionMask                          = 8192
    93  	ButtonPress                               = 4
    94  	ButtonPressMask                           = 4
    95  	ButtonRelease                             = 5
    96  	ButtonReleaseMask                         = 8
    97  	CLD_CONTINUED                             = 6
    98  	CLD_DUMPED                                = 3
    99  	CLD_EXITED                                = 1
   100  	CLD_KILLED                                = 2
   101  	CLD_NOOP                                  = 0
   102  	CLD_STOPPED                               = 5
   103  	CLD_TRAPPED                               = 4
   104  	CLOCKS_PER_SEC                            = 1000000
   105  	CPF_IGNORE_MODE                           = 0x0002
   106  	CPF_MASK                                  = 3
   107  	CPF_OVERWRITE                             = 0x0001
   108  	CPUMON_MAKE_FATAL                         = 0x1000
   109  	CSRG_BASED                                = 0
   110  	CWBackPixel                               = 2
   111  	CWBackPixmap                              = 1
   112  	CWBackingPixel                            = 256
   113  	CWBackingPlanes                           = 128
   114  	CWBackingStore                            = 64
   115  	CWBitGravity                              = 16
   116  	CWBorderPixel                             = 8
   117  	CWBorderPixmap                            = 4
   118  	CWBorderWidth                             = 16
   119  	CWColormap                                = 8192
   120  	CWCursor                                  = 16384
   121  	CWDontPropagate                           = 4096
   122  	CWEventMask                               = 2048
   123  	CWHeight                                  = 8
   124  	CWOverrideRedirect                        = 512
   125  	CWSaveUnder                               = 1024
   126  	CWSibling                                 = 32
   127  	CWStackMode                               = 64
   128  	CWWidth                                   = 4
   129  	CWWinGravity                              = 32
   130  	CWX                                       = 1
   131  	CWY                                       = 2
   132  	CapButt                                   = 1
   133  	CapNotLast                                = 0
   134  	CapProjecting                             = 3
   135  	CapRound                                  = 2
   136  	CenterGravity                             = 5
   137  	CirculateNotify                           = 26
   138  	CirculateRequest                          = 27
   139  	ClientMessage                             = 33
   140  	ClipByChildren                            = 0
   141  	ColormapChangeMask                        = 8388608
   142  	ColormapInstalled                         = 1
   143  	ColormapNotify                            = 32
   144  	ColormapUninstalled                       = 0
   145  	Complex                                   = 0
   146  	ConfigureNotify                           = 22
   147  	ConfigureRequest                          = 23
   148  	ControlMapIndex                           = 2
   149  	ControlMask                               = 4
   150  	Convex                                    = 2
   151  	CoordModeOrigin                           = 0
   152  	CoordModePrevious                         = 1
   153  	CopyFromParent                            = 0
   154  	CreateNotify                              = 16
   155  	CurrentTime                               = 0
   156  	CursorShape                               = 0
   157  	DST_AUST                                  = 2
   158  	DST_CAN                                   = 6
   159  	DST_EET                                   = 5
   160  	DST_MET                                   = 4
   161  	DST_NONE                                  = 0
   162  	DST_USA                                   = 1
   163  	DST_WET                                   = 3
   164  	DefaultBlanking                           = 2
   165  	DefaultExposures                          = 2
   166  	DestroyAll                                = 0
   167  	DestroyNotify                             = 17
   168  	DirectColor                               = 5
   169  	DisableAccess                             = 0
   170  	DisableScreenInterval                     = 0
   171  	DisableScreenSaver                        = 0
   172  	DoBlue                                    = 4
   173  	DoGreen                                   = 2
   174  	DoRed                                     = 1
   175  	DontAllowExposures                        = 0
   176  	DontPreferBlanking                        = 0
   177  	EXIT_FAILURE                              = 1
   178  	EXIT_SUCCESS                              = 0
   179  	EastGravity                               = 6
   180  	EnableAccess                              = 1
   181  	EnterNotify                               = 7
   182  	EnterWindowMask                           = 16
   183  	EvenOddRule                               = 0
   184  	Expose                                    = 12
   185  	ExposureMask                              = 32768
   186  	FALSE                                     = 0
   187  	FAPPEND                                   = 8
   188  	FASYNC                                    = 64
   189  	FCNTL_FS_SPECIFIC_BASE                    = 0x00010000
   190  	FD_CLOEXEC                                = 1
   191  	FD_SETSIZE                                = 1024
   192  	FFDSYNC                                   = 4194304
   193  	FFSYNC                                    = 128
   194  	FNDELAY                                   = 4
   195  	FNONBLOCK                                 = 4
   196  	FOOTPRINT_INTERVAL_RESET                  = 0x1
   197  	FPE_FLTDIV                                = 1
   198  	FPE_FLTINV                                = 5
   199  	FPE_FLTOVF                                = 2
   200  	FPE_FLTRES                                = 4
   201  	FPE_FLTSUB                                = 6
   202  	FPE_FLTUND                                = 3
   203  	FPE_INTDIV                                = 7
   204  	FPE_INTOVF                                = 8
   205  	FPE_NOOP                                  = 0
   206  	FP_CHOP                                   = 3
   207  	FP_PREC_24B                               = 0
   208  	FP_PREC_53B                               = 2
   209  	FP_PREC_64B                               = 3
   210  	FP_RND_DOWN                               = 1
   211  	FP_RND_NEAR                               = 0
   212  	FP_RND_UP                                 = 2
   213  	FP_STATE_BYTES                            = 512
   214  	FREAD                                     = 0x0001
   215  	FUNCPROTO                                 = 15
   216  	FWRITE                                    = 0x0002
   217  	F_ADDFILESIGS                             = 61
   218  	F_ADDFILESIGS_FOR_DYLD_SIM                = 83
   219  	F_ADDFILESIGS_RETURN                      = 97
   220  	F_ADDSIGS                                 = 59
   221  	F_ALLOCATEALL                             = 0x00000004
   222  	F_ALLOCATECONTIG                          = 0x00000002
   223  	F_BARRIERFSYNC                            = 85
   224  	F_CHECK_LV                                = 98
   225  	F_CHKCLEAN                                = 41
   226  	F_DUPFD                                   = 0
   227  	F_DUPFD_CLOEXEC                           = 67
   228  	F_FINDSIGS                                = 78
   229  	F_FLUSH_DATA                              = 40
   230  	F_FREEZE_FS                               = 53
   231  	F_FULLFSYNC                               = 51
   232  	F_GETCODEDIR                              = 72
   233  	F_GETFD                                   = 1
   234  	F_GETFL                                   = 3
   235  	F_GETLK                                   = 7
   236  	F_GETLKPID                                = 66
   237  	F_GETNOSIGPIPE                            = 74
   238  	F_GETOWN                                  = 5
   239  	F_GETPATH                                 = 50
   240  	F_GETPATH_MTMINFO                         = 71
   241  	F_GETPATH_NOFIRMLINK                      = 102
   242  	F_GETPROTECTIONCLASS                      = 63
   243  	F_GETPROTECTIONLEVEL                      = 77
   244  	F_GLOBAL_NOCACHE                          = 55
   245  	F_LOCK                                    = 1
   246  	F_LOG2PHYS                                = 49
   247  	F_LOG2PHYS_EXT                            = 65
   248  	F_NOCACHE                                 = 48
   249  	F_NODIRECT                                = 62
   250  	F_OK                                      = 0
   251  	F_PATHPKG_CHECK                           = 52
   252  	F_PEOFPOSMODE                             = 3
   253  	F_PREALLOCATE                             = 42
   254  	F_PUNCHHOLE                               = 99
   255  	F_RDADVISE                                = 44
   256  	F_RDAHEAD                                 = 45
   257  	F_RDLCK                                   = 1
   258  	F_SETBACKINGSTORE                         = 70
   259  	F_SETFD                                   = 2
   260  	F_SETFL                                   = 4
   261  	F_SETLK                                   = 8
   262  	F_SETLKW                                  = 9
   263  	F_SETLKWTIMEOUT                           = 10
   264  	F_SETNOSIGPIPE                            = 73
   265  	F_SETOWN                                  = 6
   266  	F_SETPROTECTIONCLASS                      = 64
   267  	F_SETSIZE                                 = 43
   268  	F_SINGLE_WRITER                           = 76
   269  	F_SPECULATIVE_READ                        = 101
   270  	F_TEST                                    = 3
   271  	F_THAW_FS                                 = 54
   272  	F_TLOCK                                   = 2
   273  	F_TRANSCODEKEY                            = 75
   274  	F_TRIM_ACTIVE_FILE                        = 100
   275  	F_ULOCK                                   = 0
   276  	F_UNLCK                                   = 2
   277  	F_VOLPOSMODE                              = 4
   278  	F_WRLCK                                   = 3
   279  	FamilyChaos                               = 2
   280  	FamilyDECnet                              = 1
   281  	FamilyInternet                            = 0
   282  	FamilyInternet6                           = 6
   283  	FamilyServerInterpreted                   = 5
   284  	FillOpaqueStippled                        = 3
   285  	FillSolid                                 = 0
   286  	FillStippled                              = 2
   287  	FillTiled                                 = 1
   288  	FirstExtensionError                       = 128
   289  	FocusChangeMask                           = 2097152
   290  	FocusIn                                   = 9
   291  	FocusOut                                  = 10
   292  	FontChange                                = 255
   293  	FontLeftToRight                           = 0
   294  	FontRightToLeft                           = 1
   295  	ForgetGravity                             = 0
   296  	GCArcMode                                 = 4194304
   297  	GCBackground                              = 8
   298  	GCCapStyle                                = 64
   299  	GCClipMask                                = 524288
   300  	GCClipXOrigin                             = 131072
   301  	GCClipYOrigin                             = 262144
   302  	GCDashList                                = 2097152
   303  	GCDashOffset                              = 1048576
   304  	GCFillRule                                = 512
   305  	GCFillStyle                               = 256
   306  	GCFont                                    = 16384
   307  	GCForeground                              = 4
   308  	GCFunction                                = 1
   309  	GCGraphicsExposures                       = 65536
   310  	GCJoinStyle                               = 128
   311  	GCLastBit                                 = 22
   312  	GCLineStyle                               = 32
   313  	GCLineWidth                               = 16
   314  	GCPlaneMask                               = 2
   315  	GCStipple                                 = 2048
   316  	GCSubwindowMode                           = 32768
   317  	GCTile                                    = 1024
   318  	GCTileStipXOrigin                         = 4096
   319  	GCTileStipYOrigin                         = 8192
   320  	GXand                                     = 0x1
   321  	GXandInverted                             = 0x4
   322  	GXandReverse                              = 0x2
   323  	GXclear                                   = 0x0
   324  	GXcopy                                    = 0x3
   325  	GXcopyInverted                            = 0xc
   326  	GXequiv                                   = 0x9
   327  	GXinvert                                  = 0xa
   328  	GXnand                                    = 0xe
   329  	GXnoop                                    = 0x5
   330  	GXnor                                     = 0x8
   331  	GXor                                      = 0x7
   332  	GXorInverted                              = 0xd
   333  	GXorReverse                               = 0xb
   334  	GXset                                     = 0xf
   335  	GXxor                                     = 0x6
   336  	GenericEvent                              = 35
   337  	GrabFrozen                                = 4
   338  	GrabInvalidTime                           = 2
   339  	GrabModeAsync                             = 1
   340  	GrabModeSync                              = 0
   341  	GrabNotViewable                           = 3
   342  	GrabSuccess                               = 0
   343  	GraphicsExpose                            = 13
   344  	GravityNotify                             = 24
   345  	GrayScale                                 = 1
   346  	HASXDMAUTH                                = 1
   347  	HAVE_ARC4RANDOM_BUF                       = 1
   348  	HAVE_CONFIG_H                             = 1
   349  	HAVE_DLFCN_H                              = 1
   350  	HAVE_INTTYPES_H                           = 1
   351  	HAVE_LRAND48                              = 1
   352  	HAVE_MEMORY_H                             = 1
   353  	HAVE_SRAND48                              = 1
   354  	HAVE_STDINT_H                             = 1
   355  	HAVE_STDLIB_H                             = 1
   356  	HAVE_STRINGS_H                            = 1
   357  	HAVE_STRING_H                             = 1
   358  	HAVE_SYS_STAT_H                           = 1
   359  	HAVE_SYS_TYPES_H                          = 1
   360  	HAVE_UNISTD_H                             = 1
   361  	HostDelete                                = 1
   362  	HostInsert                                = 0
   363  	ILL_BADSTK                                = 8
   364  	ILL_COPROC                                = 7
   365  	ILL_ILLADR                                = 5
   366  	ILL_ILLOPC                                = 1
   367  	ILL_ILLOPN                                = 4
   368  	ILL_ILLTRP                                = 2
   369  	ILL_NOOP                                  = 0
   370  	ILL_PRVOPC                                = 3
   371  	ILL_PRVREG                                = 6
   372  	INT16_MAX                                 = 32767
   373  	INT16_MIN                                 = -32768
   374  	INT32_MAX                                 = 2147483647
   375  	INT32_MIN                                 = -2147483648
   376  	INT64_MAX                                 = 9223372036854775807
   377  	INT64_MIN                                 = -9223372036854775808
   378  	INT8_MAX                                  = 127
   379  	INT8_MIN                                  = -128
   380  	INTMAX_MAX                                = 9223372036854775807
   381  	INTMAX_MIN                                = -9223372036854775808
   382  	INTPTR_MAX                                = 9223372036854775807
   383  	INTPTR_MIN                                = -9223372036854775808
   384  	INT_FAST16_MAX                            = 32767
   385  	INT_FAST16_MIN                            = -32768
   386  	INT_FAST32_MAX                            = 2147483647
   387  	INT_FAST32_MIN                            = -2147483648
   388  	INT_FAST64_MAX                            = 9223372036854775807
   389  	INT_FAST64_MIN                            = -9223372036854775808
   390  	INT_FAST8_MAX                             = 127
   391  	INT_FAST8_MIN                             = -128
   392  	INT_LEAST16_MAX                           = 32767
   393  	INT_LEAST16_MIN                           = -32768
   394  	INT_LEAST32_MAX                           = 2147483647
   395  	INT_LEAST32_MIN                           = -2147483648
   396  	INT_LEAST64_MAX                           = 9223372036854775807
   397  	INT_LEAST64_MIN                           = -9223372036854775808
   398  	INT_LEAST8_MAX                            = 127
   399  	INT_LEAST8_MIN                            = -128
   400  	IOPOL_APPLICATION                         = 5
   401  	IOPOL_ATIME_UPDATES_DEFAULT               = 0
   402  	IOPOL_ATIME_UPDATES_OFF                   = 1
   403  	IOPOL_DEFAULT                             = 0
   404  	IOPOL_IMPORTANT                           = 1
   405  	IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT  = 0
   406  	IOPOL_MATERIALIZE_DATALESS_FILES_OFF      = 1
   407  	IOPOL_MATERIALIZE_DATALESS_FILES_ON       = 2
   408  	IOPOL_NORMAL                              = 1
   409  	IOPOL_PASSIVE                             = 2
   410  	IOPOL_SCOPE_DARWIN_BG                     = 2
   411  	IOPOL_SCOPE_PROCESS                       = 0
   412  	IOPOL_SCOPE_THREAD                        = 1
   413  	IOPOL_STANDARD                            = 5
   414  	IOPOL_THROTTLE                            = 3
   415  	IOPOL_TYPE_DISK                           = 0
   416  	IOPOL_TYPE_VFS_ATIME_UPDATES              = 2
   417  	IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3
   418  	IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME      = 4
   419  	IOPOL_UTILITY                             = 4
   420  	IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME     = 1
   421  	IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT   = 0
   422  	ITIMER_PROF                               = 2
   423  	ITIMER_REAL                               = 0
   424  	ITIMER_VIRTUAL                            = 1
   425  	IncludeInferiors                          = 1
   426  	InputFocus                                = 1
   427  	InputOnly                                 = 2
   428  	InputOutput                               = 1
   429  	IsUnmapped                                = 0
   430  	IsUnviewable                              = 1
   431  	IsViewable                                = 2
   432  	JoinBevel                                 = 2
   433  	JoinMiter                                 = 0
   434  	JoinRound                                 = 1
   435  	KBAutoRepeatMode                          = 128
   436  	KBBellDuration                            = 8
   437  	KBBellPercent                             = 2
   438  	KBBellPitch                               = 4
   439  	KBKey                                     = 64
   440  	KBKeyClickPercent                         = 1
   441  	KBLed                                     = 16
   442  	KBLedMode                                 = 32
   443  	KeyPress                                  = 2
   444  	KeyPressMask                              = 1
   445  	KeyRelease                                = 3
   446  	KeyReleaseMask                            = 2
   447  	KeymapNotify                              = 11
   448  	KeymapStateMask                           = 16384
   449  	LASTEvent                                 = 36
   450  	LITTLE_ENDIAN                             = 1234
   451  	LOCK_EX                                   = 0x02
   452  	LOCK_NB                                   = 0x04
   453  	LOCK_SH                                   = 0x01
   454  	LOCK_UN                                   = 0x08
   455  	LONG64                                    = 0
   456  	LSBFirst                                  = 0
   457  	LT_OBJDIR                                 = ".libs/"
   458  	L_INCR                                    = 1
   459  	L_SET                                     = 0
   460  	L_XTND                                    = 2
   461  	LastExtensionError                        = 255
   462  	LeaveNotify                               = 8
   463  	LeaveWindowMask                           = 32
   464  	LedModeOff                                = 0
   465  	LedModeOn                                 = 1
   466  	LineDoubleDash                            = 2
   467  	LineOnOffDash                             = 1
   468  	LineSolid                                 = 0
   469  	LockMapIndex                              = 1
   470  	LockMask                                  = 2
   471  	LowerHighest                              = 1
   472  	MINSIGSTKSZ                               = 32768
   473  	MSBFirst                                  = 1
   474  	MapNotify                                 = 19
   475  	MapRequest                                = 20
   476  	MappingBusy                               = 1
   477  	MappingFailed                             = 2
   478  	MappingKeyboard                           = 1
   479  	MappingModifier                           = 0
   480  	MappingNotify                             = 34
   481  	MappingPointer                            = 2
   482  	MappingSuccess                            = 0
   483  	Mod1MapIndex                              = 3
   484  	Mod1Mask                                  = 8
   485  	Mod2MapIndex                              = 4
   486  	Mod2Mask                                  = 16
   487  	Mod3MapIndex                              = 5
   488  	Mod3Mask                                  = 32
   489  	Mod4MapIndex                              = 6
   490  	Mod4Mask                                  = 64
   491  	Mod5MapIndex                              = 7
   492  	Mod5Mask                                  = 128
   493  	MotionNotify                              = 6
   494  	NBBY                                      = 8
   495  	NSIG                                      = 32
   496  	NULL_NOT_ZERO                             = 0
   497  	NeedFunctionPrototypes                    = 1
   498  	NeedNestedPrototypes                      = 1
   499  	NeedVarargsPrototypes                     = 1
   500  	NeedWidePrototypes                        = 1
   501  	NoEventMask                               = 0
   502  	NoExpose                                  = 14
   503  	NoSymbol                                  = 0
   504  	Nonconvex                                 = 1
   505  	None                                      = 0
   506  	NorthEastGravity                          = 3
   507  	NorthGravity                              = 2
   508  	NorthWestGravity                          = 1
   509  	NotUseful                                 = 0
   510  	NotifyAncestor                            = 0
   511  	NotifyDetailNone                          = 7
   512  	NotifyGrab                                = 1
   513  	NotifyHint                                = 1
   514  	NotifyInferior                            = 2
   515  	NotifyNonlinear                           = 3
   516  	NotifyNonlinearVirtual                    = 4
   517  	NotifyNormal                              = 0
   518  	NotifyPointer                             = 5
   519  	NotifyPointerRoot                         = 6
   520  	NotifyUngrab                              = 2
   521  	NotifyVirtual                             = 1
   522  	NotifyWhileGrabbed                        = 3
   523  	O_ACCMODE                                 = 0x0003
   524  	O_ALERT                                   = 0x20000000
   525  	O_APPEND                                  = 0x0008
   526  	O_ASYNC                                   = 0x0040
   527  	O_CLOEXEC                                 = 0x1000000
   528  	O_CREAT                                   = 0x0200
   529  	O_DIRECTORY                               = 0x100000
   530  	O_DP_GETRAWENCRYPTED                      = 0x0001
   531  	O_DP_GETRAWUNENCRYPTED                    = 0x0002
   532  	O_DSYNC                                   = 0x400000
   533  	O_EVTONLY                                 = 0x8000
   534  	O_EXCL                                    = 0x0800
   535  	O_EXLOCK                                  = 0x0020
   536  	O_FSYNC                                   = 128
   537  	O_NDELAY                                  = 4
   538  	O_NOCTTY                                  = 0x20000
   539  	O_NOFOLLOW                                = 0x0100
   540  	O_NONBLOCK                                = 0x0004
   541  	O_POPUP                                   = 0x80000000
   542  	O_RDONLY                                  = 0x0000
   543  	O_RDWR                                    = 0x0002
   544  	O_SHLOCK                                  = 0x0010
   545  	O_SYMLINK                                 = 0x200000
   546  	O_SYNC                                    = 0x0080
   547  	O_TRUNC                                   = 0x0400
   548  	O_WRONLY                                  = 0x0001
   549  	Opposite                                  = 4
   550  	OwnerGrabButtonMask                       = 16777216
   551  	PACKAGE                                   = "libXdmcp"
   552  	PACKAGE_BUGREPORT                         = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
   553  	PACKAGE_NAME                              = "libXdmcp"
   554  	PACKAGE_STRING                            = "libXdmcp 1.1.2"
   555  	PACKAGE_TARNAME                           = "libXdmcp"
   556  	PACKAGE_URL                               = ""
   557  	PACKAGE_VERSION                           = "1.1.2"
   558  	PACKAGE_VERSION_MAJOR                     = 1
   559  	PACKAGE_VERSION_MINOR                     = 1
   560  	PACKAGE_VERSION_PATCHLEVEL                = 2
   561  	PDP_ENDIAN                                = 3412
   562  	POLL_ERR                                  = 4
   563  	POLL_HUP                                  = 6
   564  	POLL_IN                                   = 1
   565  	POLL_MSG                                  = 3
   566  	POLL_OUT                                  = 2
   567  	POLL_PRI                                  = 5
   568  	PRIO_DARWIN_BG                            = 0x1000
   569  	PRIO_DARWIN_NONUI                         = 0x1001
   570  	PRIO_DARWIN_PROCESS                       = 4
   571  	PRIO_DARWIN_THREAD                        = 3
   572  	PRIO_MAX                                  = 20
   573  	PRIO_MIN                                  = -20
   574  	PRIO_PGRP                                 = 1
   575  	PRIO_PROCESS                              = 0
   576  	PRIO_USER                                 = 2
   577  	PTRDIFF_MAX                               = 9223372036854775807
   578  	PTRDIFF_MIN                               = -9223372036854775808
   579  	ParentRelative                            = 1
   580  	PlaceOnBottom                             = 1
   581  	PlaceOnTop                                = 0
   582  	PointerMotionHintMask                     = 128
   583  	PointerMotionMask                         = 64
   584  	PointerRoot                               = 1
   585  	PointerWindow                             = 0
   586  	PreferBlanking                            = 1
   587  	PropModeAppend                            = 2
   588  	PropModePrepend                           = 1
   589  	PropModeReplace                           = 0
   590  	PropertyChangeMask                        = 4194304
   591  	PropertyDelete                            = 1
   592  	PropertyNewValue                          = 0
   593  	PropertyNotify                            = 28
   594  	PseudoColor                               = 3
   595  	RAND_MAX                                  = 0x7fffffff
   596  	RLIMIT_AS                                 = 5
   597  	RLIMIT_CORE                               = 4
   598  	RLIMIT_CPU                                = 0
   599  	RLIMIT_CPU_USAGE_MONITOR                  = 0x2
   600  	RLIMIT_DATA                               = 2
   601  	RLIMIT_FOOTPRINT_INTERVAL                 = 0x4
   602  	RLIMIT_FSIZE                              = 1
   603  	RLIMIT_MEMLOCK                            = 6
   604  	RLIMIT_NOFILE                             = 8
   605  	RLIMIT_NPROC                              = 7
   606  	RLIMIT_RSS                                = 5
   607  	RLIMIT_STACK                              = 3
   608  	RLIMIT_THREAD_CPULIMITS                   = 0x3
   609  	RLIMIT_WAKEUPS_MONITOR                    = 0x1
   610  	RLIM_NLIMITS                              = 9
   611  	RSIZE_MAX                                 = 9223372036854775807
   612  	RUSAGE_CHILDREN                           = -1
   613  	RUSAGE_INFO_CURRENT                       = 4
   614  	RUSAGE_INFO_V0                            = 0
   615  	RUSAGE_INFO_V1                            = 1
   616  	RUSAGE_INFO_V2                            = 2
   617  	RUSAGE_INFO_V3                            = 3
   618  	RUSAGE_INFO_V4                            = 4
   619  	RUSAGE_SELF                               = 0
   620  	R_OK                                      = 4
   621  	RaiseLowest                               = 0
   622  	ReparentNotify                            = 21
   623  	ReplayKeyboard                            = 5
   624  	ReplayPointer                             = 2
   625  	ResizeRedirectMask                        = 262144
   626  	ResizeRequest                             = 25
   627  	RetainPermanent                           = 1
   628  	RetainTemporary                           = 2
   629  	RevertToParent                            = 2
   630  	SA_64REGSET                               = 0x0200
   631  	SA_NOCLDSTOP                              = 0x0008
   632  	SA_NOCLDWAIT                              = 0x0020
   633  	SA_NODEFER                                = 0x0010
   634  	SA_ONSTACK                                = 0x0001
   635  	SA_RESETHAND                              = 0x0004
   636  	SA_RESTART                                = 0x0002
   637  	SA_SIGINFO                                = 0x0040
   638  	SA_USERSPACE_MASK                         = 127
   639  	SA_USERTRAMP                              = 0x0100
   640  	SEEK_CUR                                  = 1
   641  	SEEK_DATA                                 = 4
   642  	SEEK_END                                  = 2
   643  	SEEK_HOLE                                 = 3
   644  	SEEK_SET                                  = 0
   645  	SEGV_ACCERR                               = 2
   646  	SEGV_MAPERR                               = 1
   647  	SEGV_NOOP                                 = 0
   648  	SIGABRT                                   = 6
   649  	SIGALRM                                   = 14
   650  	SIGBUS                                    = 10
   651  	SIGCHLD                                   = 20
   652  	SIGCONT                                   = 19
   653  	SIGEMT                                    = 7
   654  	SIGEV_NONE                                = 0
   655  	SIGEV_SIGNAL                              = 1
   656  	SIGEV_THREAD                              = 3
   657  	SIGFPE                                    = 8
   658  	SIGHUP                                    = 1
   659  	SIGILL                                    = 4
   660  	SIGINFO                                   = 29
   661  	SIGINT                                    = 2
   662  	SIGIO                                     = 23
   663  	SIGIOT                                    = 6
   664  	SIGKILL                                   = 9
   665  	SIGPIPE                                   = 13
   666  	SIGPROF                                   = 27
   667  	SIGQUIT                                   = 3
   668  	SIGSEGV                                   = 11
   669  	SIGSTKSZ                                  = 131072
   670  	SIGSTOP                                   = 17
   671  	SIGSYS                                    = 12
   672  	SIGTERM                                   = 15
   673  	SIGTRAP                                   = 5
   674  	SIGTSTP                                   = 18
   675  	SIGTTIN                                   = 21
   676  	SIGTTOU                                   = 22
   677  	SIGURG                                    = 16
   678  	SIGUSR1                                   = 30
   679  	SIGUSR2                                   = 31
   680  	SIGVTALRM                                 = 26
   681  	SIGWINCH                                  = 28
   682  	SIGXCPU                                   = 24
   683  	SIGXFSZ                                   = 25
   684  	SIG_ATOMIC_MAX                            = 2147483647
   685  	SIG_ATOMIC_MIN                            = -2147483648
   686  	SIG_BLOCK                                 = 1
   687  	SIG_SETMASK                               = 3
   688  	SIG_UNBLOCK                               = 2
   689  	SIZE_MAX                                  = 18446744073709551615
   690  	SI_ASYNCIO                                = 0x10004
   691  	SI_MESGQ                                  = 0x10005
   692  	SI_QUEUE                                  = 0x10002
   693  	SI_TIMER                                  = 0x10003
   694  	SI_USER                                   = 0x10001
   695  	SS_DISABLE                                = 0x0004
   696  	SS_ONSTACK                                = 0x0001
   697  	STDC_HEADERS                              = 1
   698  	STDERR_FILENO                             = 2
   699  	STDIN_FILENO                              = 0
   700  	STDOUT_FILENO                             = 1
   701  	SV_INTERRUPT                              = 2
   702  	SV_NOCLDSTOP                              = 8
   703  	SV_NODEFER                                = 16
   704  	SV_ONSTACK                                = 1
   705  	SV_RESETHAND                              = 4
   706  	SV_SIGINFO                                = 64
   707  	SYNC_VOLUME_FULLSYNC                      = 0x01
   708  	SYNC_VOLUME_WAIT                          = 0x02
   709  	S_IEXEC                                   = 64
   710  	S_IFBLK                                   = 0060000
   711  	S_IFCHR                                   = 0020000
   712  	S_IFDIR                                   = 0040000
   713  	S_IFIFO                                   = 0010000
   714  	S_IFLNK                                   = 0120000
   715  	S_IFMT                                    = 0170000
   716  	S_IFREG                                   = 0100000
   717  	S_IFSOCK                                  = 0140000
   718  	S_IFWHT                                   = 0160000
   719  	S_IREAD                                   = 256
   720  	S_IRGRP                                   = 0000040
   721  	S_IROTH                                   = 0000004
   722  	S_IRUSR                                   = 0000400
   723  	S_IRWXG                                   = 0000070
   724  	S_IRWXO                                   = 0000007
   725  	S_IRWXU                                   = 0000700
   726  	S_ISGID                                   = 0002000
   727  	S_ISTXT                                   = 512
   728  	S_ISUID                                   = 0004000
   729  	S_ISVTX                                   = 0001000
   730  	S_IWGRP                                   = 0000020
   731  	S_IWOTH                                   = 0000002
   732  	S_IWRITE                                  = 128
   733  	S_IWUSR                                   = 0000200
   734  	S_IXGRP                                   = 0000010
   735  	S_IXOTH                                   = 0000001
   736  	S_IXUSR                                   = 0000100
   737  	ScreenSaverActive                         = 1
   738  	ScreenSaverReset                          = 0
   739  	SelectionClear                            = 29
   740  	SelectionNotify                           = 31
   741  	SelectionRequest                          = 30
   742  	SetModeDelete                             = 1
   743  	SetModeInsert                             = 0
   744  	ShiftMapIndex                             = 0
   745  	ShiftMask                                 = 1
   746  	SouthEastGravity                          = 9
   747  	SouthGravity                              = 8
   748  	SouthWestGravity                          = 7
   749  	StaticColor                               = 2
   750  	StaticGravity                             = 10
   751  	StaticGray                                = 0
   752  	StippleShape                              = 2
   753  	StructureNotifyMask                       = 131072
   754  	SubstructureNotifyMask                    = 524288
   755  	SubstructureRedirectMask                  = 1048576
   756  	Success                                   = 0
   757  	SyncBoth                                  = 7
   758  	SyncKeyboard                              = 4
   759  	SyncPointer                               = 1
   760  	TIME_UTC                                  = 1
   761  	TRAP_BRKPT                                = 1
   762  	TRAP_TRACE                                = 2
   763  	TRUE                                      = 1
   764  	TileShape                                 = 1
   765  	TopIf                                     = 2
   766  	TrueColor                                 = 4
   767  	UINT16_MAX                                = 65535
   768  	UINT32_MAX                                = 4294967295
   769  	UINT64_MAX                                = 18446744073709551615
   770  	UINT8_MAX                                 = 255
   771  	UINTMAX_MAX                               = 18446744073709551615
   772  	UINTPTR_MAX                               = 18446744073709551615
   773  	UINT_FAST16_MAX                           = 65535
   774  	UINT_FAST32_MAX                           = 4294967295
   775  	UINT_FAST64_MAX                           = 18446744073709551615
   776  	UINT_FAST8_MAX                            = 255
   777  	UINT_LEAST16_MAX                          = 65535
   778  	UINT_LEAST32_MAX                          = 4294967295
   779  	UINT_LEAST64_MAX                          = 18446744073709551615
   780  	UINT_LEAST8_MAX                           = 255
   781  	UnmapGravity                              = 0
   782  	UnmapNotify                               = 18
   783  	Unsorted                                  = 0
   784  	VERSION                                   = "1.1.2"
   785  	VisibilityChangeMask                      = 65536
   786  	VisibilityFullyObscured                   = 2
   787  	VisibilityNotify                          = 15
   788  	VisibilityPartiallyObscured               = 1
   789  	VisibilityUnobscured                      = 0
   790  	WAIT_ANY                                  = -1
   791  	WAIT_MYPGRP                               = 0
   792  	WAKEMON_DISABLE                           = 0x02
   793  	WAKEMON_ENABLE                            = 0x01
   794  	WAKEMON_GET_PARAMS                        = 0x04
   795  	WAKEMON_MAKE_FATAL                        = 0x10
   796  	WAKEMON_SET_DEFAULTS                      = 0x08
   797  	WCHAR_MAX                                 = 2147483647
   798  	WCHAR_MIN                                 = -2147483648
   799  	WCONTINUED                                = 0x00000010
   800  	WCOREFLAG                                 = 0200
   801  	WEXITED                                   = 0x00000004
   802  	WINT_MAX                                  = 2147483647
   803  	WINT_MIN                                  = -2147483648
   804  	WNOHANG                                   = 0x00000001
   805  	WNOWAIT                                   = 0x00000020
   806  	WSTOPPED                                  = 0x00000008
   807  	WUNTRACED                                 = 0x00000002
   808  	W_OK                                      = 2
   809  	WestGravity                               = 4
   810  	WhenMapped                                = 1
   811  	WindingRule                               = 1
   812  	XDM_DEFAULT_MCAST_ADDR6                   = "ff02:0:0:0:0:0:0:12b"
   813  	XDM_DEF_DORMANCY                          = 180
   814  	XDM_KA_RTX_LIMIT                          = 4
   815  	XDM_MAX_DORMANCY                          = 86400
   816  	XDM_MAX_MSGLEN                            = 8192
   817  	XDM_MAX_RTX                               = 32
   818  	XDM_MIN_RTX                               = 2
   819  	XDM_PROTOCOL_VERSION                      = 1
   820  	XDM_RTX_LIMIT                             = 7
   821  	XDM_UDP_PORT                              = 177
   822  	XMD_H                                     = 1
   823  	XYBitmap                                  = 0
   824  	XYPixmap                                  = 1
   825  	X_BIG_ENDIAN                              = 4321
   826  	X_BYTE_ORDER                              = 1234
   827  	X_H                                       = 0
   828  	X_LITTLE_ENDIAN                           = 1234
   829  	X_OK                                      = 1
   830  	X_PROTOCOL                                = 11
   831  	X_PROTOCOL_REVISION                       = 0
   832  	YSorted                                   = 1
   833  	YXBanded                                  = 3
   834  	YXSorted                                  = 2
   835  	ZPixmap                                   = 2
   836  	X_ACCESS_EXTENDED_MASK                    = 4193792
   837  	X_ALLOCA_H_                               = 0
   838  	X_ALL_SOURCE                              = 1
   839  	X_APPEND_OK                               = 8192
   840  	X_BLKCNT_T                                = 0
   841  	X_BLKSIZE_T                               = 0
   842  	X_BSD_I386__TYPES_H_                      = 0
   843  	X_BSD_MACHINE_ENDIAN_H_                   = 0
   844  	X_BSD_MACHINE_SIGNAL_H_                   = 0
   845  	X_BSD_MACHINE_TYPES_H_                    = 0
   846  	X_BSD_MACHINE__TYPES_H_                   = 0
   847  	X_CADDR_T                                 = 0
   848  	X_CDEFS_H_                                = 0
   849  	X_CHOWN_OK                                = 2097152
   850  	X_CLOCK_T                                 = 0
   851  	X_CS_DARWIN_USER_CACHE_DIR                = 65538
   852  	X_CS_DARWIN_USER_DIR                      = 65536
   853  	X_CS_DARWIN_USER_TEMP_DIR                 = 65537
   854  	X_CS_PATH                                 = 1
   855  	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS          = 2
   856  	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS         = 3
   857  	X_CS_POSIX_V6_ILP32_OFF32_LIBS            = 4
   858  	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS         = 5
   859  	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS        = 6
   860  	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS           = 7
   861  	X_CS_POSIX_V6_LP64_OFF64_CFLAGS           = 8
   862  	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS          = 9
   863  	X_CS_POSIX_V6_LP64_OFF64_LIBS             = 10
   864  	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS         = 11
   865  	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS        = 12
   866  	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS           = 13
   867  	X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS       = 14
   868  	X_CS_XBS5_ILP32_OFF32_CFLAGS              = 20
   869  	X_CS_XBS5_ILP32_OFF32_LDFLAGS             = 21
   870  	X_CS_XBS5_ILP32_OFF32_LIBS                = 22
   871  	X_CS_XBS5_ILP32_OFF32_LINTFLAGS           = 23
   872  	X_CS_XBS5_ILP32_OFFBIG_CFLAGS             = 24
   873  	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS            = 25
   874  	X_CS_XBS5_ILP32_OFFBIG_LIBS               = 26
   875  	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS          = 27
   876  	X_CS_XBS5_LP64_OFF64_CFLAGS               = 28
   877  	X_CS_XBS5_LP64_OFF64_LDFLAGS              = 29
   878  	X_CS_XBS5_LP64_OFF64_LIBS                 = 30
   879  	X_CS_XBS5_LP64_OFF64_LINTFLAGS            = 31
   880  	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS             = 32
   881  	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS            = 33
   882  	X_CS_XBS5_LPBIG_OFFBIG_LIBS               = 34
   883  	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS          = 35
   884  	X_CTERMID_H_                              = 0
   885  	X_CT_RUNE_T                               = 0
   886  	X_DARWIN_FEATURE_64_BIT_INODE             = 1
   887  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE    = 1
   888  	X_DARWIN_FEATURE_UNIX_CONFORMANCE         = 3
   889  	X_DELETE_OK                               = 4096
   890  	X_DEV_T                                   = 0
   891  	X_ERRNO_T                                 = 0
   892  	X_EXECUTE_OK                              = 2048
   893  	X_FD_SET                                  = 0
   894  	X_FILESEC_T                               = 0
   895  	X_FILE_OFFSET_BITS                        = 64
   896  	X_FORTIFY_SOURCE                          = 2
   897  	X_FSBLKCNT_T                              = 0
   898  	X_FSFILCNT_T                              = 0
   899  	X_GCC_WRAP_STDINT_H                       = 0
   900  	X_GID_T                                   = 0
   901  	X_GNU_SOURCE                              = 1
   902  	X_I386_SIGNAL_H_                          = 1
   903  	X_I386__ENDIAN_H_                         = 0
   904  	X_ID_T                                    = 0
   905  	X_INO64_T                                 = 0
   906  	X_INO_T                                   = 0
   907  	X_INT16_T                                 = 0
   908  	X_INT32_T                                 = 0
   909  	X_INT64_T                                 = 0
   910  	X_INT8_T                                  = 0
   911  	X_INTMAX_T                                = 0
   912  	X_INTPTR_T                                = 0
   913  	X_IN_ADDR_T                               = 0
   914  	X_IN_PORT_T                               = 0
   915  	X_KEY_T                                   = 0
   916  	X_LP64                                    = 1
   917  	X_MACHTYPES_H_                            = 0
   918  	X_MACH_I386__STRUCTS_H_                   = 0
   919  	X_MACH_MACHINE__STRUCTS_H_                = 0
   920  	X_MALLOC_UNDERSCORE_MALLOC_H_             = 0
   921  	X_MCONTEXT_T                              = 0
   922  	X_MODE_T                                  = 0
   923  	X_NLINK_T                                 = 0
   924  	X_Nonnull                                 = 0
   925  	X_Null_unspecified                        = 0
   926  	X_Nullable                                = 0
   927  	X_OFF_T                                   = 0
   928  	X_OS__OSBYTEORDERI386_H                   = 0
   929  	X_OS__OSBYTEORDER_H                       = 0
   930  	X_PC_2_SYMLINKS                           = 15
   931  	X_PC_ALLOC_SIZE_MIN                       = 16
   932  	X_PC_ASYNC_IO                             = 17
   933  	X_PC_AUTH_OPAQUE_NP                       = 14
   934  	X_PC_CASE_PRESERVING                      = 12
   935  	X_PC_CASE_SENSITIVE                       = 11
   936  	X_PC_CHOWN_RESTRICTED                     = 7
   937  	X_PC_EXTENDED_SECURITY_NP                 = 13
   938  	X_PC_FILESIZEBITS                         = 18
   939  	X_PC_LINK_MAX                             = 1
   940  	X_PC_MAX_CANON                            = 2
   941  	X_PC_MAX_INPUT                            = 3
   942  	X_PC_MIN_HOLE_SIZE                        = 27
   943  	X_PC_NAME_CHARS_MAX                       = 10
   944  	X_PC_NAME_MAX                             = 4
   945  	X_PC_NO_TRUNC                             = 8
   946  	X_PC_PATH_MAX                             = 5
   947  	X_PC_PIPE_BUF                             = 6
   948  	X_PC_PRIO_IO                              = 19
   949  	X_PC_REC_INCR_XFER_SIZE                   = 20
   950  	X_PC_REC_MAX_XFER_SIZE                    = 21
   951  	X_PC_REC_MIN_XFER_SIZE                    = 22
   952  	X_PC_REC_XFER_ALIGN                       = 23
   953  	X_PC_SYMLINK_MAX                          = 24
   954  	X_PC_SYNC_IO                              = 25
   955  	X_PC_VDISABLE                             = 9
   956  	X_PC_XATTR_SIZE_BITS                      = 26
   957  	X_PID_T                                   = 0
   958  	X_POSIX2_CHAR_TERM                        = 200112
   959  	X_POSIX2_C_BIND                           = 200112
   960  	X_POSIX2_C_DEV                            = 200112
   961  	X_POSIX2_FORT_DEV                         = -1
   962  	X_POSIX2_FORT_RUN                         = 200112
   963  	X_POSIX2_LOCALEDEF                        = 200112
   964  	X_POSIX2_PBS                              = -1
   965  	X_POSIX2_PBS_ACCOUNTING                   = -1
   966  	X_POSIX2_PBS_CHECKPOINT                   = -1
   967  	X_POSIX2_PBS_LOCATE                       = -1
   968  	X_POSIX2_PBS_MESSAGE                      = -1
   969  	X_POSIX2_PBS_TRACK                        = -1
   970  	X_POSIX2_SW_DEV                           = 200112
   971  	X_POSIX2_UPE                              = 200112
   972  	X_POSIX2_VERSION                          = 200112
   973  	X_POSIX_ADVISORY_INFO                     = -1
   974  	X_POSIX_ASYNCHRONOUS_IO                   = -1
   975  	X_POSIX_BARRIERS                          = -1
   976  	X_POSIX_CHOWN_RESTRICTED                  = 200112
   977  	X_POSIX_CLOCK_SELECTION                   = -1
   978  	X_POSIX_CPUTIME                           = -1
   979  	X_POSIX_FSYNC                             = 200112
   980  	X_POSIX_IPV6                              = 200112
   981  	X_POSIX_JOB_CONTROL                       = 200112
   982  	X_POSIX_MAPPED_FILES                      = 200112
   983  	X_POSIX_MEMLOCK                           = -1
   984  	X_POSIX_MEMLOCK_RANGE                     = -1
   985  	X_POSIX_MEMORY_PROTECTION                 = 200112
   986  	X_POSIX_MESSAGE_PASSING                   = -1
   987  	X_POSIX_MONOTONIC_CLOCK                   = -1
   988  	X_POSIX_NO_TRUNC                          = 200112
   989  	X_POSIX_PRIORITIZED_IO                    = -1
   990  	X_POSIX_PRIORITY_SCHEDULING               = -1
   991  	X_POSIX_PTHREAD_SEMANTICS                 = 1
   992  	X_POSIX_RAW_SOCKETS                       = -1
   993  	X_POSIX_READER_WRITER_LOCKS               = 200112
   994  	X_POSIX_REALTIME_SIGNALS                  = -1
   995  	X_POSIX_REGEXP                            = 200112
   996  	X_POSIX_SAVED_IDS                         = 200112
   997  	X_POSIX_SEMAPHORES                        = -1
   998  	X_POSIX_SHARED_MEMORY_OBJECTS             = -1
   999  	X_POSIX_SHELL                             = 200112
  1000  	X_POSIX_SPAWN                             = -1
  1001  	X_POSIX_SPIN_LOCKS                        = -1
  1002  	X_POSIX_SPORADIC_SERVER                   = -1
  1003  	X_POSIX_SYNCHRONIZED_IO                   = -1
  1004  	X_POSIX_THREADS                           = 200112
  1005  	X_POSIX_THREAD_ATTR_STACKADDR             = 200112
  1006  	X_POSIX_THREAD_ATTR_STACKSIZE             = 200112
  1007  	X_POSIX_THREAD_CPUTIME                    = -1
  1008  	X_POSIX_THREAD_KEYS_MAX                   = 128
  1009  	X_POSIX_THREAD_PRIORITY_SCHEDULING        = -1
  1010  	X_POSIX_THREAD_PRIO_INHERIT               = -1
  1011  	X_POSIX_THREAD_PRIO_PROTECT               = -1
  1012  	X_POSIX_THREAD_PROCESS_SHARED             = 200112
  1013  	X_POSIX_THREAD_SAFE_FUNCTIONS             = 200112
  1014  	X_POSIX_THREAD_SPORADIC_SERVER            = -1
  1015  	X_POSIX_TIMEOUTS                          = -1
  1016  	X_POSIX_TIMERS                            = -1
  1017  	X_POSIX_TRACE                             = -1
  1018  	X_POSIX_TRACE_EVENT_FILTER                = -1
  1019  	X_POSIX_TRACE_INHERIT                     = -1
  1020  	X_POSIX_TRACE_LOG                         = -1
  1021  	X_POSIX_TYPED_MEMORY_OBJECTS              = -1
  1022  	X_POSIX_V6_ILP32_OFF32                    = -1
  1023  	X_POSIX_V6_ILP32_OFFBIG                   = -1
  1024  	X_POSIX_V6_LP64_OFF64                     = 1
  1025  	X_POSIX_V6_LPBIG_OFFBIG                   = 1
  1026  	X_POSIX_V7_ILP32_OFF32                    = -1
  1027  	X_POSIX_V7_ILP32_OFFBIG                   = -1
  1028  	X_POSIX_V7_LP64_OFF64                     = 1
  1029  	X_POSIX_V7_LPBIG_OFFBIG                   = 1
  1030  	X_POSIX_VERSION                           = 200112
  1031  	X_PTHREAD_ATTR_T                          = 0
  1032  	X_PTHREAD_CONDATTR_T                      = 0
  1033  	X_PTHREAD_COND_T                          = 0
  1034  	X_PTHREAD_KEY_T                           = 0
  1035  	X_PTHREAD_MUTEXATTR_T                     = 0
  1036  	X_PTHREAD_MUTEX_T                         = 0
  1037  	X_PTHREAD_ONCE_T                          = 0
  1038  	X_PTHREAD_RWLOCKATTR_T                    = 0
  1039  	X_PTHREAD_RWLOCK_T                        = 0
  1040  	X_PTHREAD_T                               = 0
  1041  	X_QUAD_HIGHWORD                           = 1
  1042  	X_QUAD_LOWWORD                            = 0
  1043  	X_RATTR_OK                                = 32768
  1044  	X_READ_OK                                 = 512
  1045  	X_REXT_OK                                 = 131072
  1046  	X_RLIMIT_POSIX_FLAG                       = 0x1000
  1047  	X_RMFILE_OK                               = 16384
  1048  	X_RPERM_OK                                = 524288
  1049  	X_RSIZE_T                                 = 0
  1050  	X_RUNE_T                                  = 0
  1051  	X_SC_2_CHAR_TERM                          = 20
  1052  	X_SC_2_C_BIND                             = 18
  1053  	X_SC_2_C_DEV                              = 19
  1054  	X_SC_2_FORT_DEV                           = 21
  1055  	X_SC_2_FORT_RUN                           = 22
  1056  	X_SC_2_LOCALEDEF                          = 23
  1057  	X_SC_2_PBS                                = 59
  1058  	X_SC_2_PBS_ACCOUNTING                     = 60
  1059  	X_SC_2_PBS_CHECKPOINT                     = 61
  1060  	X_SC_2_PBS_LOCATE                         = 62
  1061  	X_SC_2_PBS_MESSAGE                        = 63
  1062  	X_SC_2_PBS_TRACK                          = 64
  1063  	X_SC_2_SW_DEV                             = 24
  1064  	X_SC_2_UPE                                = 25
  1065  	X_SC_2_VERSION                            = 17
  1066  	X_SC_ADVISORY_INFO                        = 65
  1067  	X_SC_AIO_LISTIO_MAX                       = 42
  1068  	X_SC_AIO_MAX                              = 43
  1069  	X_SC_AIO_PRIO_DELTA_MAX                   = 44
  1070  	X_SC_ARG_MAX                              = 1
  1071  	X_SC_ASYNCHRONOUS_IO                      = 28
  1072  	X_SC_ATEXIT_MAX                           = 107
  1073  	X_SC_BARRIERS                             = 66
  1074  	X_SC_BC_BASE_MAX                          = 9
  1075  	X_SC_BC_DIM_MAX                           = 10
  1076  	X_SC_BC_SCALE_MAX                         = 11
  1077  	X_SC_BC_STRING_MAX                        = 12
  1078  	X_SC_CHILD_MAX                            = 2
  1079  	X_SC_CLK_TCK                              = 3
  1080  	X_SC_CLOCK_SELECTION                      = 67
  1081  	X_SC_COLL_WEIGHTS_MAX                     = 13
  1082  	X_SC_CPUTIME                              = 68
  1083  	X_SC_DELAYTIMER_MAX                       = 45
  1084  	X_SC_EXPR_NEST_MAX                        = 14
  1085  	X_SC_FILE_LOCKING                         = 69
  1086  	X_SC_FSYNC                                = 38
  1087  	X_SC_GETGR_R_SIZE_MAX                     = 70
  1088  	X_SC_GETPW_R_SIZE_MAX                     = 71
  1089  	X_SC_HOST_NAME_MAX                        = 72
  1090  	X_SC_IOV_MAX                              = 56
  1091  	X_SC_IPV6                                 = 118
  1092  	X_SC_JOB_CONTROL                          = 6
  1093  	X_SC_LINE_MAX                             = 15
  1094  	X_SC_LOGIN_NAME_MAX                       = 73
  1095  	X_SC_MAPPED_FILES                         = 47
  1096  	X_SC_MEMLOCK                              = 30
  1097  	X_SC_MEMLOCK_RANGE                        = 31
  1098  	X_SC_MEMORY_PROTECTION                    = 32
  1099  	X_SC_MESSAGE_PASSING                      = 33
  1100  	X_SC_MONOTONIC_CLOCK                      = 74
  1101  	X_SC_MQ_OPEN_MAX                          = 46
  1102  	X_SC_MQ_PRIO_MAX                          = 75
  1103  	X_SC_NGROUPS_MAX                          = 4
  1104  	X_SC_NPROCESSORS_CONF                     = 57
  1105  	X_SC_NPROCESSORS_ONLN                     = 58
  1106  	X_SC_OPEN_MAX                             = 5
  1107  	X_SC_PAGESIZE                             = 29
  1108  	X_SC_PAGE_SIZE                            = 29
  1109  	X_SC_PASS_MAX                             = 131
  1110  	X_SC_PHYS_PAGES                           = 200
  1111  	X_SC_PRIORITIZED_IO                       = 34
  1112  	X_SC_PRIORITY_SCHEDULING                  = 35
  1113  	X_SC_RAW_SOCKETS                          = 119
  1114  	X_SC_READER_WRITER_LOCKS                  = 76
  1115  	X_SC_REALTIME_SIGNALS                     = 36
  1116  	X_SC_REGEXP                               = 77
  1117  	X_SC_RE_DUP_MAX                           = 16
  1118  	X_SC_RTSIG_MAX                            = 48
  1119  	X_SC_SAVED_IDS                            = 7
  1120  	X_SC_SEMAPHORES                           = 37
  1121  	X_SC_SEM_NSEMS_MAX                        = 49
  1122  	X_SC_SEM_VALUE_MAX                        = 50
  1123  	X_SC_SHARED_MEMORY_OBJECTS                = 39
  1124  	X_SC_SHELL                                = 78
  1125  	X_SC_SIGQUEUE_MAX                         = 51
  1126  	X_SC_SPAWN                                = 79
  1127  	X_SC_SPIN_LOCKS                           = 80
  1128  	X_SC_SPORADIC_SERVER                      = 81
  1129  	X_SC_SS_REPL_MAX                          = 126
  1130  	X_SC_STREAM_MAX                           = 26
  1131  	X_SC_SYMLOOP_MAX                          = 120
  1132  	X_SC_SYNCHRONIZED_IO                      = 40
  1133  	X_SC_THREADS                              = 96
  1134  	X_SC_THREAD_ATTR_STACKADDR                = 82
  1135  	X_SC_THREAD_ATTR_STACKSIZE                = 83
  1136  	X_SC_THREAD_CPUTIME                       = 84
  1137  	X_SC_THREAD_DESTRUCTOR_ITERATIONS         = 85
  1138  	X_SC_THREAD_KEYS_MAX                      = 86
  1139  	X_SC_THREAD_PRIORITY_SCHEDULING           = 89
  1140  	X_SC_THREAD_PRIO_INHERIT                  = 87
  1141  	X_SC_THREAD_PRIO_PROTECT                  = 88
  1142  	X_SC_THREAD_PROCESS_SHARED                = 90
  1143  	X_SC_THREAD_SAFE_FUNCTIONS                = 91
  1144  	X_SC_THREAD_SPORADIC_SERVER               = 92
  1145  	X_SC_THREAD_STACK_MIN                     = 93
  1146  	X_SC_THREAD_THREADS_MAX                   = 94
  1147  	X_SC_TIMEOUTS                             = 95
  1148  	X_SC_TIMERS                               = 41
  1149  	X_SC_TIMER_MAX                            = 52
  1150  	X_SC_TRACE                                = 97
  1151  	X_SC_TRACE_EVENT_FILTER                   = 98
  1152  	X_SC_TRACE_EVENT_NAME_MAX                 = 127
  1153  	X_SC_TRACE_INHERIT                        = 99
  1154  	X_SC_TRACE_LOG                            = 100
  1155  	X_SC_TRACE_NAME_MAX                       = 128
  1156  	X_SC_TRACE_SYS_MAX                        = 129
  1157  	X_SC_TRACE_USER_EVENT_MAX                 = 130
  1158  	X_SC_TTY_NAME_MAX                         = 101
  1159  	X_SC_TYPED_MEMORY_OBJECTS                 = 102
  1160  	X_SC_TZNAME_MAX                           = 27
  1161  	X_SC_V6_ILP32_OFF32                       = 103
  1162  	X_SC_V6_ILP32_OFFBIG                      = 104
  1163  	X_SC_V6_LP64_OFF64                        = 105
  1164  	X_SC_V6_LPBIG_OFFBIG                      = 106
  1165  	X_SC_VERSION                              = 8
  1166  	X_SC_XBS5_ILP32_OFF32                     = 122
  1167  	X_SC_XBS5_ILP32_OFFBIG                    = 123
  1168  	X_SC_XBS5_LP64_OFF64                      = 124
  1169  	X_SC_XBS5_LPBIG_OFFBIG                    = 125
  1170  	X_SC_XOPEN_CRYPT                          = 108
  1171  	X_SC_XOPEN_ENH_I18N                       = 109
  1172  	X_SC_XOPEN_LEGACY                         = 110
  1173  	X_SC_XOPEN_REALTIME                       = 111
  1174  	X_SC_XOPEN_REALTIME_THREADS               = 112
  1175  	X_SC_XOPEN_SHM                            = 113
  1176  	X_SC_XOPEN_STREAMS                        = 114
  1177  	X_SC_XOPEN_UNIX                           = 115
  1178  	X_SC_XOPEN_VERSION                        = 116
  1179  	X_SC_XOPEN_XCU_VERSION                    = 121
  1180  	X_SECURE__COMMON_H_                       = 0
  1181  	X_SECURE__STRINGS_H_                      = 0
  1182  	X_SECURE__STRING_H_                       = 0
  1183  	X_SIGSET_T                                = 0
  1184  	X_SIZE_T                                  = 0
  1185  	X_SSIZE_T                                 = 0
  1186  	X_STDINT_H_                               = 0
  1187  	X_STDLIB_H_                               = 0
  1188  	X_STRINGS_H_                              = 0
  1189  	X_STRING_H_                               = 0
  1190  	X_STRUCT_TIMEVAL64                        = 0
  1191  	X_SUSECONDS_T                             = 0
  1192  	X_SYS_FCNTL_H_                            = 0
  1193  	X_SYS_RESOURCE_H_                         = 0
  1194  	X_SYS_SELECT_H_                           = 0
  1195  	X_SYS_SIGNAL_H_                           = 0
  1196  	X_SYS_TIME_H_                             = 0
  1197  	X_SYS_TYPES_H_                            = 0
  1198  	X_SYS_UNISTD_H_                           = 0
  1199  	X_SYS_WAIT_H_                             = 0
  1200  	X_SYS__ENDIAN_H_                          = 0
  1201  	X_SYS__PTHREAD_TYPES_H_                   = 0
  1202  	X_SYS__SELECT_H_                          = 0
  1203  	X_SYS__TYPES_H_                           = 0
  1204  	X_TANDEM_SOURCE                           = 1
  1205  	X_TIME_H_                                 = 0
  1206  	X_TIME_T                                  = 0
  1207  	X_UID_T                                   = 0
  1208  	X_UINT16_T                                = 0
  1209  	X_UINT32_T                                = 0
  1210  	X_UINT64_T                                = 0
  1211  	X_UINT8_T                                 = 0
  1212  	X_UINTMAX_T                               = 0
  1213  	X_UINTPTR_T                               = 0
  1214  	X_UNISTD_H_                               = 0
  1215  	X_USECONDS_T                              = 0
  1216  	X_USE_FORTIFY_LEVEL                       = 2
  1217  	X_UUID_T                                  = 0
  1218  	X_U_CHAR                                  = 0
  1219  	X_U_INT                                   = 0
  1220  	X_U_INT16_T                               = 0
  1221  	X_U_INT32_T                               = 0
  1222  	X_U_INT64_T                               = 0
  1223  	X_U_INT8_T                                = 0
  1224  	X_U_LONG                                  = 0
  1225  	X_U_SHORT                                 = 0
  1226  	X_V6_ILP32_OFF32                          = -1
  1227  	X_V6_ILP32_OFFBIG                         = -1
  1228  	X_V6_LP64_OFF64                           = 1
  1229  	X_V6_LPBIG_OFFBIG                         = 1
  1230  	X_WATTR_OK                                = 65536
  1231  	X_WCHAR_T                                 = 0
  1232  	X_WEXT_OK                                 = 262144
  1233  	X_WPERM_OK                                = 1048576
  1234  	X_WRITE_OK                                = 1024
  1235  	X_WSTOPPED                                = 0177
  1236  	X_XARCH_H_                                = 0
  1237  	X_XBS5_ILP32_OFF32                        = -1
  1238  	X_XBS5_ILP32_OFFBIG                       = -1
  1239  	X_XBS5_LP64_OFF64                         = 1
  1240  	X_XBS5_LPBIG_OFFBIG                       = 1
  1241  	X_XDMCP_H_                                = 0
  1242  	X_XFUNCPROTOBEGIN                         = 0
  1243  	X_XFUNCPROTOEND                           = 0
  1244  	X_XFUNCPROTO_H_                           = 0
  1245  	X_XOPEN_CRYPT                             = 1
  1246  	X_XOPEN_ENH_I18N                          = 1
  1247  	X_XOPEN_LEGACY                            = -1
  1248  	X_XOPEN_REALTIME                          = -1
  1249  	X_XOPEN_REALTIME_THREADS                  = -1
  1250  	X_XOPEN_SHM                               = 1
  1251  	X_XOPEN_STREAMS                           = -1
  1252  	X_XOPEN_UNIX                              = 1
  1253  	X_XOPEN_VERSION                           = 600
  1254  	X_XOPEN_XCU_VERSION                       = 4
  1255  	X_XOSDEFS_H_                              = 0
  1256  	X_XOS_H_                                  = 0
  1257  	X_XTYPEDEF_ATOM                           = 0
  1258  	X_XTYPEDEF_FONT                           = 0
  1259  	X_XTYPEDEF_MASK                           = 0
  1260  	X_XTYPEDEF_XID                            = 0
  1261  	X_X_NONSTRING                             = 0
  1262  	X_X_NOTSAN                                = 0
  1263  	AF_APPLETALK                              = 16
  1264  	AF_CCITT                                  = 10
  1265  	AF_CHAOS                                  = 5
  1266  	AF_CNT                                    = 21
  1267  	AF_COIP                                   = 20
  1268  	AF_DATAKIT                                = 9
  1269  	AF_DECnet                                 = 12
  1270  	AF_DLI                                    = 13
  1271  	AF_E164                                   = 28
  1272  	AF_ECMA                                   = 8
  1273  	AF_HYLINK                                 = 15
  1274  	AF_IEEE80211                              = 37
  1275  	AF_IMPLINK                                = 3
  1276  	AF_INET                                   = 2
  1277  	AF_INET6                                  = 30
  1278  	AF_IPX                                    = 23
  1279  	AF_ISDN                                   = 28
  1280  	AF_ISO                                    = 7
  1281  	AF_LAT                                    = 14
  1282  	AF_LINK                                   = 18
  1283  	AF_LOCAL                                  = 1
  1284  	AF_MAX                                    = 40
  1285  	AF_NATM                                   = 31
  1286  	AF_NDRV                                   = 27
  1287  	AF_NETBIOS                                = 33
  1288  	AF_NS                                     = 6
  1289  	AF_OSI                                    = 7
  1290  	AF_PPP                                    = 34
  1291  	AF_PUP                                    = 4
  1292  	AF_RESERVED_36                            = 36
  1293  	AF_ROUTE                                  = 17
  1294  	AF_SIP                                    = 24
  1295  	AF_SNA                                    = 11
  1296  	AF_SYSTEM                                 = 32
  1297  	AF_UNIX                                   = 1
  1298  	AF_UNSPEC                                 = 0
  1299  	AF_UTUN                                   = 38
  1300  	CONNECT_DATA_AUTHENTICATED                = 0x4
  1301  	CONNECT_DATA_IDEMPOTENT                   = 0x2
  1302  	CONNECT_RESUME_ON_READ_WRITE              = 0x1
  1303  	KEV_DL_ADDMULTI                           = 7
  1304  	KEV_DL_AWDL_RESTRICTED                    = 26
  1305  	KEV_DL_AWDL_UNRESTRICTED                  = 27
  1306  	KEV_DL_DELMULTI                           = 8
  1307  	KEV_DL_IFCAP_CHANGED                      = 19
  1308  	KEV_DL_IFDELEGATE_CHANGED                 = 25
  1309  	KEV_DL_IF_ATTACHED                        = 9
  1310  	KEV_DL_IF_DETACHED                        = 11
  1311  	KEV_DL_IF_DETACHING                       = 10
  1312  	KEV_DL_IF_IDLE_ROUTE_REFCNT               = 18
  1313  	KEV_DL_ISSUES                             = 24
  1314  	KEV_DL_LINK_ADDRESS_CHANGED               = 16
  1315  	KEV_DL_LINK_OFF                           = 12
  1316  	KEV_DL_LINK_ON                            = 13
  1317  	KEV_DL_LINK_QUALITY_METRIC_CHANGED        = 20
  1318  	KEV_DL_LOW_POWER_MODE_CHANGED             = 30
  1319  	KEV_DL_MASTER_ELECTED                     = 23
  1320  	KEV_DL_NODE_ABSENCE                       = 22
  1321  	KEV_DL_NODE_PRESENCE                      = 21
  1322  	KEV_DL_PROTO_ATTACHED                     = 14
  1323  	KEV_DL_PROTO_DETACHED                     = 15
  1324  	KEV_DL_QOS_MODE_CHANGED                   = 29
  1325  	KEV_DL_RRC_STATE_CHANGED                  = 28
  1326  	KEV_DL_SIFFLAGS                           = 1
  1327  	KEV_DL_SIFGENERIC                         = 6
  1328  	KEV_DL_SIFMEDIA                           = 5
  1329  	KEV_DL_SIFMETRICS                         = 2
  1330  	KEV_DL_SIFMTU                             = 3
  1331  	KEV_DL_SIFPHYS                            = 4
  1332  	KEV_DL_SUBCLASS                           = 2
  1333  	KEV_DL_WAKEFLAGS_CHANGED                  = 17
  1334  	KEV_INET6_ADDR_DELETED                    = 3
  1335  	KEV_INET6_CHANGED_ADDR                    = 2
  1336  	KEV_INET6_DEFROUTER                       = 6
  1337  	KEV_INET6_NEW_LL_ADDR                     = 4
  1338  	KEV_INET6_NEW_RTADV_ADDR                  = 5
  1339  	KEV_INET6_NEW_USER_ADDR                   = 1
  1340  	KEV_INET6_REQUEST_NAT64_PREFIX            = 7
  1341  	KEV_INET6_SUBCLASS                        = 6
  1342  	KEV_INET_ADDR_DELETED                     = 3
  1343  	KEV_INET_ARPCOLLISION                     = 7
  1344  	KEV_INET_ARPRTRALIVE                      = 10
  1345  	KEV_INET_ARPRTRFAILURE                    = 9
  1346  	KEV_INET_CHANGED_ADDR                     = 2
  1347  	KEV_INET_NEW_ADDR                         = 1
  1348  	KEV_INET_PORTINUSE                        = 8
  1349  	KEV_INET_SIFBRDADDR                       = 5
  1350  	KEV_INET_SIFDSTADDR                       = 4
  1351  	KEV_INET_SIFNETMASK                       = 6
  1352  	KEV_INET_SUBCLASS                         = 1
  1353  	MSG_CTRUNC                                = 0x20
  1354  	MSG_DONTROUTE                             = 0x4
  1355  	MSG_DONTWAIT                              = 0x80
  1356  	MSG_EOF                                   = 0x100
  1357  	MSG_EOR                                   = 0x8
  1358  	MSG_FLUSH                                 = 0x400
  1359  	MSG_HAVEMORE                              = 0x2000
  1360  	MSG_HOLD                                  = 0x800
  1361  	MSG_NEEDSA                                = 0x10000
  1362  	MSG_OOB                                   = 0x1
  1363  	MSG_PEEK                                  = 0x2
  1364  	MSG_RCVMORE                               = 0x4000
  1365  	MSG_SEND                                  = 0x1000
  1366  	MSG_TRUNC                                 = 0x10
  1367  	MSG_WAITALL                               = 0x40
  1368  	MSG_WAITSTREAM                            = 0x200
  1369  	NETSVC_MRKNG_LVL_L2                       = 1
  1370  	NETSVC_MRKNG_LVL_L3L2_ALL                 = 2
  1371  	NETSVC_MRKNG_LVL_L3L2_BK                  = 3
  1372  	NETSVC_MRKNG_UNKNOWN                      = 0
  1373  	NET_MAXID                                 = 40
  1374  	NET_RT_DUMP                               = 1
  1375  	NET_RT_DUMP2                              = 7
  1376  	NET_RT_FLAGS                              = 2
  1377  	NET_RT_FLAGS_PRIV                         = 10
  1378  	NET_RT_IFLIST                             = 3
  1379  	NET_RT_IFLIST2                            = 6
  1380  	NET_RT_MAXID                              = 11
  1381  	NET_RT_STAT                               = 4
  1382  	NET_RT_TRASH                              = 5
  1383  	NET_SERVICE_TYPE_AV                       = 6
  1384  	NET_SERVICE_TYPE_BE                       = 0
  1385  	NET_SERVICE_TYPE_BK                       = 1
  1386  	NET_SERVICE_TYPE_OAM                      = 7
  1387  	NET_SERVICE_TYPE_RD                       = 8
  1388  	NET_SERVICE_TYPE_RV                       = 5
  1389  	NET_SERVICE_TYPE_SIG                      = 2
  1390  	NET_SERVICE_TYPE_VI                       = 3
  1391  	NET_SERVICE_TYPE_VO                       = 4
  1392  	PF_APPLETALK                              = 16
  1393  	PF_CCITT                                  = 10
  1394  	PF_CHAOS                                  = 5
  1395  	PF_CNT                                    = 21
  1396  	PF_COIP                                   = 20
  1397  	PF_DATAKIT                                = 9
  1398  	PF_DECnet                                 = 12
  1399  	PF_DLI                                    = 13
  1400  	PF_ECMA                                   = 8
  1401  	PF_HYLINK                                 = 15
  1402  	PF_IMPLINK                                = 3
  1403  	PF_INET                                   = 2
  1404  	PF_INET6                                  = 30
  1405  	PF_IPX                                    = 23
  1406  	PF_ISDN                                   = 28
  1407  	PF_ISO                                    = 7
  1408  	PF_KEY                                    = 29
  1409  	PF_LAT                                    = 14
  1410  	PF_LINK                                   = 18
  1411  	PF_LOCAL                                  = 1
  1412  	PF_MAX                                    = 40
  1413  	PF_NATM                                   = 31
  1414  	PF_NDRV                                   = 27
  1415  	PF_NETBIOS                                = 33
  1416  	PF_NS                                     = 6
  1417  	PF_OSI                                    = 7
  1418  	PF_PIP                                    = 25
  1419  	PF_PPP                                    = 34
  1420  	PF_PUP                                    = 4
  1421  	PF_RESERVED_36                            = 36
  1422  	PF_ROUTE                                  = 17
  1423  	PF_RTIP                                   = 22
  1424  	PF_SIP                                    = 24
  1425  	PF_SNA                                    = 11
  1426  	PF_SYSTEM                                 = 32
  1427  	PF_UNIX                                   = 1
  1428  	PF_UNSPEC                                 = 0
  1429  	PF_UTUN                                   = 38
  1430  	PF_XTP                                    = 19
  1431  	SAE_ASSOCID_ANY                           = 0
  1432  	SAE_CONNID_ANY                            = 0
  1433  	SCM_CREDS                                 = 0x03
  1434  	SCM_RIGHTS                                = 0x01
  1435  	SCM_TIMESTAMP                             = 0x02
  1436  	SCM_TIMESTAMP_MONOTONIC                   = 0x04
  1437  	SHUT_RD                                   = 0
  1438  	SHUT_RDWR                                 = 2
  1439  	SHUT_WR                                   = 1
  1440  	SOCK_DGRAM                                = 2
  1441  	SOCK_MAXADDRLEN                           = 255
  1442  	SOCK_RAW                                  = 3
  1443  	SOCK_RDM                                  = 4
  1444  	SOCK_SEQPACKET                            = 5
  1445  	SOCK_STREAM                               = 1
  1446  	SOL_SOCKET                                = 0xffff
  1447  	SOMAXCONN                                 = 128
  1448  	SONPX_SETOPTSHUT                          = 0x000000001
  1449  	SO_ACCEPTCONN                             = 0x0002
  1450  	SO_BROADCAST                              = 0x0020
  1451  	SO_DEBUG                                  = 0x0001
  1452  	SO_DONTROUTE                              = 0x0010
  1453  	SO_DONTTRUNC                              = 0x2000
  1454  	SO_ERROR                                  = 0x1007
  1455  	SO_KEEPALIVE                              = 0x0008
  1456  	SO_LABEL                                  = 0x1010
  1457  	SO_LINGER                                 = 0x0080
  1458  	SO_LINGER_SEC                             = 0x1080
  1459  	SO_NETSVC_MARKING_LEVEL                   = 0x1119
  1460  	SO_NET_SERVICE_TYPE                       = 0x1116
  1461  	SO_NKE                                    = 0x1021
  1462  	SO_NOADDRERR                              = 0x1023
  1463  	SO_NOSIGPIPE                              = 0x1022
  1464  	SO_NOTIFYCONFLICT                         = 0x1026
  1465  	SO_NP_EXTENSIONS                          = 0x1083
  1466  	SO_NREAD                                  = 0x1020
  1467  	SO_NUMRCVPKT                              = 0x1112
  1468  	SO_NWRITE                                 = 0x1024
  1469  	SO_OOBINLINE                              = 0x0100
  1470  	SO_PEERLABEL                              = 0x1011
  1471  	SO_RANDOMPORT                             = 0x1082
  1472  	SO_RCVBUF                                 = 0x1002
  1473  	SO_RCVLOWAT                               = 0x1004
  1474  	SO_RCVTIMEO                               = 0x1006
  1475  	SO_REUSEADDR                              = 0x0004
  1476  	SO_REUSEPORT                              = 0x0200
  1477  	SO_REUSESHAREUID                          = 0x1025
  1478  	SO_SNDBUF                                 = 0x1001
  1479  	SO_SNDLOWAT                               = 0x1003
  1480  	SO_SNDTIMEO                               = 0x1005
  1481  	SO_TIMESTAMP                              = 0x0400
  1482  	SO_TIMESTAMP_MONOTONIC                    = 0x0800
  1483  	SO_TYPE                                   = 0x1008
  1484  	SO_UPCALLCLOSEWAIT                        = 0x1027
  1485  	SO_USELOOPBACK                            = 0x0040
  1486  	SO_WANTMORE                               = 0x4000
  1487  	SO_WANTOOBFLAG                            = 0x8000
  1488  	X_I386__PARAM_H_                          = 0
  1489  	X_NET_NETKEV_H_                           = 0
  1490  	X_SA_FAMILY_T                             = 0
  1491  	X_SOCKLEN_T                               = 0
  1492  	X_SS_MAXSIZE                              = 128
  1493  	X_STRUCT_IOVEC                            = 0
  1494  	X_SYS_SOCKET_H_                           = 0
  1495  	Pseudo_AF_HDRCMPLT                        = 35
  1496  	Pseudo_AF_KEY                             = 29
  1497  	Pseudo_AF_PIP                             = 25
  1498  	Pseudo_AF_RTIP                            = 22
  1499  	Pseudo_AF_XTP                             = 19
  1500  	HALF_ITERATIONS                           = 8
  1501  	ITERATIONS                                = 16
  1502  )
  1503  
  1504  const ( /* fcntl.h:512:1: */
  1505  	FILESEC_OWNER   = 1
  1506  	FILESEC_GROUP   = 2
  1507  	FILESEC_UUID    = 3
  1508  	FILESEC_MODE    = 4
  1509  	FILESEC_ACL     = 5
  1510  	FILESEC_GRPUUID = 6
  1511  
  1512  	// XXX these are private to the implementation
  1513  	FILESEC_ACL_RAW       = 100
  1514  	FILESEC_ACL_ALLOCSIZE = 101
  1515  )
  1516  
  1517  // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
  1518  //
  1519  // @APPLE_LICENSE_HEADER_START@
  1520  //
  1521  // This file contains Original Code and/or Modifications of Original Code
  1522  // as defined in and that are subject to the Apple Public Source License
  1523  // Version 2.0 (the 'License'). You may not use this file except in
  1524  // compliance with the License. Please obtain a copy of the License at
  1525  // http://www.opensource.apple.com/apsl/ and read it before using this
  1526  // file.
  1527  //
  1528  // The Original Code and all software distributed under the License are
  1529  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1530  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1531  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1532  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1533  // Please see the License for the specific language governing rights and
  1534  // limitations under the License.
  1535  //
  1536  // @APPLE_LICENSE_HEADER_END@
  1537  // -
  1538  // Copyright (c) 1990, 1993
  1539  //	The Regents of the University of California.  All rights reserved.
  1540  //
  1541  // Redistribution and use in source and binary forms, with or without
  1542  // modification, are permitted provided that the following conditions
  1543  // are met:
  1544  // 1. Redistributions of source code must retain the above copyright
  1545  //    notice, this list of conditions and the following disclaimer.
  1546  // 2. Redistributions in binary form must reproduce the above copyright
  1547  //    notice, this list of conditions and the following disclaimer in the
  1548  //    documentation and/or other materials provided with the distribution.
  1549  // 3. All advertising materials mentioning features or use of this software
  1550  //    must display the following acknowledgement:
  1551  //	This product includes software developed by the University of
  1552  //	California, Berkeley and its contributors.
  1553  // 4. Neither the name of the University nor the names of its contributors
  1554  //    may be used to endorse or promote products derived from this software
  1555  //    without specific prior written permission.
  1556  //
  1557  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1558  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1559  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1560  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1561  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1562  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1563  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1564  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1565  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1566  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1567  // SUCH DAMAGE.
  1568  //
  1569  //	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
  1570  
  1571  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  1572  //
  1573  // @APPLE_LICENSE_HEADER_START@
  1574  //
  1575  // This file contains Original Code and/or Modifications of Original Code
  1576  // as defined in and that are subject to the Apple Public Source License
  1577  // Version 2.0 (the 'License'). You may not use this file except in
  1578  // compliance with the License. Please obtain a copy of the License at
  1579  // http://www.opensource.apple.com/apsl/ and read it before using this
  1580  // file.
  1581  //
  1582  // The Original Code and all software distributed under the License are
  1583  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1584  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1585  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1586  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1587  // Please see the License for the specific language governing rights and
  1588  // limitations under the License.
  1589  //
  1590  // @APPLE_LICENSE_HEADER_END@
  1591  
  1592  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1593  //
  1594  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1595  //
  1596  // This file contains Original Code and/or Modifications of Original Code
  1597  // as defined in and that are subject to the Apple Public Source License
  1598  // Version 2.0 (the 'License'). You may not use this file except in
  1599  // compliance with the License. The rights granted to you under the License
  1600  // may not be used to create, or enable the creation or redistribution of,
  1601  // unlawful or unlicensed copies of an Apple operating system, or to
  1602  // circumvent, violate, or enable the circumvention or violation of, any
  1603  // terms of an Apple operating system software license agreement.
  1604  //
  1605  // Please obtain a copy of the License at
  1606  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1607  //
  1608  // The Original Code and all software distributed under the License are
  1609  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1610  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1611  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1612  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1613  // Please see the License for the specific language governing rights and
  1614  // limitations under the License.
  1615  //
  1616  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1617  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1618  // Copyright (c) 1991, 1993
  1619  //	The Regents of the University of California.  All rights reserved.
  1620  //
  1621  // This code is derived from software contributed to Berkeley by
  1622  // Berkeley Software Design, Inc.
  1623  //
  1624  // Redistribution and use in source and binary forms, with or without
  1625  // modification, are permitted provided that the following conditions
  1626  // are met:
  1627  // 1. Redistributions of source code must retain the above copyright
  1628  //    notice, this list of conditions and the following disclaimer.
  1629  // 2. Redistributions in binary form must reproduce the above copyright
  1630  //    notice, this list of conditions and the following disclaimer in the
  1631  //    documentation and/or other materials provided with the distribution.
  1632  // 3. All advertising materials mentioning features or use of this software
  1633  //    must display the following acknowledgement:
  1634  //	This product includes software developed by the University of
  1635  //	California, Berkeley and its contributors.
  1636  // 4. Neither the name of the University nor the names of its contributors
  1637  //    may be used to endorse or promote products derived from this software
  1638  //    without specific prior written permission.
  1639  //
  1640  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1641  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1642  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1643  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1644  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1645  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1646  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1647  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1648  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1649  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1650  // SUCH DAMAGE.
  1651  //
  1652  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1653  
  1654  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  1655  //
  1656  // @APPLE_LICENSE_HEADER_START@
  1657  //
  1658  // This file contains Original Code and/or Modifications of Original Code
  1659  // as defined in and that are subject to the Apple Public Source License
  1660  // Version 2.0 (the 'License'). You may not use this file except in
  1661  // compliance with the License. Please obtain a copy of the License at
  1662  // http://www.opensource.apple.com/apsl/ and read it before using this
  1663  // file.
  1664  //
  1665  // The Original Code and all software distributed under the License are
  1666  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1667  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1668  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1669  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1670  // Please see the License for the specific language governing rights and
  1671  // limitations under the License.
  1672  //
  1673  // @APPLE_LICENSE_HEADER_END@
  1674  
  1675  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  1676  //
  1677  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1678  //
  1679  // This file contains Original Code and/or Modifications of Original Code
  1680  // as defined in and that are subject to the Apple Public Source License
  1681  // Version 2.0 (the 'License'). You may not use this file except in
  1682  // compliance with the License. The rights granted to you under the License
  1683  // may not be used to create, or enable the creation or redistribution of,
  1684  // unlawful or unlicensed copies of an Apple operating system, or to
  1685  // circumvent, violate, or enable the circumvention or violation of, any
  1686  // terms of an Apple operating system software license agreement.
  1687  //
  1688  // Please obtain a copy of the License at
  1689  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1690  //
  1691  // The Original Code and all software distributed under the License are
  1692  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1693  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1694  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1695  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1696  // Please see the License for the specific language governing rights and
  1697  // limitations under the License.
  1698  //
  1699  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1700  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  1701  // Copyright (c) 1982, 1986, 1989, 1993, 1994
  1702  //	The Regents of the University of California.  All rights reserved.
  1703  //
  1704  // Redistribution and use in source and binary forms, with or without
  1705  // modification, are permitted provided that the following conditions
  1706  // are met:
  1707  // 1. Redistributions of source code must retain the above copyright
  1708  //    notice, this list of conditions and the following disclaimer.
  1709  // 2. Redistributions in binary form must reproduce the above copyright
  1710  //    notice, this list of conditions and the following disclaimer in the
  1711  //    documentation and/or other materials provided with the distribution.
  1712  // 3. All advertising materials mentioning features or use of this software
  1713  //    must display the following acknowledgement:
  1714  //	This product includes software developed by the University of
  1715  //	California, Berkeley and its contributors.
  1716  // 4. Neither the name of the University nor the names of its contributors
  1717  //    may be used to endorse or promote products derived from this software
  1718  //    without specific prior written permission.
  1719  //
  1720  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1721  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1722  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1723  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1724  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1725  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1726  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1727  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1728  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1729  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1730  // SUCH DAMAGE.
  1731  //
  1732  //	@(#)wait.h	8.2 (Berkeley) 7/10/94
  1733  
  1734  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1735  //
  1736  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1737  //
  1738  // This file contains Original Code and/or Modifications of Original Code
  1739  // as defined in and that are subject to the Apple Public Source License
  1740  // Version 2.0 (the 'License'). You may not use this file except in
  1741  // compliance with the License. The rights granted to you under the License
  1742  // may not be used to create, or enable the creation or redistribution of,
  1743  // unlawful or unlicensed copies of an Apple operating system, or to
  1744  // circumvent, violate, or enable the circumvention or violation of, any
  1745  // terms of an Apple operating system software license agreement.
  1746  //
  1747  // Please obtain a copy of the License at
  1748  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1749  //
  1750  // The Original Code and all software distributed under the License are
  1751  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1752  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1753  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1754  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1755  // Please see the License for the specific language governing rights and
  1756  // limitations under the License.
  1757  //
  1758  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1759  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1760  // Copyright (c) 1991, 1993
  1761  //	The Regents of the University of California.  All rights reserved.
  1762  //
  1763  // This code is derived from software contributed to Berkeley by
  1764  // Berkeley Software Design, Inc.
  1765  //
  1766  // Redistribution and use in source and binary forms, with or without
  1767  // modification, are permitted provided that the following conditions
  1768  // are met:
  1769  // 1. Redistributions of source code must retain the above copyright
  1770  //    notice, this list of conditions and the following disclaimer.
  1771  // 2. Redistributions in binary form must reproduce the above copyright
  1772  //    notice, this list of conditions and the following disclaimer in the
  1773  //    documentation and/or other materials provided with the distribution.
  1774  // 3. All advertising materials mentioning features or use of this software
  1775  //    must display the following acknowledgement:
  1776  //	This product includes software developed by the University of
  1777  //	California, Berkeley and its contributors.
  1778  // 4. Neither the name of the University nor the names of its contributors
  1779  //    may be used to endorse or promote products derived from this software
  1780  //    without specific prior written permission.
  1781  //
  1782  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1783  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1784  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1785  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1786  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1787  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1788  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1789  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1790  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1791  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1792  // SUCH DAMAGE.
  1793  //
  1794  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1795  
  1796  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1797  //
  1798  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1799  //
  1800  // This file contains Original Code and/or Modifications of Original Code
  1801  // as defined in and that are subject to the Apple Public Source License
  1802  // Version 2.0 (the 'License'). You may not use this file except in
  1803  // compliance with the License. The rights granted to you under the License
  1804  // may not be used to create, or enable the creation or redistribution of,
  1805  // unlawful or unlicensed copies of an Apple operating system, or to
  1806  // circumvent, violate, or enable the circumvention or violation of, any
  1807  // terms of an Apple operating system software license agreement.
  1808  //
  1809  // Please obtain a copy of the License at
  1810  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1811  //
  1812  // The Original Code and all software distributed under the License are
  1813  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1814  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1815  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1816  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1817  // Please see the License for the specific language governing rights and
  1818  // limitations under the License.
  1819  //
  1820  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1821  
  1822  // This file holds definitions relevent to the wait4 system call
  1823  // and the alternate interfaces that use it (wait, wait3, waitpid).
  1824  
  1825  // [XSI] The type idtype_t shall be defined as an enumeration type whose
  1826  // possible values shall include at least P_ALL, P_PID, and P_PGID.
  1827  const ( /* wait.h:79:1: */
  1828  	P_ALL  = 0
  1829  	P_PID  = 1
  1830  	P_PGID = 2
  1831  )
  1832  
  1833  const ( /* time.h:153:1: */
  1834  	X_CLOCK_REALTIME             = 0
  1835  	X_CLOCK_MONOTONIC            = 6
  1836  	X_CLOCK_MONOTONIC_RAW        = 4
  1837  	X_CLOCK_MONOTONIC_RAW_APPROX = 5
  1838  	X_CLOCK_UPTIME_RAW           = 8
  1839  	X_CLOCK_UPTIME_RAW_APPROX    = 9
  1840  	X_CLOCK_PROCESS_CPUTIME_ID   = 12
  1841  	X_CLOCK_THREAD_CPUTIME_ID    = 16
  1842  )
  1843  
  1844  // was definitions for sign-extending bitfields on architectures without
  1845  // native types smaller than 64-bit, now just backwards compatibility
  1846  
  1847  // this version should leave result of type (t *), but that should only be
  1848  // used when not in MUSTCOPY
  1849  
  1850  // Copyright 1989 Network Computing Devices, Inc., Mountain View, California.
  1851  //
  1852  // Permission to use, copy, modify, and distribute this software and its
  1853  // documentation for any purpose and without fee is hereby granted, provided
  1854  // that the above copyright notice appear in all copies and that both that
  1855  // copyright notice and this permission notice appear in supporting
  1856  // documentation, and that the name of N.C.D. not be used in advertising or
  1857  // publicity pertaining to distribution of the software without specific,
  1858  // written prior permission.  N.C.D. makes no representations about the
  1859  // suitability of this software for any purpose.  It is provided "as is"
  1860  // without express or implied warranty.
  1861  //
  1862  
  1863  //**********************************************************
  1864  //
  1865  // Copyright 1987, 1998  The Open Group
  1866  //
  1867  // Permission to use, copy, modify, distribute, and sell this software and its
  1868  // documentation for any purpose is hereby granted without fee, provided that
  1869  // the above copyright notice appear in all copies and that both that
  1870  // copyright notice and this permission notice appear in supporting
  1871  // documentation.
  1872  //
  1873  // The above copyright notice and this permission notice shall be included in
  1874  // all copies or substantial portions of the Software.
  1875  //
  1876  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1877  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1878  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  1879  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  1880  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  1881  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1882  //
  1883  // Except as contained in this notice, the name of The Open Group shall not be
  1884  // used in advertising or otherwise to promote the sale, use or other dealings
  1885  // in this Software without prior written authorization from The Open Group.
  1886  //
  1887  //
  1888  // Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  1889  //
  1890  //                         All Rights Reserved
  1891  //
  1892  // Permission to use, copy, modify, and distribute this software and its
  1893  // documentation for any purpose and without fee is hereby granted,
  1894  // provided that the above copyright notice appear in all copies and that
  1895  // both that copyright notice and this permission notice appear in
  1896  // supporting documentation, and that the name of Digital not be
  1897  // used in advertising or publicity pertaining to distribution of the
  1898  // software without specific, written prior permission.
  1899  //
  1900  // DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  1901  // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  1902  // DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  1903  // ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  1904  // WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  1905  // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  1906  // SOFTWARE.
  1907  //
  1908  // *****************************************************************
  1909  
  1910  //
  1911  //
  1912  // Copyright 1989, 1991, 1998  The Open Group
  1913  //
  1914  // Permission to use, copy, modify, distribute, and sell this software and its
  1915  // documentation for any purpose is hereby granted without fee, provided that
  1916  // the above copyright notice appear in all copies and that both that
  1917  // copyright notice and this permission notice appear in supporting
  1918  // documentation.
  1919  //
  1920  // The above copyright notice and this permission notice shall be included in
  1921  // all copies or substantial portions of the Software.
  1922  //
  1923  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1924  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1925  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  1926  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  1927  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  1928  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1929  //
  1930  // Except as contained in this notice, the name of The Open Group shall not be
  1931  // used in advertising or otherwise to promote the sale, use or other dealings
  1932  // in this Software without prior written authorization from The Open Group.
  1933  //  *
  1934  //
  1935  
  1936  // Definitions to make function prototypes manageable
  1937  
  1938  // Function prototype configuration (see configure for more info)
  1939  
  1940  // http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute
  1941  
  1942  // Added in X11R6.9, so available in any version of modular xproto
  1943  
  1944  // Added in X11R6.9, so available in any version of modular xproto
  1945  
  1946  // Branch prediction hints for individual conditionals
  1947  // requires xproto >= 7.0.9
  1948  
  1949  // Bulk branch prediction hints via marking error path functions as "cold"
  1950  // requires xproto >= 7.0.25
  1951  
  1952  // Added in X11R6.9, so available in any version of modular xproto
  1953  
  1954  // requires xproto >= 7.0.30
  1955  
  1956  // requires xproto >= 7.0.17
  1957  
  1958  // Added in X11R6.9, so available in any version of modular xproto
  1959  
  1960  // requires xproto >= 7.0.22 - since this uses either gcc or C99 variable
  1961  //    argument macros, must be only used inside #ifdef _X_NONNULL guards, as
  1962  //    many legacy X clients are compiled in C89 mode still.
  1963  
  1964  // requires xproto >= 7.0.22
  1965  
  1966  // C99 keyword "inline" or equivalent extensions in pre-C99 compilers
  1967  // requires xproto >= 7.0.9
  1968  //    (introduced in 7.0.8 but didn't support all compilers until 7.0.9)
  1969  
  1970  // C99 keyword "restrict" or equivalent extensions in pre-C99 compilers
  1971  // requires xproto >= 7.0.21
  1972  
  1973  // requires xproto >= 7.0.30
  1974  
  1975  // Mark a char array/pointer as not containing a NUL-terminated string
  1976  // requires xproto >= 7.0.33
  1977  
  1978  // IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
  1979  // multicast addresses for XDMCP, where X in the prefix may be replaced
  1980  // by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
  1981  // 5 for Site-Local, and so on.  We set the default here to the Link-Local
  1982  // version to most closely match the old IPv4 subnet broadcast behavior.
  1983  // Both xdm and X -query allow specifying a different address if a different
  1984  // scope is defined.
  1985  
  1986  const ( /* Xdmcp.h:46:1: */
  1987  	BROADCAST_QUERY = 1
  1988  	QUERY           = 2
  1989  	INDIRECT_QUERY  = 3
  1990  	FORWARD_QUERY   = 4
  1991  	WILLING         = 5
  1992  	UNWILLING       = 6
  1993  	REQUEST         = 7
  1994  	ACCEPT          = 8
  1995  	DECLINE         = 9
  1996  	MANAGE          = 10
  1997  	REFUSE          = 11
  1998  	FAILED          = 12
  1999  	KEEPALIVE       = 13
  2000  	ALIVE           = 14
  2001  )
  2002  
  2003  const ( /* Xdmcp.h:52:1: */
  2004  	XDM_QUERY                   = 0
  2005  	XDM_BROADCAST               = 1
  2006  	XDM_INDIRECT                = 2
  2007  	XDM_COLLECT_QUERY           = 3
  2008  	XDM_COLLECT_BROADCAST_QUERY = 4
  2009  	XDM_COLLECT_INDIRECT_QUERY  = 5
  2010  	XDM_START_CONNECTION        = 6
  2011  	XDM_AWAIT_REQUEST_RESPONSE  = 7
  2012  	XDM_AWAIT_MANAGE_RESPONSE   = 8
  2013  	XDM_MANAGE                  = 9
  2014  	XDM_RUN_SESSION             = 10
  2015  	XDM_OFF                     = 11
  2016  	XDM_AWAIT_USER_INPUT        = 12
  2017  	XDM_KEEPALIVE               = 13
  2018  	XDM_AWAIT_ALIVE_RESPONSE    = 14
  2019  	XDM_KEEP_ME_LAST            = 15
  2020  )
  2021  
  2022  type Ptrdiff_t = int64 /* <builtin>:3:26 */
  2023  
  2024  type Size_t = uint64 /* <builtin>:9:23 */
  2025  
  2026  type Wchar_t = int32 /* <builtin>:15:24 */
  2027  
  2028  type X__int128_t = struct {
  2029  	Flo int64
  2030  	Fhi int64
  2031  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  2032  type X__uint128_t = struct {
  2033  	Flo uint64
  2034  	Fhi uint64
  2035  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  2036  
  2037  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  2038  type X__float128 = float64        /* <builtin>:47:21 */
  2039  
  2040  //
  2041  // Copyright 1989, 1998  The Open Group
  2042  //
  2043  // Permission to use, copy, modify, distribute, and sell this software and its
  2044  // documentation for any purpose is hereby granted without fee, provided that
  2045  // the above copyright notice appear in all copies and that both that
  2046  // copyright notice and this permission notice appear in supporting
  2047  // documentation.
  2048  //
  2049  // The above copyright notice and this permission notice shall be included in
  2050  // all copies or substantial portions of the Software.
  2051  //
  2052  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  2053  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  2054  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  2055  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  2056  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  2057  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  2058  //
  2059  // Except as contained in this notice, the name of The Open Group shall not be
  2060  // used in advertising or otherwise to promote the sale, use or other dealings
  2061  // in this Software without prior written authorization from The Open Group.
  2062  //  *
  2063  //  * Author:  Keith Packard, MIT X Consortium
  2064  //
  2065  
  2066  // config.h.  Generated from config.h.in by configure.
  2067  // config.h.in.  Generated from configure.ac by autoheader.
  2068  
  2069  // Has Wraphelp.c needed for XDM AUTH protocols
  2070  
  2071  // Define to 1 if you have the `arc4random_buf' function.
  2072  
  2073  // Define to 1 if you have the <dlfcn.h> header file.
  2074  
  2075  // Define to 1 if you have the <inttypes.h> header file.
  2076  
  2077  // Define to 1 if you have the `bsd' library (-lbsd).
  2078  // #undef HAVE_LIBBSD
  2079  
  2080  // Define to 1 if you have the `lrand48' function.
  2081  
  2082  // Define to 1 if you have the <memory.h> header file.
  2083  
  2084  // Define to 1 if you have the `srand48' function.
  2085  
  2086  // Define to 1 if you have the <stdint.h> header file.
  2087  
  2088  // Define to 1 if you have the <stdlib.h> header file.
  2089  
  2090  // Define to 1 if you have the <strings.h> header file.
  2091  
  2092  // Define to 1 if you have the <string.h> header file.
  2093  
  2094  // Define to 1 if you have the <sys/stat.h> header file.
  2095  
  2096  // Define to 1 if you have the <sys/types.h> header file.
  2097  
  2098  // Define to 1 if you have the <unistd.h> header file.
  2099  
  2100  // Define to the sub-directory in which libtool stores uninstalled libraries.
  2101  
  2102  // Name of package
  2103  
  2104  // Define to the address where bug reports for this package should be sent.
  2105  
  2106  // Define to the full name of this package.
  2107  
  2108  // Define to the full name and version of this package.
  2109  
  2110  // Define to the one symbol short name of this package.
  2111  
  2112  // Define to the home page for this package.
  2113  
  2114  // Define to the version of this package.
  2115  
  2116  // Major version of this package
  2117  
  2118  // Minor version of this package
  2119  
  2120  // Patch version of this package
  2121  
  2122  // Define to 1 if you have the ANSI C header files.
  2123  
  2124  // Enable extensions on AIX 3, Interix.
  2125  // Enable GNU extensions on systems that have them.
  2126  // Enable threading extensions on Solaris.
  2127  // Enable extensions on HP NonStop.
  2128  // Enable general extensions on Solaris.
  2129  
  2130  // Version number of package
  2131  
  2132  // Define to 1 if on MINIX.
  2133  // #undef _MINIX
  2134  
  2135  // Define to 2 if the system does not provide POSIX.1 features except with
  2136  //    this defined.
  2137  // #undef _POSIX_1_SOURCE
  2138  
  2139  // Define to 1 if you need to in order for `stat' and other things to work.
  2140  // #undef _POSIX_SOURCE
  2141  //
  2142  //
  2143  // Copyright 1987, 1998  The Open Group
  2144  //
  2145  // Permission to use, copy, modify, distribute, and sell this software and its
  2146  // documentation for any purpose is hereby granted without fee, provided that
  2147  // the above copyright notice appear in all copies and that both that
  2148  // copyright notice and this permission notice appear in supporting
  2149  // documentation.
  2150  //
  2151  // The above copyright notice and this permission notice shall be included in
  2152  // all copies or substantial portions of the Software.
  2153  //
  2154  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  2155  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  2156  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  2157  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  2158  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  2159  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  2160  //
  2161  // Except as contained in this notice, the name of The Open Group shall not be
  2162  // used in advertising or otherwise to promote the sale, use or other dealings
  2163  // in this Software without prior written authorization from The Open Group.
  2164  //  *
  2165  //  * The X Window System is a Trademark of The Open Group.
  2166  //  *
  2167  //
  2168  
  2169  // This is a collection of things to try and minimize system dependencies
  2170  // in a "significant" number of source files.
  2171  
  2172  //
  2173  //  O/S-dependent (mis)feature macro definitions
  2174  //
  2175  // Copyright 1991, 1998  The Open Group
  2176  //
  2177  // Permission to use, copy, modify, distribute, and sell this software and its
  2178  // documentation for any purpose is hereby granted without fee, provided that
  2179  // the above copyright notice appear in all copies and that both that
  2180  // copyright notice and this permission notice appear in supporting
  2181  // documentation.
  2182  //
  2183  // The above copyright notice and this permission notice shall be included in
  2184  // all copies or substantial portions of the Software.
  2185  //
  2186  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  2187  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  2188  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  2189  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  2190  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  2191  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  2192  //
  2193  // Except as contained in this notice, the name of The Open Group shall not be
  2194  // used in advertising or otherwise to promote the sale, use or other dealings
  2195  // in this Software without prior written authorization from The Open Group.
  2196  //
  2197  
  2198  // X_NOT_POSIX means does not have POSIX header files.  Lack of this
  2199  // symbol does NOT mean that the POSIX environment is the default.
  2200  // You may still have to define _POSIX_SOURCE to get it.
  2201  
  2202  // Defining any of these will sanitize the namespace to JUST want is defined by
  2203  // that particular standard.  If that happens, we don't get some expected
  2204  // prototypes, typedefs, etc (like fd_mask).  We can define _DARWIN_C_SOURCE to
  2205  // loosen our belts a tad.
  2206  
  2207  // Get major data types (esp. caddr_t)
  2208  
  2209  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  2210  //
  2211  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2212  //
  2213  // This file contains Original Code and/or Modifications of Original Code
  2214  // as defined in and that are subject to the Apple Public Source License
  2215  // Version 2.0 (the 'License'). You may not use this file except in
  2216  // compliance with the License. The rights granted to you under the License
  2217  // may not be used to create, or enable the creation or redistribution of,
  2218  // unlawful or unlicensed copies of an Apple operating system, or to
  2219  // circumvent, violate, or enable the circumvention or violation of, any
  2220  // terms of an Apple operating system software license agreement.
  2221  //
  2222  // Please obtain a copy of the License at
  2223  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2224  //
  2225  // The Original Code and all software distributed under the License are
  2226  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2227  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2228  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2229  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2230  // Please see the License for the specific language governing rights and
  2231  // limitations under the License.
  2232  //
  2233  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2234  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  2235  // Copyright (c) 1982, 1986, 1991, 1993, 1994
  2236  //	The Regents of the University of California.  All rights reserved.
  2237  // (c) UNIX System Laboratories, Inc.
  2238  // All or some portions of this file are derived from material licensed
  2239  // to the University of California by American Telephone and Telegraph
  2240  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  2241  // the permission of UNIX System Laboratories, Inc.
  2242  //
  2243  // Redistribution and use in source and binary forms, with or without
  2244  // modification, are permitted provided that the following conditions
  2245  // are met:
  2246  // 1. Redistributions of source code must retain the above copyright
  2247  //    notice, this list of conditions and the following disclaimer.
  2248  // 2. Redistributions in binary form must reproduce the above copyright
  2249  //    notice, this list of conditions and the following disclaimer in the
  2250  //    documentation and/or other materials provided with the distribution.
  2251  // 3. All advertising materials mentioning features or use of this software
  2252  //    must display the following acknowledgement:
  2253  //	This product includes software developed by the University of
  2254  //	California, Berkeley and its contributors.
  2255  // 4. Neither the name of the University nor the names of its contributors
  2256  //    may be used to endorse or promote products derived from this software
  2257  //    without specific prior written permission.
  2258  //
  2259  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2260  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2261  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2262  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2263  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2264  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2265  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2266  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2267  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2268  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2269  // SUCH DAMAGE.
  2270  //
  2271  //	@(#)types.h	8.4 (Berkeley) 1/21/94
  2272  
  2273  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  2274  //
  2275  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2276  //
  2277  // This file contains Original Code and/or Modifications of Original Code
  2278  // as defined in and that are subject to the Apple Public Source License
  2279  // Version 2.0 (the 'License'). You may not use this file except in
  2280  // compliance with the License. The rights granted to you under the License
  2281  // may not be used to create, or enable the creation or redistribution of,
  2282  // unlawful or unlicensed copies of an Apple operating system, or to
  2283  // circumvent, violate, or enable the circumvention or violation of, any
  2284  // terms of an Apple operating system software license agreement.
  2285  //
  2286  // Please obtain a copy of the License at
  2287  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2288  //
  2289  // The Original Code and all software distributed under the License are
  2290  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2291  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2292  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2293  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2294  // Please see the License for the specific language governing rights and
  2295  // limitations under the License.
  2296  //
  2297  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2298  
  2299  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2300  //
  2301  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2302  //
  2303  // This file contains Original Code and/or Modifications of Original Code
  2304  // as defined in and that are subject to the Apple Public Source License
  2305  // Version 2.0 (the 'License'). You may not use this file except in
  2306  // compliance with the License. The rights granted to you under the License
  2307  // may not be used to create, or enable the creation or redistribution of,
  2308  // unlawful or unlicensed copies of an Apple operating system, or to
  2309  // circumvent, violate, or enable the circumvention or violation of, any
  2310  // terms of an Apple operating system software license agreement.
  2311  //
  2312  // Please obtain a copy of the License at
  2313  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2314  //
  2315  // The Original Code and all software distributed under the License are
  2316  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2317  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2318  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2319  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2320  // Please see the License for the specific language governing rights and
  2321  // limitations under the License.
  2322  //
  2323  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2324  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2325  // Copyright (c) 1991, 1993
  2326  //	The Regents of the University of California.  All rights reserved.
  2327  //
  2328  // This code is derived from software contributed to Berkeley by
  2329  // Berkeley Software Design, Inc.
  2330  //
  2331  // Redistribution and use in source and binary forms, with or without
  2332  // modification, are permitted provided that the following conditions
  2333  // are met:
  2334  // 1. Redistributions of source code must retain the above copyright
  2335  //    notice, this list of conditions and the following disclaimer.
  2336  // 2. Redistributions in binary form must reproduce the above copyright
  2337  //    notice, this list of conditions and the following disclaimer in the
  2338  //    documentation and/or other materials provided with the distribution.
  2339  // 3. All advertising materials mentioning features or use of this software
  2340  //    must display the following acknowledgement:
  2341  //	This product includes software developed by the University of
  2342  //	California, Berkeley and its contributors.
  2343  // 4. Neither the name of the University nor the names of its contributors
  2344  //    may be used to endorse or promote products derived from this software
  2345  //    without specific prior written permission.
  2346  //
  2347  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2348  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2349  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2350  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2351  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2352  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2353  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2354  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2355  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2356  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2357  // SUCH DAMAGE.
  2358  //
  2359  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  2360  
  2361  // This SDK is designed to work with clang and specific versions of
  2362  // gcc >= 4.0 with Apple's patch sets
  2363  
  2364  // Compatibility with compilers and environments that don't support compiler
  2365  // feature checking function-like macros.
  2366  
  2367  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  2368  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  2369  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  2370  // in between its arguments.  __CONCAT can also concatenate double-quoted
  2371  // strings produced by the __STRING macro, but this only works with ANSI C.
  2372  
  2373  // __unused denotes variables and functions that may not be used, preventing
  2374  // the compiler from warning about it if not used.
  2375  
  2376  // __used forces variables and functions to be included even if it appears
  2377  // to the compiler that they are not used (and would thust be discarded).
  2378  
  2379  // __cold marks code used for debugging or that is rarely taken
  2380  // and tells the compiler to optimize for size and outline code.
  2381  
  2382  // __deprecated causes the compiler to produce a warning when encountering
  2383  // code using the deprecated functionality.
  2384  // __deprecated_msg() does the same, and compilers that support it will print
  2385  // a message along with the deprecation warning.
  2386  // This may require turning on such warning with the -Wdeprecated flag.
  2387  // __deprecated_enum_msg() should be used on enums, and compilers that support
  2388  // it will print the deprecation warning.
  2389  // __kpi_deprecated() specifically indicates deprecation of kernel programming
  2390  // interfaces in Kernel.framework used by KEXTs.
  2391  
  2392  // __unavailable causes the compiler to error out when encountering
  2393  // code using the tagged function of variable.
  2394  
  2395  // Delete pseudo-keywords wherever they are not available or needed.
  2396  
  2397  // We use `__restrict' as a way to define the `restrict' type qualifier
  2398  // without disturbing older software that is unaware of C99 keywords.
  2399  
  2400  // Compatibility with compilers and environments that don't support the
  2401  // nullability feature.
  2402  
  2403  // __disable_tail_calls causes the compiler to not perform tail call
  2404  // optimization inside the marked function.
  2405  
  2406  // __not_tail_called causes the compiler to prevent tail call optimization
  2407  // on statically bound calls to the function.  It has no effect on indirect
  2408  // calls.  Virtual functions, objective-c methods, and functions marked as
  2409  // "always_inline" cannot be marked as __not_tail_called.
  2410  
  2411  // __result_use_check warns callers of a function that not using the function
  2412  // return value is a bug, i.e. dismissing malloc() return value results in a
  2413  // memory leak.
  2414  
  2415  // __swift_unavailable causes the compiler to mark a symbol as specifically
  2416  // unavailable in Swift, regardless of any other availability in C.
  2417  
  2418  // __abortlike is the attribute to put on functions like abort() that are
  2419  // typically used to mark assertions. These optimize the codegen
  2420  // for outlining while still maintaining debugability.
  2421  
  2422  // Declaring inline functions within headers is error-prone due to differences
  2423  // across various versions of the C language and extensions.  __header_inline
  2424  // can be used to declare inline functions within system headers.  In cases
  2425  // where you want to force inlining instead of letting the compiler make
  2426  // the decision, you can use __header_always_inline.
  2427  //
  2428  // Be aware that using inline for functions which compilers may also provide
  2429  // builtins can behave differently under various compilers.  If you intend to
  2430  // provide an inline version of such a function, you may want to use a macro
  2431  // instead.
  2432  //
  2433  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  2434  // support c99 inline in some cases:
  2435  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  2436  
  2437  // Compiler-dependent macros that bracket portions of code where the
  2438  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  2439  
  2440  // Compiler-dependent macros to declare that functions take printf-like
  2441  // or scanf-like arguments.  They are null except for versions of gcc
  2442  // that are known to support the features properly.  Functions declared
  2443  // with these attributes will cause compilation warnings if there is a
  2444  // mismatch between the format string and subsequent function parameter
  2445  // types.
  2446  
  2447  // Source compatibility only, ID string not emitted in object file
  2448  
  2449  // __alloc_size can be used to label function arguments that represent the
  2450  // size of memory that the function allocates and returns. The one-argument
  2451  // form labels a single argument that gives the allocation size (where the
  2452  // arguments are numbered from 1):
  2453  //
  2454  // void	*malloc(size_t __size) __alloc_size(1);
  2455  //
  2456  // The two-argument form handles the case where the size is calculated as the
  2457  // product of two arguments:
  2458  //
  2459  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
  2460  
  2461  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  2462  //
  2463  // DEFAULT	By default newly complied code will get POSIX APIs plus
  2464  //		Apple API extensions in scope.
  2465  //
  2466  //		Most users will use this compilation environment to avoid
  2467  //		behavioral differences between 32 and 64 bit code.
  2468  //
  2469  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  2470  //		API extensions in scope.
  2471  //
  2472  //		This is generally equivalent to the Tiger release compilation
  2473  //		environment, except that it cannot be applied to 64 bit code;
  2474  //		its use is discouraged.
  2475  //
  2476  //		We expect this environment to be deprecated in the future.
  2477  //
  2478  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  2479  //		available APIs to exactly the set of APIs defined by the
  2480  //		corresponding standard, based on the value defined.
  2481  //
  2482  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  2483  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
  2484  //
  2485  //		Apple API extensions are not visible in this environment,
  2486  //		which can cause Apple specific code to fail to compile,
  2487  //		or behave incorrectly if prototypes are not in scope or
  2488  //		warnings about missing prototypes are not enabled or ignored.
  2489  //
  2490  // In any compilation environment, for correct symbol resolution to occur,
  2491  // function prototypes must be in scope.  It is recommended that all Apple
  2492  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  2493  // compiler flags to their projects to be warned when a function is being
  2494  // used without a prototype in scope.
  2495  
  2496  // These settings are particular to each product.
  2497  // Platform: MacOSX
  2498  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
  2499  
  2500  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  2501  // legacy code to use the old symbol, thus maintaining binary compatibility
  2502  // while new code can use a standards compliant version of the same function.
  2503  //
  2504  // __DARWIN_ALIAS is used by itself if the function signature has not
  2505  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  2506  // if the signature has changed.  Because the __LP64__ environment
  2507  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  2508  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  2509  //
  2510  // As a special case, when XCode is used to target a specific version of the
  2511  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  2512  // will be defined by the compiler, with the digits representing major version
  2513  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
  2514  // pre-10.5, and it is the default compilation environment, revert the
  2515  // compilation environment to pre-__DARWIN_UNIX03.
  2516  
  2517  // symbol suffixes used for symbol versioning
  2518  
  2519  // symbol versioning macros
  2520  
  2521  // symbol release macros
  2522  // Copyright (c) 2010 Apple Inc. All rights reserved.
  2523  //
  2524  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2525  //
  2526  // This file contains Original Code and/or Modifications of Original Code
  2527  // as defined in and that are subject to the Apple Public Source License
  2528  // Version 2.0 (the 'License'). You may not use this file except in
  2529  // compliance with the License. The rights granted to you under the License
  2530  // may not be used to create, or enable the creation or redistribution of,
  2531  // unlawful or unlicensed copies of an Apple operating system, or to
  2532  // circumvent, violate, or enable the circumvention or violation of, any
  2533  // terms of an Apple operating system software license agreement.
  2534  //
  2535  // Please obtain a copy of the License at
  2536  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2537  //
  2538  // The Original Code and all software distributed under the License are
  2539  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2540  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2541  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2542  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2543  // Please see the License for the specific language governing rights and
  2544  // limitations under the License.
  2545  //
  2546  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2547  
  2548  // POSIX.1 requires that the macros we test be defined before any standard
  2549  // header file is included.  This permits us to convert values for feature
  2550  // testing, as necessary, using only _POSIX_C_SOURCE.
  2551  //
  2552  // Here's a quick run-down of the versions:
  2553  //  defined(_POSIX_SOURCE)		1003.1-1988
  2554  //  _POSIX_C_SOURCE == 1L		1003.1-1990
  2555  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
  2556  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
  2557  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
  2558  //					and the omnibus ISO/IEC 9945-1: 1996
  2559  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
  2560  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
  2561  //
  2562  // In addition, the X/Open Portability Guide, which is now the Single UNIX
  2563  // Specification, defines a feature-test macro which indicates the version of
  2564  // that specification, and which subsumes _POSIX_C_SOURCE.
  2565  
  2566  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  2567  
  2568  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  2569  
  2570  // Deal with various X/Open Portability Guides and Single UNIX Spec.
  2571  
  2572  // Deal with all versions of POSIX.  The ordering relative to the tests above is
  2573  // important.
  2574  
  2575  // POSIX C deprecation macros
  2576  // Copyright (c) 2010 Apple Inc. All rights reserved.
  2577  //
  2578  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2579  //
  2580  // This file contains Original Code and/or Modifications of Original Code
  2581  // as defined in and that are subject to the Apple Public Source License
  2582  // Version 2.0 (the 'License'). You may not use this file except in
  2583  // compliance with the License. The rights granted to you under the License
  2584  // may not be used to create, or enable the creation or redistribution of,
  2585  // unlawful or unlicensed copies of an Apple operating system, or to
  2586  // circumvent, violate, or enable the circumvention or violation of, any
  2587  // terms of an Apple operating system software license agreement.
  2588  //
  2589  // Please obtain a copy of the License at
  2590  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2591  //
  2592  // The Original Code and all software distributed under the License are
  2593  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2594  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2595  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2596  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2597  // Please see the License for the specific language governing rights and
  2598  // limitations under the License.
  2599  //
  2600  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2601  
  2602  // Set a single macro which will always be defined and can be used to determine
  2603  // the appropriate namespace.  For POSIX, these values will correspond to
  2604  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
  2605  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  2606  
  2607  // If the developer has neither requested a strict language mode nor a version
  2608  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  2609  // of __DARWIN_C_FULL.
  2610  
  2611  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  2612  // c99 still want long longs.  While not perfect, we allow long longs for
  2613  // g++.
  2614  
  2615  // ****************************************
  2616  //
  2617  //  Public darwin-specific feature macros
  2618  //
  2619  
  2620  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  2621  // structures modified for 64-bit inodes (like struct stat) will be used.
  2622  
  2623  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  2624  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  2625  // (and non-zero).  There is no struct stat64 either, as the regular
  2626  // struct stat will already be the 64-bit version.
  2627  
  2628  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  2629  // in 10.5 exists; no pre-10.5 variants are available.
  2630  
  2631  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  2632  // are available (the legacy BSD APIs are not available)
  2633  
  2634  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  2635  // and specifies the conformance level (3 is SUSv3)
  2636  
  2637  // This macro casts away the qualifier from the variable
  2638  //
  2639  // Note: use at your own risk, removing qualifiers can result in
  2640  // catastrophic run-time failures.
  2641  
  2642  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  2643  // used from other compilation units, but not other libraries or executables.
  2644  
  2645  // Architecture validation for current SDK
  2646  
  2647  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  2648  //
  2649  // This provides more advanced type checking on compilers supporting
  2650  // the proper extensions, even in C.
  2651  
  2652  // Machine type dependent parameters.
  2653  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2654  //
  2655  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2656  //
  2657  // This file contains Original Code and/or Modifications of Original Code
  2658  // as defined in and that are subject to the Apple Public Source License
  2659  // Version 2.0 (the 'License'). You may not use this file except in
  2660  // compliance with the License. The rights granted to you under the License
  2661  // may not be used to create, or enable the creation or redistribution of,
  2662  // unlawful or unlicensed copies of an Apple operating system, or to
  2663  // circumvent, violate, or enable the circumvention or violation of, any
  2664  // terms of an Apple operating system software license agreement.
  2665  //
  2666  // Please obtain a copy of the License at
  2667  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2668  //
  2669  // The Original Code and all software distributed under the License are
  2670  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2671  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2672  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2673  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2674  // Please see the License for the specific language governing rights and
  2675  // limitations under the License.
  2676  //
  2677  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2678  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2679  
  2680  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  2681  //
  2682  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2683  //
  2684  // This file contains Original Code and/or Modifications of Original Code
  2685  // as defined in and that are subject to the Apple Public Source License
  2686  // Version 2.0 (the 'License'). You may not use this file except in
  2687  // compliance with the License. The rights granted to you under the License
  2688  // may not be used to create, or enable the creation or redistribution of,
  2689  // unlawful or unlicensed copies of an Apple operating system, or to
  2690  // circumvent, violate, or enable the circumvention or violation of, any
  2691  // terms of an Apple operating system software license agreement.
  2692  //
  2693  // Please obtain a copy of the License at
  2694  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2695  //
  2696  // The Original Code and all software distributed under the License are
  2697  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2698  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2699  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2700  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2701  // Please see the License for the specific language governing rights and
  2702  // limitations under the License.
  2703  //
  2704  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2705  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2706  // Copyright (c) 1990, 1993
  2707  //	The Regents of the University of California.  All rights reserved.
  2708  //
  2709  // Redistribution and use in source and binary forms, with or without
  2710  // modification, are permitted provided that the following conditions
  2711  // are met:
  2712  // 1. Redistributions of source code must retain the above copyright
  2713  //    notice, this list of conditions and the following disclaimer.
  2714  // 2. Redistributions in binary form must reproduce the above copyright
  2715  //    notice, this list of conditions and the following disclaimer in the
  2716  //    documentation and/or other materials provided with the distribution.
  2717  // 3. All advertising materials mentioning features or use of this software
  2718  //    must display the following acknowledgement:
  2719  //	This product includes software developed by the University of
  2720  //	California, Berkeley and its contributors.
  2721  // 4. Neither the name of the University nor the names of its contributors
  2722  //    may be used to endorse or promote products derived from this software
  2723  //    without specific prior written permission.
  2724  //
  2725  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2726  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2727  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2728  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2729  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2730  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2731  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2732  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2733  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2734  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2735  // SUCH DAMAGE.
  2736  //
  2737  //	@(#)types.h	8.3 (Berkeley) 1/5/94
  2738  
  2739  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  2740  //
  2741  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2742  //
  2743  // This file contains Original Code and/or Modifications of Original Code
  2744  // as defined in and that are subject to the Apple Public Source License
  2745  // Version 2.0 (the 'License'). You may not use this file except in
  2746  // compliance with the License. The rights granted to you under the License
  2747  // may not be used to create, or enable the creation or redistribution of,
  2748  // unlawful or unlicensed copies of an Apple operating system, or to
  2749  // circumvent, violate, or enable the circumvention or violation of, any
  2750  // terms of an Apple operating system software license agreement.
  2751  //
  2752  // Please obtain a copy of the License at
  2753  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2754  //
  2755  // The Original Code and all software distributed under the License are
  2756  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2757  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2758  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2759  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2760  // Please see the License for the specific language governing rights and
  2761  // limitations under the License.
  2762  //
  2763  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2764  
  2765  // This header file contains integer types.  It's intended to also contain
  2766  // flotaing point and other arithmetic types, as needed, later.
  2767  
  2768  type X__int8_t = int8     /* _types.h:37:33 */
  2769  type X__uint8_t = uint8   /* _types.h:41:33 */
  2770  type X__int16_t = int16   /* _types.h:42:33 */
  2771  type X__uint16_t = uint16 /* _types.h:43:33 */
  2772  type X__int32_t = int32   /* _types.h:44:33 */
  2773  type X__uint32_t = uint32 /* _types.h:45:33 */
  2774  type X__int64_t = int64   /* _types.h:46:33 */
  2775  type X__uint64_t = uint64 /* _types.h:47:33 */
  2776  
  2777  type X__darwin_intptr_t = int64   /* _types.h:49:33 */
  2778  type X__darwin_natural_t = uint32 /* _types.h:50:33 */
  2779  
  2780  // The rune type below is declared to be an ``int'' instead of the more natural
  2781  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
  2782  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
  2783  // it looks like 10646 will be a 31 bit standard.  This means that if your
  2784  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
  2785  // chosen over a long is that the is*() and to*() routines take ints (says
  2786  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
  2787  // here, you lose a bit of ANSI conformance, but your programs will still
  2788  // work.
  2789  //
  2790  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
  2791  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
  2792  // rune_t must be the same type.  Also wint_t must be no narrower than
  2793  // wchar_t, and should also be able to hold all members of the largest
  2794  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
  2795  
  2796  type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
  2797  
  2798  // mbstate_t is an opaque object to keep conversion state, during multibyte
  2799  // stream conversions.  The content must not be referenced by user programs.
  2800  type X__mbstate_t = struct {
  2801  	F__ccgo_pad1 [0]uint64
  2802  	F__mbstate8  [128]int8
  2803  } /* _types.h:79:3 */
  2804  
  2805  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
  2806  
  2807  type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
  2808  
  2809  type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
  2810  
  2811  type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
  2812  
  2813  type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
  2814  
  2815  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
  2816  
  2817  type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
  2818  
  2819  type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
  2820  type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
  2821  type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
  2822  type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
  2823  
  2824  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2825  //
  2826  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2827  //
  2828  // This file contains Original Code and/or Modifications of Original Code
  2829  // as defined in and that are subject to the Apple Public Source License
  2830  // Version 2.0 (the 'License'). You may not use this file except in
  2831  // compliance with the License. The rights granted to you under the License
  2832  // may not be used to create, or enable the creation or redistribution of,
  2833  // unlawful or unlicensed copies of an Apple operating system, or to
  2834  // circumvent, violate, or enable the circumvention or violation of, any
  2835  // terms of an Apple operating system software license agreement.
  2836  //
  2837  // Please obtain a copy of the License at
  2838  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2839  //
  2840  // The Original Code and all software distributed under the License are
  2841  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2842  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2843  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2844  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2845  // Please see the License for the specific language governing rights and
  2846  // limitations under the License.
  2847  //
  2848  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2849  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2850  // Copyright (c) 1991, 1993
  2851  //	The Regents of the University of California.  All rights reserved.
  2852  //
  2853  // This code is derived from software contributed to Berkeley by
  2854  // Berkeley Software Design, Inc.
  2855  //
  2856  // Redistribution and use in source and binary forms, with or without
  2857  // modification, are permitted provided that the following conditions
  2858  // are met:
  2859  // 1. Redistributions of source code must retain the above copyright
  2860  //    notice, this list of conditions and the following disclaimer.
  2861  // 2. Redistributions in binary form must reproduce the above copyright
  2862  //    notice, this list of conditions and the following disclaimer in the
  2863  //    documentation and/or other materials provided with the distribution.
  2864  // 3. All advertising materials mentioning features or use of this software
  2865  //    must display the following acknowledgement:
  2866  //	This product includes software developed by the University of
  2867  //	California, Berkeley and its contributors.
  2868  // 4. Neither the name of the University nor the names of its contributors
  2869  //    may be used to endorse or promote products derived from this software
  2870  //    without specific prior written permission.
  2871  //
  2872  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2873  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2874  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2875  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2876  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2877  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2878  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2879  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2880  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2881  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2882  // SUCH DAMAGE.
  2883  //
  2884  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  2885  
  2886  // Basic integral types.  Omit the typedef if
  2887  // not possible for a machine/compiler combination.
  2888  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2889  //
  2890  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2891  //
  2892  // This file contains Original Code and/or Modifications of Original Code
  2893  // as defined in and that are subject to the Apple Public Source License
  2894  // Version 2.0 (the 'License'). You may not use this file except in
  2895  // compliance with the License. The rights granted to you under the License
  2896  // may not be used to create, or enable the creation or redistribution of,
  2897  // unlawful or unlicensed copies of an Apple operating system, or to
  2898  // circumvent, violate, or enable the circumvention or violation of, any
  2899  // terms of an Apple operating system software license agreement.
  2900  //
  2901  // Please obtain a copy of the License at
  2902  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2903  //
  2904  // The Original Code and all software distributed under the License are
  2905  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2906  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2907  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2908  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2909  // Please see the License for the specific language governing rights and
  2910  // limitations under the License.
  2911  //
  2912  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2913  type Int8_t = int8 /* _int8_t.h:30:33 */
  2914  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2915  //
  2916  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2917  //
  2918  // This file contains Original Code and/or Modifications of Original Code
  2919  // as defined in and that are subject to the Apple Public Source License
  2920  // Version 2.0 (the 'License'). You may not use this file except in
  2921  // compliance with the License. The rights granted to you under the License
  2922  // may not be used to create, or enable the creation or redistribution of,
  2923  // unlawful or unlicensed copies of an Apple operating system, or to
  2924  // circumvent, violate, or enable the circumvention or violation of, any
  2925  // terms of an Apple operating system software license agreement.
  2926  //
  2927  // Please obtain a copy of the License at
  2928  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2929  //
  2930  // The Original Code and all software distributed under the License are
  2931  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2932  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2933  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2934  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2935  // Please see the License for the specific language governing rights and
  2936  // limitations under the License.
  2937  //
  2938  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2939  type Int16_t = int16 /* _int16_t.h:30:33 */
  2940  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2941  //
  2942  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2943  //
  2944  // This file contains Original Code and/or Modifications of Original Code
  2945  // as defined in and that are subject to the Apple Public Source License
  2946  // Version 2.0 (the 'License'). You may not use this file except in
  2947  // compliance with the License. The rights granted to you under the License
  2948  // may not be used to create, or enable the creation or redistribution of,
  2949  // unlawful or unlicensed copies of an Apple operating system, or to
  2950  // circumvent, violate, or enable the circumvention or violation of, any
  2951  // terms of an Apple operating system software license agreement.
  2952  //
  2953  // Please obtain a copy of the License at
  2954  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2955  //
  2956  // The Original Code and all software distributed under the License are
  2957  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2958  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2959  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2960  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2961  // Please see the License for the specific language governing rights and
  2962  // limitations under the License.
  2963  //
  2964  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2965  type Int32_t = int32 /* _int32_t.h:30:33 */
  2966  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2967  //
  2968  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2969  //
  2970  // This file contains Original Code and/or Modifications of Original Code
  2971  // as defined in and that are subject to the Apple Public Source License
  2972  // Version 2.0 (the 'License'). You may not use this file except in
  2973  // compliance with the License. The rights granted to you under the License
  2974  // may not be used to create, or enable the creation or redistribution of,
  2975  // unlawful or unlicensed copies of an Apple operating system, or to
  2976  // circumvent, violate, or enable the circumvention or violation of, any
  2977  // terms of an Apple operating system software license agreement.
  2978  //
  2979  // Please obtain a copy of the License at
  2980  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2981  //
  2982  // The Original Code and all software distributed under the License are
  2983  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2984  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2985  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2986  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2987  // Please see the License for the specific language governing rights and
  2988  // limitations under the License.
  2989  //
  2990  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2991  type Int64_t = int64 /* _int64_t.h:30:33 */
  2992  
  2993  // Copyright (c) 2016 Apple Inc. All rights reserved.
  2994  //
  2995  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2996  //
  2997  // This file contains Original Code and/or Modifications of Original Code
  2998  // as defined in and that are subject to the Apple Public Source License
  2999  // Version 2.0 (the 'License'). You may not use this file except in
  3000  // compliance with the License. The rights granted to you under the License
  3001  // may not be used to create, or enable the creation or redistribution of,
  3002  // unlawful or unlicensed copies of an Apple operating system, or to
  3003  // circumvent, violate, or enable the circumvention or violation of, any
  3004  // terms of an Apple operating system software license agreement.
  3005  //
  3006  // Please obtain a copy of the License at
  3007  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3008  //
  3009  // The Original Code and all software distributed under the License are
  3010  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3011  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3012  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3013  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3014  // Please see the License for the specific language governing rights and
  3015  // limitations under the License.
  3016  //
  3017  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3018  type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  3019  // Copyright (c) 2012 Apple Inc. All rights reserved.
  3020  //
  3021  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3022  //
  3023  // This file contains Original Code and/or Modifications of Original Code
  3024  // as defined in and that are subject to the Apple Public Source License
  3025  // Version 2.0 (the 'License'). You may not use this file except in
  3026  // compliance with the License. The rights granted to you under the License
  3027  // may not be used to create, or enable the creation or redistribution of,
  3028  // unlawful or unlicensed copies of an Apple operating system, or to
  3029  // circumvent, violate, or enable the circumvention or violation of, any
  3030  // terms of an Apple operating system software license agreement.
  3031  //
  3032  // Please obtain a copy of the License at
  3033  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3034  //
  3035  // The Original Code and all software distributed under the License are
  3036  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3037  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3038  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3039  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3040  // Please see the License for the specific language governing rights and
  3041  // limitations under the License.
  3042  //
  3043  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3044  type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  3045  // Copyright (c) 2012 Apple Inc. All rights reserved.
  3046  //
  3047  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3048  //
  3049  // This file contains Original Code and/or Modifications of Original Code
  3050  // as defined in and that are subject to the Apple Public Source License
  3051  // Version 2.0 (the 'License'). You may not use this file except in
  3052  // compliance with the License. The rights granted to you under the License
  3053  // may not be used to create, or enable the creation or redistribution of,
  3054  // unlawful or unlicensed copies of an Apple operating system, or to
  3055  // circumvent, violate, or enable the circumvention or violation of, any
  3056  // terms of an Apple operating system software license agreement.
  3057  //
  3058  // Please obtain a copy of the License at
  3059  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3060  //
  3061  // The Original Code and all software distributed under the License are
  3062  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3063  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3064  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3065  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3066  // Please see the License for the specific language governing rights and
  3067  // limitations under the License.
  3068  //
  3069  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3070  type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  3071  // Copyright (c) 2012 Apple Inc. All rights reserved.
  3072  //
  3073  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3074  //
  3075  // This file contains Original Code and/or Modifications of Original Code
  3076  // as defined in and that are subject to the Apple Public Source License
  3077  // Version 2.0 (the 'License'). You may not use this file except in
  3078  // compliance with the License. The rights granted to you under the License
  3079  // may not be used to create, or enable the creation or redistribution of,
  3080  // unlawful or unlicensed copies of an Apple operating system, or to
  3081  // circumvent, violate, or enable the circumvention or violation of, any
  3082  // terms of an Apple operating system software license agreement.
  3083  //
  3084  // Please obtain a copy of the License at
  3085  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3086  //
  3087  // The Original Code and all software distributed under the License are
  3088  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3089  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3090  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3091  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3092  // Please see the License for the specific language governing rights and
  3093  // limitations under the License.
  3094  //
  3095  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3096  type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  3097  
  3098  type Register_t = Int64_t /* types.h:87:33 */
  3099  
  3100  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3101  //
  3102  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3103  //
  3104  // This file contains Original Code and/or Modifications of Original Code
  3105  // as defined in and that are subject to the Apple Public Source License
  3106  // Version 2.0 (the 'License'). You may not use this file except in
  3107  // compliance with the License. The rights granted to you under the License
  3108  // may not be used to create, or enable the creation or redistribution of,
  3109  // unlawful or unlicensed copies of an Apple operating system, or to
  3110  // circumvent, violate, or enable the circumvention or violation of, any
  3111  // terms of an Apple operating system software license agreement.
  3112  //
  3113  // Please obtain a copy of the License at
  3114  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3115  //
  3116  // The Original Code and all software distributed under the License are
  3117  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3118  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3119  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3120  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3121  // Please see the License for the specific language governing rights and
  3122  // limitations under the License.
  3123  //
  3124  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3125  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3126  //
  3127  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3128  //
  3129  // This file contains Original Code and/or Modifications of Original Code
  3130  // as defined in and that are subject to the Apple Public Source License
  3131  // Version 2.0 (the 'License'). You may not use this file except in
  3132  // compliance with the License. The rights granted to you under the License
  3133  // may not be used to create, or enable the creation or redistribution of,
  3134  // unlawful or unlicensed copies of an Apple operating system, or to
  3135  // circumvent, violate, or enable the circumvention or violation of, any
  3136  // terms of an Apple operating system software license agreement.
  3137  //
  3138  // Please obtain a copy of the License at
  3139  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3140  //
  3141  // The Original Code and all software distributed under the License are
  3142  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3143  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3144  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3145  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3146  // Please see the License for the specific language governing rights and
  3147  // limitations under the License.
  3148  //
  3149  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3150  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3151  
  3152  type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  3153  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3154  //
  3155  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3156  //
  3157  // This file contains Original Code and/or Modifications of Original Code
  3158  // as defined in and that are subject to the Apple Public Source License
  3159  // Version 2.0 (the 'License'). You may not use this file except in
  3160  // compliance with the License. The rights granted to you under the License
  3161  // may not be used to create, or enable the creation or redistribution of,
  3162  // unlawful or unlicensed copies of an Apple operating system, or to
  3163  // circumvent, violate, or enable the circumvention or violation of, any
  3164  // terms of an Apple operating system software license agreement.
  3165  //
  3166  // Please obtain a copy of the License at
  3167  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3168  //
  3169  // The Original Code and all software distributed under the License are
  3170  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3171  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3172  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3173  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3174  // Please see the License for the specific language governing rights and
  3175  // limitations under the License.
  3176  //
  3177  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3178  type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  3179  
  3180  // These types are used for reserving the largest possible size.
  3181  type User_addr_t = U_int64_t  /* types.h:97:33 */
  3182  type User_size_t = U_int64_t  /* types.h:98:33 */
  3183  type User_ssize_t = Int64_t   /* types.h:99:33 */
  3184  type User_long_t = Int64_t    /* types.h:100:33 */
  3185  type User_ulong_t = U_int64_t /* types.h:101:33 */
  3186  type User_time_t = Int64_t    /* types.h:102:33 */
  3187  type User_off_t = Int64_t     /* types.h:103:33 */
  3188  
  3189  // This defines the size of syscall arguments after copying into the kernel:
  3190  type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  3191  
  3192  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3193  //
  3194  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3195  //
  3196  // This file contains Original Code and/or Modifications of Original Code
  3197  // as defined in and that are subject to the Apple Public Source License
  3198  // Version 2.0 (the 'License'). You may not use this file except in
  3199  // compliance with the License. The rights granted to you under the License
  3200  // may not be used to create, or enable the creation or redistribution of,
  3201  // unlawful or unlicensed copies of an Apple operating system, or to
  3202  // circumvent, violate, or enable the circumvention or violation of, any
  3203  // terms of an Apple operating system software license agreement.
  3204  //
  3205  // Please obtain a copy of the License at
  3206  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3207  //
  3208  // The Original Code and all software distributed under the License are
  3209  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3210  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3211  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3212  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3213  // Please see the License for the specific language governing rights and
  3214  // limitations under the License.
  3215  //
  3216  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3217  
  3218  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  3219  //
  3220  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3221  //
  3222  // This file contains Original Code and/or Modifications of Original Code
  3223  // as defined in and that are subject to the Apple Public Source License
  3224  // Version 2.0 (the 'License'). You may not use this file except in
  3225  // compliance with the License. The rights granted to you under the License
  3226  // may not be used to create, or enable the creation or redistribution of,
  3227  // unlawful or unlicensed copies of an Apple operating system, or to
  3228  // circumvent, violate, or enable the circumvention or violation of, any
  3229  // terms of an Apple operating system software license agreement.
  3230  //
  3231  // Please obtain a copy of the License at
  3232  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3233  //
  3234  // The Original Code and all software distributed under the License are
  3235  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3236  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3237  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3238  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3239  // Please see the License for the specific language governing rights and
  3240  // limitations under the License.
  3241  //
  3242  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3243  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3244  // Copyright (c) 1991, 1993
  3245  //	The Regents of the University of California.  All rights reserved.
  3246  //
  3247  // This code is derived from software contributed to Berkeley by
  3248  // Berkeley Software Design, Inc.
  3249  //
  3250  // Redistribution and use in source and binary forms, with or without
  3251  // modification, are permitted provided that the following conditions
  3252  // are met:
  3253  // 1. Redistributions of source code must retain the above copyright
  3254  //    notice, this list of conditions and the following disclaimer.
  3255  // 2. Redistributions in binary form must reproduce the above copyright
  3256  //    notice, this list of conditions and the following disclaimer in the
  3257  //    documentation and/or other materials provided with the distribution.
  3258  // 3. All advertising materials mentioning features or use of this software
  3259  //    must display the following acknowledgement:
  3260  //	This product includes software developed by the University of
  3261  //	California, Berkeley and its contributors.
  3262  // 4. Neither the name of the University nor the names of its contributors
  3263  //    may be used to endorse or promote products derived from this software
  3264  //    without specific prior written permission.
  3265  //
  3266  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  3267  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  3268  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  3269  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3270  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3271  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3272  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3273  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3274  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3275  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3276  // SUCH DAMAGE.
  3277  //
  3278  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  3279  
  3280  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3281  //
  3282  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3283  //
  3284  // This file contains Original Code and/or Modifications of Original Code
  3285  // as defined in and that are subject to the Apple Public Source License
  3286  // Version 2.0 (the 'License'). You may not use this file except in
  3287  // compliance with the License. The rights granted to you under the License
  3288  // may not be used to create, or enable the creation or redistribution of,
  3289  // unlawful or unlicensed copies of an Apple operating system, or to
  3290  // circumvent, violate, or enable the circumvention or violation of, any
  3291  // terms of an Apple operating system software license agreement.
  3292  //
  3293  // Please obtain a copy of the License at
  3294  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3295  //
  3296  // The Original Code and all software distributed under the License are
  3297  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3298  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3299  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3300  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3301  // Please see the License for the specific language governing rights and
  3302  // limitations under the License.
  3303  //
  3304  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3305  
  3306  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  3307  //
  3308  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3309  //
  3310  // This file contains Original Code and/or Modifications of Original Code
  3311  // as defined in and that are subject to the Apple Public Source License
  3312  // Version 2.0 (the 'License'). You may not use this file except in
  3313  // compliance with the License. The rights granted to you under the License
  3314  // may not be used to create, or enable the creation or redistribution of,
  3315  // unlawful or unlicensed copies of an Apple operating system, or to
  3316  // circumvent, violate, or enable the circumvention or violation of, any
  3317  // terms of an Apple operating system software license agreement.
  3318  //
  3319  // Please obtain a copy of the License at
  3320  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3321  //
  3322  // The Original Code and all software distributed under the License are
  3323  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3324  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3325  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3326  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3327  // Please see the License for the specific language governing rights and
  3328  // limitations under the License.
  3329  //
  3330  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3331  
  3332  // Type definitions; takes common type definitions that must be used
  3333  // in multiple header files due to [XSI], removes them from the system
  3334  // space, and puts them in the implementation space.
  3335  
  3336  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
  3337  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
  3338  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
  3339  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  3340  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  3341  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
  3342  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  3343  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  3344  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
  3345  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
  3346  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  3347  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
  3348  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
  3349  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
  3350  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
  3351  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
  3352  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
  3353  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
  3354  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
  3355  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
  3356  
  3357  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3358  //
  3359  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3360  //
  3361  // This file contains Original Code and/or Modifications of Original Code
  3362  // as defined in and that are subject to the Apple Public Source License
  3363  // Version 2.0 (the 'License'). You may not use this file except in
  3364  // compliance with the License. The rights granted to you under the License
  3365  // may not be used to create, or enable the creation or redistribution of,
  3366  // unlawful or unlicensed copies of an Apple operating system, or to
  3367  // circumvent, violate, or enable the circumvention or violation of, any
  3368  // terms of an Apple operating system software license agreement.
  3369  //
  3370  // Please obtain a copy of the License at
  3371  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3372  //
  3373  // The Original Code and all software distributed under the License are
  3374  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3375  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3376  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3377  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3378  // Please see the License for the specific language governing rights and
  3379  // limitations under the License.
  3380  //
  3381  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3382  
  3383  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  3384  //
  3385  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3386  //
  3387  // This file contains Original Code and/or Modifications of Original Code
  3388  // as defined in and that are subject to the Apple Public Source License
  3389  // Version 2.0 (the 'License'). You may not use this file except in
  3390  // compliance with the License. The rights granted to you under the License
  3391  // may not be used to create, or enable the creation or redistribution of,
  3392  // unlawful or unlicensed copies of an Apple operating system, or to
  3393  // circumvent, violate, or enable the circumvention or violation of, any
  3394  // terms of an Apple operating system software license agreement.
  3395  //
  3396  // Please obtain a copy of the License at
  3397  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3398  //
  3399  // The Original Code and all software distributed under the License are
  3400  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3401  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3402  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3403  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3404  // Please see the License for the specific language governing rights and
  3405  // limitations under the License.
  3406  //
  3407  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3408  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3409  // Copyright (c) 1991, 1993
  3410  //	The Regents of the University of California.  All rights reserved.
  3411  //
  3412  // This code is derived from software contributed to Berkeley by
  3413  // Berkeley Software Design, Inc.
  3414  //
  3415  // Redistribution and use in source and binary forms, with or without
  3416  // modification, are permitted provided that the following conditions
  3417  // are met:
  3418  // 1. Redistributions of source code must retain the above copyright
  3419  //    notice, this list of conditions and the following disclaimer.
  3420  // 2. Redistributions in binary form must reproduce the above copyright
  3421  //    notice, this list of conditions and the following disclaimer in the
  3422  //    documentation and/or other materials provided with the distribution.
  3423  // 3. All advertising materials mentioning features or use of this software
  3424  //    must display the following acknowledgement:
  3425  //	This product includes software developed by the University of
  3426  //	California, Berkeley and its contributors.
  3427  // 4. Neither the name of the University nor the names of its contributors
  3428  //    may be used to endorse or promote products derived from this software
  3429  //    without specific prior written permission.
  3430  //
  3431  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  3432  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  3433  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  3434  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3435  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3436  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3437  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3438  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3439  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3440  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3441  // SUCH DAMAGE.
  3442  //
  3443  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  3444  
  3445  // pthread opaque structures
  3446  
  3447  type X__darwin_pthread_handler_rec = struct {
  3448  	F__routine uintptr
  3449  	F__arg     uintptr
  3450  	F__next    uintptr
  3451  } /* _pthread_types.h:57:1 */
  3452  
  3453  type X_opaque_pthread_attr_t = struct {
  3454  	F__sig    int64
  3455  	F__opaque [56]int8
  3456  } /* _pthread_types.h:63:1 */
  3457  
  3458  type X_opaque_pthread_cond_t = struct {
  3459  	F__sig    int64
  3460  	F__opaque [40]int8
  3461  } /* _pthread_types.h:68:1 */
  3462  
  3463  type X_opaque_pthread_condattr_t = struct {
  3464  	F__sig    int64
  3465  	F__opaque [8]int8
  3466  } /* _pthread_types.h:73:1 */
  3467  
  3468  type X_opaque_pthread_mutex_t = struct {
  3469  	F__sig    int64
  3470  	F__opaque [56]int8
  3471  } /* _pthread_types.h:78:1 */
  3472  
  3473  type X_opaque_pthread_mutexattr_t = struct {
  3474  	F__sig    int64
  3475  	F__opaque [8]int8
  3476  } /* _pthread_types.h:83:1 */
  3477  
  3478  type X_opaque_pthread_once_t = struct {
  3479  	F__sig    int64
  3480  	F__opaque [8]int8
  3481  } /* _pthread_types.h:88:1 */
  3482  
  3483  type X_opaque_pthread_rwlock_t = struct {
  3484  	F__sig    int64
  3485  	F__opaque [192]int8
  3486  } /* _pthread_types.h:93:1 */
  3487  
  3488  type X_opaque_pthread_rwlockattr_t = struct {
  3489  	F__sig    int64
  3490  	F__opaque [16]int8
  3491  } /* _pthread_types.h:98:1 */
  3492  
  3493  type X_opaque_pthread_t = struct {
  3494  	F__sig           int64
  3495  	F__cleanup_stack uintptr
  3496  	F__opaque        [8176]int8
  3497  } /* _pthread_types.h:103:1 */
  3498  
  3499  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
  3500  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
  3501  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
  3502  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
  3503  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
  3504  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
  3505  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
  3506  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
  3507  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  3508  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
  3509  
  3510  // Copyright (c) 2017 Apple Inc. All rights reserved.
  3511  //
  3512  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3513  //
  3514  // This file contains Original Code and/or Modifications of Original Code
  3515  // as defined in and that are subject to the Apple Public Source License
  3516  // Version 2.0 (the 'License'). You may not use this file except in
  3517  // compliance with the License. The rights granted to you under the License
  3518  // may not be used to create, or enable the creation or redistribution of,
  3519  // unlawful or unlicensed copies of an Apple operating system, or to
  3520  // circumvent, violate, or enable the circumvention or violation of, any
  3521  // terms of an Apple operating system software license agreement.
  3522  //
  3523  // Please obtain a copy of the License at
  3524  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3525  //
  3526  // The Original Code and all software distributed under the License are
  3527  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3528  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3529  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3530  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3531  // Please see the License for the specific language governing rights and
  3532  // limitations under the License.
  3533  //
  3534  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3535  type U_char = uint8 /* _u_char.h:30:25 */
  3536  // Copyright (c) 2017 Apple Inc. All rights reserved.
  3537  //
  3538  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3539  //
  3540  // This file contains Original Code and/or Modifications of Original Code
  3541  // as defined in and that are subject to the Apple Public Source License
  3542  // Version 2.0 (the 'License'). You may not use this file except in
  3543  // compliance with the License. The rights granted to you under the License
  3544  // may not be used to create, or enable the creation or redistribution of,
  3545  // unlawful or unlicensed copies of an Apple operating system, or to
  3546  // circumvent, violate, or enable the circumvention or violation of, any
  3547  // terms of an Apple operating system software license agreement.
  3548  //
  3549  // Please obtain a copy of the License at
  3550  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3551  //
  3552  // The Original Code and all software distributed under the License are
  3553  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3554  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3555  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3556  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3557  // Please see the License for the specific language governing rights and
  3558  // limitations under the License.
  3559  //
  3560  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3561  type U_short = uint16 /* _u_short.h:30:25 */
  3562  // Copyright (c) 2017 Apple Inc. All rights reserved.
  3563  //
  3564  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3565  //
  3566  // This file contains Original Code and/or Modifications of Original Code
  3567  // as defined in and that are subject to the Apple Public Source License
  3568  // Version 2.0 (the 'License'). You may not use this file except in
  3569  // compliance with the License. The rights granted to you under the License
  3570  // may not be used to create, or enable the creation or redistribution of,
  3571  // unlawful or unlicensed copies of an Apple operating system, or to
  3572  // circumvent, violate, or enable the circumvention or violation of, any
  3573  // terms of an Apple operating system software license agreement.
  3574  //
  3575  // Please obtain a copy of the License at
  3576  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3577  //
  3578  // The Original Code and all software distributed under the License are
  3579  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3580  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3581  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3582  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3583  // Please see the License for the specific language governing rights and
  3584  // limitations under the License.
  3585  //
  3586  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3587  type U_int = uint32  /* _u_int.h:30:25 */
  3588  type U_long = uint64 /* types.h:88:33 */
  3589  type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  3590  type Uint = uint32   /* types.h:92:33 */ // Sys V compatibility
  3591  
  3592  type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
  3593  type Quad_t = Int64_t     /* types.h:96:33 */
  3594  type Qaddr_t = uintptr    /* types.h:97:16 */
  3595  
  3596  // Copyright (c) 2017 Apple Inc. All rights reserved.
  3597  //
  3598  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3599  //
  3600  // This file contains Original Code and/or Modifications of Original Code
  3601  // as defined in and that are subject to the Apple Public Source License
  3602  // Version 2.0 (the 'License'). You may not use this file except in
  3603  // compliance with the License. The rights granted to you under the License
  3604  // may not be used to create, or enable the creation or redistribution of,
  3605  // unlawful or unlicensed copies of an Apple operating system, or to
  3606  // circumvent, violate, or enable the circumvention or violation of, any
  3607  // terms of an Apple operating system software license agreement.
  3608  //
  3609  // Please obtain a copy of the License at
  3610  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3611  //
  3612  // The Original Code and all software distributed under the License are
  3613  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3614  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3615  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3616  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3617  // Please see the License for the specific language governing rights and
  3618  // limitations under the License.
  3619  //
  3620  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3621  type Caddr_t = uintptr /* _caddr_t.h:30:14 */
  3622  
  3623  type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
  3624  
  3625  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3626  //
  3627  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3628  //
  3629  // This file contains Original Code and/or Modifications of Original Code
  3630  // as defined in and that are subject to the Apple Public Source License
  3631  // Version 2.0 (the 'License'). You may not use this file except in
  3632  // compliance with the License. The rights granted to you under the License
  3633  // may not be used to create, or enable the creation or redistribution of,
  3634  // unlawful or unlicensed copies of an Apple operating system, or to
  3635  // circumvent, violate, or enable the circumvention or violation of, any
  3636  // terms of an Apple operating system software license agreement.
  3637  //
  3638  // Please obtain a copy of the License at
  3639  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3640  //
  3641  // The Original Code and all software distributed under the License are
  3642  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3643  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3644  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3645  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3646  // Please see the License for the specific language governing rights and
  3647  // limitations under the License.
  3648  //
  3649  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3650  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3651  //
  3652  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3653  //
  3654  // This file contains Original Code and/or Modifications of Original Code
  3655  // as defined in and that are subject to the Apple Public Source License
  3656  // Version 2.0 (the 'License'). You may not use this file except in
  3657  // compliance with the License. The rights granted to you under the License
  3658  // may not be used to create, or enable the creation or redistribution of,
  3659  // unlawful or unlicensed copies of an Apple operating system, or to
  3660  // circumvent, violate, or enable the circumvention or violation of, any
  3661  // terms of an Apple operating system software license agreement.
  3662  //
  3663  // Please obtain a copy of the License at
  3664  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3665  //
  3666  // The Original Code and all software distributed under the License are
  3667  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3668  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3669  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3670  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3671  // Please see the License for the specific language governing rights and
  3672  // limitations under the License.
  3673  //
  3674  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3675  
  3676  type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  3677  
  3678  type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
  3679  
  3680  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3681  //
  3682  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3683  //
  3684  // This file contains Original Code and/or Modifications of Original Code
  3685  // as defined in and that are subject to the Apple Public Source License
  3686  // Version 2.0 (the 'License'). You may not use this file except in
  3687  // compliance with the License. The rights granted to you under the License
  3688  // may not be used to create, or enable the creation or redistribution of,
  3689  // unlawful or unlicensed copies of an Apple operating system, or to
  3690  // circumvent, violate, or enable the circumvention or violation of, any
  3691  // terms of an Apple operating system software license agreement.
  3692  //
  3693  // Please obtain a copy of the License at
  3694  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3695  //
  3696  // The Original Code and all software distributed under the License are
  3697  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3698  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3699  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3700  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3701  // Please see the License for the specific language governing rights and
  3702  // limitations under the License.
  3703  //
  3704  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3705  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3706  //
  3707  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3708  //
  3709  // This file contains Original Code and/or Modifications of Original Code
  3710  // as defined in and that are subject to the Apple Public Source License
  3711  // Version 2.0 (the 'License'). You may not use this file except in
  3712  // compliance with the License. The rights granted to you under the License
  3713  // may not be used to create, or enable the creation or redistribution of,
  3714  // unlawful or unlicensed copies of an Apple operating system, or to
  3715  // circumvent, violate, or enable the circumvention or violation of, any
  3716  // terms of an Apple operating system software license agreement.
  3717  //
  3718  // Please obtain a copy of the License at
  3719  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3720  //
  3721  // The Original Code and all software distributed under the License are
  3722  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3723  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3724  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3725  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3726  // Please see the License for the specific language governing rights and
  3727  // limitations under the License.
  3728  //
  3729  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3730  
  3731  type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
  3732  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3733  //
  3734  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3735  //
  3736  // This file contains Original Code and/or Modifications of Original Code
  3737  // as defined in and that are subject to the Apple Public Source License
  3738  // Version 2.0 (the 'License'). You may not use this file except in
  3739  // compliance with the License. The rights granted to you under the License
  3740  // may not be used to create, or enable the creation or redistribution of,
  3741  // unlawful or unlicensed copies of an Apple operating system, or to
  3742  // circumvent, violate, or enable the circumvention or violation of, any
  3743  // terms of an Apple operating system software license agreement.
  3744  //
  3745  // Please obtain a copy of the License at
  3746  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3747  //
  3748  // The Original Code and all software distributed under the License are
  3749  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3750  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3751  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3752  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3753  // Please see the License for the specific language governing rights and
  3754  // limitations under the License.
  3755  //
  3756  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3757  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3758  //
  3759  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3760  //
  3761  // This file contains Original Code and/or Modifications of Original Code
  3762  // as defined in and that are subject to the Apple Public Source License
  3763  // Version 2.0 (the 'License'). You may not use this file except in
  3764  // compliance with the License. The rights granted to you under the License
  3765  // may not be used to create, or enable the creation or redistribution of,
  3766  // unlawful or unlicensed copies of an Apple operating system, or to
  3767  // circumvent, violate, or enable the circumvention or violation of, any
  3768  // terms of an Apple operating system software license agreement.
  3769  //
  3770  // Please obtain a copy of the License at
  3771  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3772  //
  3773  // The Original Code and all software distributed under the License are
  3774  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3775  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3776  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3777  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3778  // Please see the License for the specific language governing rights and
  3779  // limitations under the License.
  3780  //
  3781  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3782  
  3783  type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
  3784  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3785  //
  3786  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3787  //
  3788  // This file contains Original Code and/or Modifications of Original Code
  3789  // as defined in and that are subject to the Apple Public Source License
  3790  // Version 2.0 (the 'License'). You may not use this file except in
  3791  // compliance with the License. The rights granted to you under the License
  3792  // may not be used to create, or enable the creation or redistribution of,
  3793  // unlawful or unlicensed copies of an Apple operating system, or to
  3794  // circumvent, violate, or enable the circumvention or violation of, any
  3795  // terms of an Apple operating system software license agreement.
  3796  //
  3797  // Please obtain a copy of the License at
  3798  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3799  //
  3800  // The Original Code and all software distributed under the License are
  3801  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3802  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3803  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3804  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3805  // Please see the License for the specific language governing rights and
  3806  // limitations under the License.
  3807  //
  3808  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3809  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3810  //
  3811  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3812  //
  3813  // This file contains Original Code and/or Modifications of Original Code
  3814  // as defined in and that are subject to the Apple Public Source License
  3815  // Version 2.0 (the 'License'). You may not use this file except in
  3816  // compliance with the License. The rights granted to you under the License
  3817  // may not be used to create, or enable the creation or redistribution of,
  3818  // unlawful or unlicensed copies of an Apple operating system, or to
  3819  // circumvent, violate, or enable the circumvention or violation of, any
  3820  // terms of an Apple operating system software license agreement.
  3821  //
  3822  // Please obtain a copy of the License at
  3823  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3824  //
  3825  // The Original Code and all software distributed under the License are
  3826  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3827  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3828  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3829  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3830  // Please see the License for the specific language governing rights and
  3831  // limitations under the License.
  3832  //
  3833  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3834  
  3835  type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  3836  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3837  //
  3838  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3839  //
  3840  // This file contains Original Code and/or Modifications of Original Code
  3841  // as defined in and that are subject to the Apple Public Source License
  3842  // Version 2.0 (the 'License'). You may not use this file except in
  3843  // compliance with the License. The rights granted to you under the License
  3844  // may not be used to create, or enable the creation or redistribution of,
  3845  // unlawful or unlicensed copies of an Apple operating system, or to
  3846  // circumvent, violate, or enable the circumvention or violation of, any
  3847  // terms of an Apple operating system software license agreement.
  3848  //
  3849  // Please obtain a copy of the License at
  3850  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3851  //
  3852  // The Original Code and all software distributed under the License are
  3853  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3854  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3855  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3856  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3857  // Please see the License for the specific language governing rights and
  3858  // limitations under the License.
  3859  //
  3860  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3861  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3862  //
  3863  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3864  //
  3865  // This file contains Original Code and/or Modifications of Original Code
  3866  // as defined in and that are subject to the Apple Public Source License
  3867  // Version 2.0 (the 'License'). You may not use this file except in
  3868  // compliance with the License. The rights granted to you under the License
  3869  // may not be used to create, or enable the creation or redistribution of,
  3870  // unlawful or unlicensed copies of an Apple operating system, or to
  3871  // circumvent, violate, or enable the circumvention or violation of, any
  3872  // terms of an Apple operating system software license agreement.
  3873  //
  3874  // Please obtain a copy of the License at
  3875  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3876  //
  3877  // The Original Code and all software distributed under the License are
  3878  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3879  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3880  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3881  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3882  // Please see the License for the specific language governing rights and
  3883  // limitations under the License.
  3884  //
  3885  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3886  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3887  type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
  3888  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3889  //
  3890  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3891  //
  3892  // This file contains Original Code and/or Modifications of Original Code
  3893  // as defined in and that are subject to the Apple Public Source License
  3894  // Version 2.0 (the 'License'). You may not use this file except in
  3895  // compliance with the License. The rights granted to you under the License
  3896  // may not be used to create, or enable the creation or redistribution of,
  3897  // unlawful or unlicensed copies of an Apple operating system, or to
  3898  // circumvent, violate, or enable the circumvention or violation of, any
  3899  // terms of an Apple operating system software license agreement.
  3900  //
  3901  // Please obtain a copy of the License at
  3902  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3903  //
  3904  // The Original Code and all software distributed under the License are
  3905  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3906  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3907  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3908  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3909  // Please see the License for the specific language governing rights and
  3910  // limitations under the License.
  3911  //
  3912  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3913  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3914  //
  3915  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3916  //
  3917  // This file contains Original Code and/or Modifications of Original Code
  3918  // as defined in and that are subject to the Apple Public Source License
  3919  // Version 2.0 (the 'License'). You may not use this file except in
  3920  // compliance with the License. The rights granted to you under the License
  3921  // may not be used to create, or enable the creation or redistribution of,
  3922  // unlawful or unlicensed copies of an Apple operating system, or to
  3923  // circumvent, violate, or enable the circumvention or violation of, any
  3924  // terms of an Apple operating system software license agreement.
  3925  //
  3926  // Please obtain a copy of the License at
  3927  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3928  //
  3929  // The Original Code and all software distributed under the License are
  3930  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3931  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3932  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3933  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3934  // Please see the License for the specific language governing rights and
  3935  // limitations under the License.
  3936  //
  3937  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3938  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3939  type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
  3940  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3941  //
  3942  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3943  //
  3944  // This file contains Original Code and/or Modifications of Original Code
  3945  // as defined in and that are subject to the Apple Public Source License
  3946  // Version 2.0 (the 'License'). You may not use this file except in
  3947  // compliance with the License. The rights granted to you under the License
  3948  // may not be used to create, or enable the creation or redistribution of,
  3949  // unlawful or unlicensed copies of an Apple operating system, or to
  3950  // circumvent, violate, or enable the circumvention or violation of, any
  3951  // terms of an Apple operating system software license agreement.
  3952  //
  3953  // Please obtain a copy of the License at
  3954  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3955  //
  3956  // The Original Code and all software distributed under the License are
  3957  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3958  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3959  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3960  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3961  // Please see the License for the specific language governing rights and
  3962  // limitations under the License.
  3963  //
  3964  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3965  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3966  //
  3967  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3968  //
  3969  // This file contains Original Code and/or Modifications of Original Code
  3970  // as defined in and that are subject to the Apple Public Source License
  3971  // Version 2.0 (the 'License'). You may not use this file except in
  3972  // compliance with the License. The rights granted to you under the License
  3973  // may not be used to create, or enable the creation or redistribution of,
  3974  // unlawful or unlicensed copies of an Apple operating system, or to
  3975  // circumvent, violate, or enable the circumvention or violation of, any
  3976  // terms of an Apple operating system software license agreement.
  3977  //
  3978  // Please obtain a copy of the License at
  3979  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3980  //
  3981  // The Original Code and all software distributed under the License are
  3982  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3983  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3984  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3985  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3986  // Please see the License for the specific language governing rights and
  3987  // limitations under the License.
  3988  //
  3989  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3990  
  3991  type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
  3992  
  3993  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3994  //
  3995  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3996  //
  3997  // This file contains Original Code and/or Modifications of Original Code
  3998  // as defined in and that are subject to the Apple Public Source License
  3999  // Version 2.0 (the 'License'). You may not use this file except in
  4000  // compliance with the License. The rights granted to you under the License
  4001  // may not be used to create, or enable the creation or redistribution of,
  4002  // unlawful or unlicensed copies of an Apple operating system, or to
  4003  // circumvent, violate, or enable the circumvention or violation of, any
  4004  // terms of an Apple operating system software license agreement.
  4005  //
  4006  // Please obtain a copy of the License at
  4007  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4008  //
  4009  // The Original Code and all software distributed under the License are
  4010  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4011  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4012  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4013  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4014  // Please see the License for the specific language governing rights and
  4015  // limitations under the License.
  4016  //
  4017  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4018  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4019  //
  4020  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4021  //
  4022  // This file contains Original Code and/or Modifications of Original Code
  4023  // as defined in and that are subject to the Apple Public Source License
  4024  // Version 2.0 (the 'License'). You may not use this file except in
  4025  // compliance with the License. The rights granted to you under the License
  4026  // may not be used to create, or enable the creation or redistribution of,
  4027  // unlawful or unlicensed copies of an Apple operating system, or to
  4028  // circumvent, violate, or enable the circumvention or violation of, any
  4029  // terms of an Apple operating system software license agreement.
  4030  //
  4031  // Please obtain a copy of the License at
  4032  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4033  //
  4034  // The Original Code and all software distributed under the License are
  4035  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4036  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4037  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4038  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4039  // Please see the License for the specific language governing rights and
  4040  // limitations under the License.
  4041  //
  4042  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4043  
  4044  type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
  4045  
  4046  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4047  //
  4048  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4049  //
  4050  // This file contains Original Code and/or Modifications of Original Code
  4051  // as defined in and that are subject to the Apple Public Source License
  4052  // Version 2.0 (the 'License'). You may not use this file except in
  4053  // compliance with the License. The rights granted to you under the License
  4054  // may not be used to create, or enable the creation or redistribution of,
  4055  // unlawful or unlicensed copies of an Apple operating system, or to
  4056  // circumvent, violate, or enable the circumvention or violation of, any
  4057  // terms of an Apple operating system software license agreement.
  4058  //
  4059  // Please obtain a copy of the License at
  4060  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4061  //
  4062  // The Original Code and all software distributed under the License are
  4063  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4064  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4065  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4066  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4067  // Please see the License for the specific language governing rights and
  4068  // limitations under the License.
  4069  //
  4070  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4071  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4072  //
  4073  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4074  //
  4075  // This file contains Original Code and/or Modifications of Original Code
  4076  // as defined in and that are subject to the Apple Public Source License
  4077  // Version 2.0 (the 'License'). You may not use this file except in
  4078  // compliance with the License. The rights granted to you under the License
  4079  // may not be used to create, or enable the creation or redistribution of,
  4080  // unlawful or unlicensed copies of an Apple operating system, or to
  4081  // circumvent, violate, or enable the circumvention or violation of, any
  4082  // terms of an Apple operating system software license agreement.
  4083  //
  4084  // Please obtain a copy of the License at
  4085  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4086  //
  4087  // The Original Code and all software distributed under the License are
  4088  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4089  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4090  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4091  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4092  // Please see the License for the specific language governing rights and
  4093  // limitations under the License.
  4094  //
  4095  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4096  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4097  type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  4098  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4099  //
  4100  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4101  //
  4102  // This file contains Original Code and/or Modifications of Original Code
  4103  // as defined in and that are subject to the Apple Public Source License
  4104  // Version 2.0 (the 'License'). You may not use this file except in
  4105  // compliance with the License. The rights granted to you under the License
  4106  // may not be used to create, or enable the creation or redistribution of,
  4107  // unlawful or unlicensed copies of an Apple operating system, or to
  4108  // circumvent, violate, or enable the circumvention or violation of, any
  4109  // terms of an Apple operating system software license agreement.
  4110  //
  4111  // Please obtain a copy of the License at
  4112  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4113  //
  4114  // The Original Code and all software distributed under the License are
  4115  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4116  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4117  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4118  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4119  // Please see the License for the specific language governing rights and
  4120  // limitations under the License.
  4121  //
  4122  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4123  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4124  //
  4125  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4126  //
  4127  // This file contains Original Code and/or Modifications of Original Code
  4128  // as defined in and that are subject to the Apple Public Source License
  4129  // Version 2.0 (the 'License'). You may not use this file except in
  4130  // compliance with the License. The rights granted to you under the License
  4131  // may not be used to create, or enable the creation or redistribution of,
  4132  // unlawful or unlicensed copies of an Apple operating system, or to
  4133  // circumvent, violate, or enable the circumvention or violation of, any
  4134  // terms of an Apple operating system software license agreement.
  4135  //
  4136  // Please obtain a copy of the License at
  4137  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4138  //
  4139  // The Original Code and all software distributed under the License are
  4140  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4141  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4142  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4143  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4144  // Please see the License for the specific language governing rights and
  4145  // limitations under the License.
  4146  //
  4147  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4148  
  4149  type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  4150  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4151  //
  4152  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4153  //
  4154  // This file contains Original Code and/or Modifications of Original Code
  4155  // as defined in and that are subject to the Apple Public Source License
  4156  // Version 2.0 (the 'License'). You may not use this file except in
  4157  // compliance with the License. The rights granted to you under the License
  4158  // may not be used to create, or enable the creation or redistribution of,
  4159  // unlawful or unlicensed copies of an Apple operating system, or to
  4160  // circumvent, violate, or enable the circumvention or violation of, any
  4161  // terms of an Apple operating system software license agreement.
  4162  //
  4163  // Please obtain a copy of the License at
  4164  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4165  //
  4166  // The Original Code and all software distributed under the License are
  4167  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4168  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4169  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4170  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4171  // Please see the License for the specific language governing rights and
  4172  // limitations under the License.
  4173  //
  4174  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4175  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4176  //
  4177  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4178  //
  4179  // This file contains Original Code and/or Modifications of Original Code
  4180  // as defined in and that are subject to the Apple Public Source License
  4181  // Version 2.0 (the 'License'). You may not use this file except in
  4182  // compliance with the License. The rights granted to you under the License
  4183  // may not be used to create, or enable the creation or redistribution of,
  4184  // unlawful or unlicensed copies of an Apple operating system, or to
  4185  // circumvent, violate, or enable the circumvention or violation of, any
  4186  // terms of an Apple operating system software license agreement.
  4187  //
  4188  // Please obtain a copy of the License at
  4189  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4190  //
  4191  // The Original Code and all software distributed under the License are
  4192  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4193  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4194  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4195  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4196  // Please see the License for the specific language governing rights and
  4197  // limitations under the License.
  4198  //
  4199  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4200  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4201  type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
  4202  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4203  //
  4204  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4205  //
  4206  // This file contains Original Code and/or Modifications of Original Code
  4207  // as defined in and that are subject to the Apple Public Source License
  4208  // Version 2.0 (the 'License'). You may not use this file except in
  4209  // compliance with the License. The rights granted to you under the License
  4210  // may not be used to create, or enable the creation or redistribution of,
  4211  // unlawful or unlicensed copies of an Apple operating system, or to
  4212  // circumvent, violate, or enable the circumvention or violation of, any
  4213  // terms of an Apple operating system software license agreement.
  4214  //
  4215  // Please obtain a copy of the License at
  4216  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4217  //
  4218  // The Original Code and all software distributed under the License are
  4219  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4220  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4221  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4222  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4223  // Please see the License for the specific language governing rights and
  4224  // limitations under the License.
  4225  //
  4226  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4227  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4228  //
  4229  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4230  //
  4231  // This file contains Original Code and/or Modifications of Original Code
  4232  // as defined in and that are subject to the Apple Public Source License
  4233  // Version 2.0 (the 'License'). You may not use this file except in
  4234  // compliance with the License. The rights granted to you under the License
  4235  // may not be used to create, or enable the creation or redistribution of,
  4236  // unlawful or unlicensed copies of an Apple operating system, or to
  4237  // circumvent, violate, or enable the circumvention or violation of, any
  4238  // terms of an Apple operating system software license agreement.
  4239  //
  4240  // Please obtain a copy of the License at
  4241  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4242  //
  4243  // The Original Code and all software distributed under the License are
  4244  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4245  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4246  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4247  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4248  // Please see the License for the specific language governing rights and
  4249  // limitations under the License.
  4250  //
  4251  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4252  
  4253  type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  4254  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4255  //
  4256  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4257  //
  4258  // This file contains Original Code and/or Modifications of Original Code
  4259  // as defined in and that are subject to the Apple Public Source License
  4260  // Version 2.0 (the 'License'). You may not use this file except in
  4261  // compliance with the License. The rights granted to you under the License
  4262  // may not be used to create, or enable the creation or redistribution of,
  4263  // unlawful or unlicensed copies of an Apple operating system, or to
  4264  // circumvent, violate, or enable the circumvention or violation of, any
  4265  // terms of an Apple operating system software license agreement.
  4266  //
  4267  // Please obtain a copy of the License at
  4268  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4269  //
  4270  // The Original Code and all software distributed under the License are
  4271  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4272  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4273  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4274  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4275  // Please see the License for the specific language governing rights and
  4276  // limitations under the License.
  4277  //
  4278  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4279  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4280  //
  4281  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4282  //
  4283  // This file contains Original Code and/or Modifications of Original Code
  4284  // as defined in and that are subject to the Apple Public Source License
  4285  // Version 2.0 (the 'License'). You may not use this file except in
  4286  // compliance with the License. The rights granted to you under the License
  4287  // may not be used to create, or enable the creation or redistribution of,
  4288  // unlawful or unlicensed copies of an Apple operating system, or to
  4289  // circumvent, violate, or enable the circumvention or violation of, any
  4290  // terms of an Apple operating system software license agreement.
  4291  //
  4292  // Please obtain a copy of the License at
  4293  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4294  //
  4295  // The Original Code and all software distributed under the License are
  4296  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4297  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4298  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4299  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4300  // Please see the License for the specific language governing rights and
  4301  // limitations under the License.
  4302  //
  4303  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4304  
  4305  type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  4306  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4307  //
  4308  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4309  //
  4310  // This file contains Original Code and/or Modifications of Original Code
  4311  // as defined in and that are subject to the Apple Public Source License
  4312  // Version 2.0 (the 'License'). You may not use this file except in
  4313  // compliance with the License. The rights granted to you under the License
  4314  // may not be used to create, or enable the creation or redistribution of,
  4315  // unlawful or unlicensed copies of an Apple operating system, or to
  4316  // circumvent, violate, or enable the circumvention or violation of, any
  4317  // terms of an Apple operating system software license agreement.
  4318  //
  4319  // Please obtain a copy of the License at
  4320  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4321  //
  4322  // The Original Code and all software distributed under the License are
  4323  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4324  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4325  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4326  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4327  // Please see the License for the specific language governing rights and
  4328  // limitations under the License.
  4329  //
  4330  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4331  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4332  //
  4333  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4334  //
  4335  // This file contains Original Code and/or Modifications of Original Code
  4336  // as defined in and that are subject to the Apple Public Source License
  4337  // Version 2.0 (the 'License'). You may not use this file except in
  4338  // compliance with the License. The rights granted to you under the License
  4339  // may not be used to create, or enable the creation or redistribution of,
  4340  // unlawful or unlicensed copies of an Apple operating system, or to
  4341  // circumvent, violate, or enable the circumvention or violation of, any
  4342  // terms of an Apple operating system software license agreement.
  4343  //
  4344  // Please obtain a copy of the License at
  4345  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4346  //
  4347  // The Original Code and all software distributed under the License are
  4348  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4349  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4350  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4351  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4352  // Please see the License for the specific language governing rights and
  4353  // limitations under the License.
  4354  //
  4355  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4356  
  4357  type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  4358  
  4359  type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
  4360  type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
  4361  
  4362  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4363  //
  4364  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4365  //
  4366  // This file contains Original Code and/or Modifications of Original Code
  4367  // as defined in and that are subject to the Apple Public Source License
  4368  // Version 2.0 (the 'License'). You may not use this file except in
  4369  // compliance with the License. The rights granted to you under the License
  4370  // may not be used to create, or enable the creation or redistribution of,
  4371  // unlawful or unlicensed copies of an Apple operating system, or to
  4372  // circumvent, violate, or enable the circumvention or violation of, any
  4373  // terms of an Apple operating system software license agreement.
  4374  //
  4375  // Please obtain a copy of the License at
  4376  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4377  //
  4378  // The Original Code and all software distributed under the License are
  4379  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4380  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4381  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4382  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4383  // Please see the License for the specific language governing rights and
  4384  // limitations under the License.
  4385  //
  4386  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4387  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4388  //
  4389  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4390  //
  4391  // This file contains Original Code and/or Modifications of Original Code
  4392  // as defined in and that are subject to the Apple Public Source License
  4393  // Version 2.0 (the 'License'). You may not use this file except in
  4394  // compliance with the License. The rights granted to you under the License
  4395  // may not be used to create, or enable the creation or redistribution of,
  4396  // unlawful or unlicensed copies of an Apple operating system, or to
  4397  // circumvent, violate, or enable the circumvention or violation of, any
  4398  // terms of an Apple operating system software license agreement.
  4399  //
  4400  // Please obtain a copy of the License at
  4401  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4402  //
  4403  // The Original Code and all software distributed under the License are
  4404  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4405  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4406  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4407  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4408  // Please see the License for the specific language governing rights and
  4409  // limitations under the License.
  4410  //
  4411  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4412  
  4413  type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  4414  
  4415  // Major, minor numbers, dev_t's.
  4416  
  4417  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4418  //
  4419  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4420  //
  4421  // This file contains Original Code and/or Modifications of Original Code
  4422  // as defined in and that are subject to the Apple Public Source License
  4423  // Version 2.0 (the 'License'). You may not use this file except in
  4424  // compliance with the License. The rights granted to you under the License
  4425  // may not be used to create, or enable the creation or redistribution of,
  4426  // unlawful or unlicensed copies of an Apple operating system, or to
  4427  // circumvent, violate, or enable the circumvention or violation of, any
  4428  // terms of an Apple operating system software license agreement.
  4429  //
  4430  // Please obtain a copy of the License at
  4431  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4432  //
  4433  // The Original Code and all software distributed under the License are
  4434  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4435  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4436  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4437  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4438  // Please see the License for the specific language governing rights and
  4439  // limitations under the License.
  4440  //
  4441  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4442  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4443  //
  4444  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4445  //
  4446  // This file contains Original Code and/or Modifications of Original Code
  4447  // as defined in and that are subject to the Apple Public Source License
  4448  // Version 2.0 (the 'License'). You may not use this file except in
  4449  // compliance with the License. The rights granted to you under the License
  4450  // may not be used to create, or enable the creation or redistribution of,
  4451  // unlawful or unlicensed copies of an Apple operating system, or to
  4452  // circumvent, violate, or enable the circumvention or violation of, any
  4453  // terms of an Apple operating system software license agreement.
  4454  //
  4455  // Please obtain a copy of the License at
  4456  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4457  //
  4458  // The Original Code and all software distributed under the License are
  4459  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4460  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4461  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4462  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4463  // Please see the License for the specific language governing rights and
  4464  // limitations under the License.
  4465  //
  4466  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4467  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4468  type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
  4469  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4470  //
  4471  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4472  //
  4473  // This file contains Original Code and/or Modifications of Original Code
  4474  // as defined in and that are subject to the Apple Public Source License
  4475  // Version 2.0 (the 'License'). You may not use this file except in
  4476  // compliance with the License. The rights granted to you under the License
  4477  // may not be used to create, or enable the creation or redistribution of,
  4478  // unlawful or unlicensed copies of an Apple operating system, or to
  4479  // circumvent, violate, or enable the circumvention or violation of, any
  4480  // terms of an Apple operating system software license agreement.
  4481  //
  4482  // Please obtain a copy of the License at
  4483  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4484  //
  4485  // The Original Code and all software distributed under the License are
  4486  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4487  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4488  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4489  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4490  // Please see the License for the specific language governing rights and
  4491  // limitations under the License.
  4492  //
  4493  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4494  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4495  //
  4496  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4497  //
  4498  // This file contains Original Code and/or Modifications of Original Code
  4499  // as defined in and that are subject to the Apple Public Source License
  4500  // Version 2.0 (the 'License'). You may not use this file except in
  4501  // compliance with the License. The rights granted to you under the License
  4502  // may not be used to create, or enable the creation or redistribution of,
  4503  // unlawful or unlicensed copies of an Apple operating system, or to
  4504  // circumvent, violate, or enable the circumvention or violation of, any
  4505  // terms of an Apple operating system software license agreement.
  4506  //
  4507  // Please obtain a copy of the License at
  4508  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4509  //
  4510  // The Original Code and all software distributed under the License are
  4511  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4512  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4513  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4514  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4515  // Please see the License for the specific language governing rights and
  4516  // limitations under the License.
  4517  //
  4518  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4519  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4520  type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  4521  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4522  //
  4523  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4524  //
  4525  // This file contains Original Code and/or Modifications of Original Code
  4526  // as defined in and that are subject to the Apple Public Source License
  4527  // Version 2.0 (the 'License'). You may not use this file except in
  4528  // compliance with the License. The rights granted to you under the License
  4529  // may not be used to create, or enable the creation or redistribution of,
  4530  // unlawful or unlicensed copies of an Apple operating system, or to
  4531  // circumvent, violate, or enable the circumvention or violation of, any
  4532  // terms of an Apple operating system software license agreement.
  4533  //
  4534  // Please obtain a copy of the License at
  4535  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4536  //
  4537  // The Original Code and all software distributed under the License are
  4538  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4539  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4540  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4541  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4542  // Please see the License for the specific language governing rights and
  4543  // limitations under the License.
  4544  //
  4545  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4546  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4547  //
  4548  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4549  //
  4550  // This file contains Original Code and/or Modifications of Original Code
  4551  // as defined in and that are subject to the Apple Public Source License
  4552  // Version 2.0 (the 'License'). You may not use this file except in
  4553  // compliance with the License. The rights granted to you under the License
  4554  // may not be used to create, or enable the creation or redistribution of,
  4555  // unlawful or unlicensed copies of an Apple operating system, or to
  4556  // circumvent, violate, or enable the circumvention or violation of, any
  4557  // terms of an Apple operating system software license agreement.
  4558  //
  4559  // Please obtain a copy of the License at
  4560  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4561  //
  4562  // The Original Code and all software distributed under the License are
  4563  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4564  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4565  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4566  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4567  // Please see the License for the specific language governing rights and
  4568  // limitations under the License.
  4569  //
  4570  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4571  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4572  type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  4573  
  4574  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4575  //
  4576  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4577  //
  4578  // This file contains Original Code and/or Modifications of Original Code
  4579  // as defined in and that are subject to the Apple Public Source License
  4580  // Version 2.0 (the 'License'). You may not use this file except in
  4581  // compliance with the License. The rights granted to you under the License
  4582  // may not be used to create, or enable the creation or redistribution of,
  4583  // unlawful or unlicensed copies of an Apple operating system, or to
  4584  // circumvent, violate, or enable the circumvention or violation of, any
  4585  // terms of an Apple operating system software license agreement.
  4586  //
  4587  // Please obtain a copy of the License at
  4588  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4589  //
  4590  // The Original Code and all software distributed under the License are
  4591  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4592  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4593  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4594  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4595  // Please see the License for the specific language governing rights and
  4596  // limitations under the License.
  4597  //
  4598  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4599  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4600  //
  4601  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4602  //
  4603  // This file contains Original Code and/or Modifications of Original Code
  4604  // as defined in and that are subject to the Apple Public Source License
  4605  // Version 2.0 (the 'License'). You may not use this file except in
  4606  // compliance with the License. The rights granted to you under the License
  4607  // may not be used to create, or enable the creation or redistribution of,
  4608  // unlawful or unlicensed copies of an Apple operating system, or to
  4609  // circumvent, violate, or enable the circumvention or violation of, any
  4610  // terms of an Apple operating system software license agreement.
  4611  //
  4612  // Please obtain a copy of the License at
  4613  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4614  //
  4615  // The Original Code and all software distributed under the License are
  4616  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4617  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4618  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4619  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4620  // Please see the License for the specific language governing rights and
  4621  // limitations under the License.
  4622  //
  4623  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4624  
  4625  type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  4626  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4627  //
  4628  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4629  //
  4630  // This file contains Original Code and/or Modifications of Original Code
  4631  // as defined in and that are subject to the Apple Public Source License
  4632  // Version 2.0 (the 'License'). You may not use this file except in
  4633  // compliance with the License. The rights granted to you under the License
  4634  // may not be used to create, or enable the creation or redistribution of,
  4635  // unlawful or unlicensed copies of an Apple operating system, or to
  4636  // circumvent, violate, or enable the circumvention or violation of, any
  4637  // terms of an Apple operating system software license agreement.
  4638  //
  4639  // Please obtain a copy of the License at
  4640  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4641  //
  4642  // The Original Code and all software distributed under the License are
  4643  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4644  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4645  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4646  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4647  // Please see the License for the specific language governing rights and
  4648  // limitations under the License.
  4649  //
  4650  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4651  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4652  //
  4653  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4654  //
  4655  // This file contains Original Code and/or Modifications of Original Code
  4656  // as defined in and that are subject to the Apple Public Source License
  4657  // Version 2.0 (the 'License'). You may not use this file except in
  4658  // compliance with the License. The rights granted to you under the License
  4659  // may not be used to create, or enable the creation or redistribution of,
  4660  // unlawful or unlicensed copies of an Apple operating system, or to
  4661  // circumvent, violate, or enable the circumvention or violation of, any
  4662  // terms of an Apple operating system software license agreement.
  4663  //
  4664  // Please obtain a copy of the License at
  4665  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4666  //
  4667  // The Original Code and all software distributed under the License are
  4668  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4669  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4670  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4671  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4672  // Please see the License for the specific language governing rights and
  4673  // limitations under the License.
  4674  //
  4675  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4676  
  4677  type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  4678  
  4679  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4680  //
  4681  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4682  //
  4683  // This file contains Original Code and/or Modifications of Original Code
  4684  // as defined in and that are subject to the Apple Public Source License
  4685  // Version 2.0 (the 'License'). You may not use this file except in
  4686  // compliance with the License. The rights granted to you under the License
  4687  // may not be used to create, or enable the creation or redistribution of,
  4688  // unlawful or unlicensed copies of an Apple operating system, or to
  4689  // circumvent, violate, or enable the circumvention or violation of, any
  4690  // terms of an Apple operating system software license agreement.
  4691  //
  4692  // Please obtain a copy of the License at
  4693  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4694  //
  4695  // The Original Code and all software distributed under the License are
  4696  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4697  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4698  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4699  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4700  // Please see the License for the specific language governing rights and
  4701  // limitations under the License.
  4702  //
  4703  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4704  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4705  //
  4706  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4707  //
  4708  // This file contains Original Code and/or Modifications of Original Code
  4709  // as defined in and that are subject to the Apple Public Source License
  4710  // Version 2.0 (the 'License'). You may not use this file except in
  4711  // compliance with the License. The rights granted to you under the License
  4712  // may not be used to create, or enable the creation or redistribution of,
  4713  // unlawful or unlicensed copies of an Apple operating system, or to
  4714  // circumvent, violate, or enable the circumvention or violation of, any
  4715  // terms of an Apple operating system software license agreement.
  4716  //
  4717  // Please obtain a copy of the License at
  4718  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4719  //
  4720  // The Original Code and all software distributed under the License are
  4721  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4722  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4723  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4724  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4725  // Please see the License for the specific language governing rights and
  4726  // limitations under the License.
  4727  //
  4728  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4729  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4730  type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
  4731  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4732  //
  4733  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4734  //
  4735  // This file contains Original Code and/or Modifications of Original Code
  4736  // as defined in and that are subject to the Apple Public Source License
  4737  // Version 2.0 (the 'License'). You may not use this file except in
  4738  // compliance with the License. The rights granted to you under the License
  4739  // may not be used to create, or enable the creation or redistribution of,
  4740  // unlawful or unlicensed copies of an Apple operating system, or to
  4741  // circumvent, violate, or enable the circumvention or violation of, any
  4742  // terms of an Apple operating system software license agreement.
  4743  //
  4744  // Please obtain a copy of the License at
  4745  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4746  //
  4747  // The Original Code and all software distributed under the License are
  4748  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4749  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4750  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4751  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4752  // Please see the License for the specific language governing rights and
  4753  // limitations under the License.
  4754  //
  4755  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4756  type Errno_t = int32 /* _errno_t.h:30:32 */
  4757  
  4758  // This code is present here in order to maintain historical backward
  4759  // compatability, and is intended to be removed at some point in the
  4760  // future; please include <sys/select.h> instead.
  4761  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4762  //
  4763  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4764  //
  4765  // This file contains Original Code and/or Modifications of Original Code
  4766  // as defined in and that are subject to the Apple Public Source License
  4767  // Version 2.0 (the 'License'). You may not use this file except in
  4768  // compliance with the License. The rights granted to you under the License
  4769  // may not be used to create, or enable the creation or redistribution of,
  4770  // unlawful or unlicensed copies of an Apple operating system, or to
  4771  // circumvent, violate, or enable the circumvention or violation of, any
  4772  // terms of an Apple operating system software license agreement.
  4773  //
  4774  // Please obtain a copy of the License at
  4775  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4776  //
  4777  // The Original Code and all software distributed under the License are
  4778  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4779  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4780  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4781  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4782  // Please see the License for the specific language governing rights and
  4783  // limitations under the License.
  4784  //
  4785  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4786  
  4787  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4788  //
  4789  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4790  //
  4791  // This file contains Original Code and/or Modifications of Original Code
  4792  // as defined in and that are subject to the Apple Public Source License
  4793  // Version 2.0 (the 'License'). You may not use this file except in
  4794  // compliance with the License. The rights granted to you under the License
  4795  // may not be used to create, or enable the creation or redistribution of,
  4796  // unlawful or unlicensed copies of an Apple operating system, or to
  4797  // circumvent, violate, or enable the circumvention or violation of, any
  4798  // terms of an Apple operating system software license agreement.
  4799  //
  4800  // Please obtain a copy of the License at
  4801  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4802  //
  4803  // The Original Code and all software distributed under the License are
  4804  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4805  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4806  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4807  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4808  // Please see the License for the specific language governing rights and
  4809  // limitations under the License.
  4810  //
  4811  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4812  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4813  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4814  //
  4815  // @APPLE_LICENSE_HEADER_START@
  4816  //
  4817  // This file contains Original Code and/or Modifications of Original Code
  4818  // as defined in and that are subject to the Apple Public Source License
  4819  // Version 2.0 (the 'License'). You may not use this file except in
  4820  // compliance with the License. Please obtain a copy of the License at
  4821  // http://www.opensource.apple.com/apsl/ and read it before using this
  4822  // file.
  4823  //
  4824  // The Original Code and all software distributed under the License are
  4825  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4826  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4827  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4828  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4829  // Please see the License for the specific language governing rights and
  4830  // limitations under the License.
  4831  //
  4832  // @APPLE_LICENSE_HEADER_END@
  4833  
  4834  //
  4835  //     These macros are for use in OS header files. They enable function prototypes
  4836  //     and Objective-C methods to be tagged with the OS version in which they
  4837  //     were first available; and, if applicable, the OS version in which they
  4838  //     became deprecated.
  4839  //
  4840  //     The desktop Mac OS X and iOS each have different version numbers.
  4841  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  4842  //     and iOS version numbers.  For instance:
  4843  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  4844  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  4845  //     and first available in iOS 2.0 on the iPhone.
  4846  //
  4847  //     If a function is available on one platform, but not the other a _NA (not
  4848  //     applicable) parameter is used.  For instance:
  4849  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  4850  //     means that the function/method was first available on Mac OS X 10.3, and it
  4851  //     currently not implemented on the iPhone.
  4852  //
  4853  //     At some point, a function/method may be deprecated.  That means Apple
  4854  //     recommends applications stop using the function, either because there is a
  4855  //     better replacement or the functionality is being phased out.  Deprecated
  4856  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  4857  //     macro which specifies the OS version where the function became available
  4858  //     as well as the OS version in which it became deprecated.  For instance:
  4859  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  4860  //     means that the function/method was introduced in Mac OS X 10.0, then
  4861  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  4862  //     has never been available.
  4863  //
  4864  //     For these macros to function properly, a program must specify the OS version range
  4865  //     it is targeting.  The min OS version is specified as an option to the compiler:
  4866  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  4867  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  4868  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  4869  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  4870  //
  4871  //     Examples:
  4872  //
  4873  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  4874  //
  4875  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  4876  //
  4877  //
  4878  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  4879  //
  4880  //             @interface MyClass : NSObject
  4881  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  4882  //             @end
  4883  //
  4884  //
  4885  //         An enum available on the phone, but not available on Mac OS X:
  4886  //
  4887  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  4888  //                 enum { myEnum = 1 };
  4889  //             #endif
  4890  //            Note: this works when targeting the Mac OS X platform because
  4891  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  4892  //
  4893  //
  4894  //         An enum with values added in different iPhoneOS versions:
  4895  //
  4896  // 			enum {
  4897  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  4898  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  4899  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  4900  // 				...
  4901  // 		      Note: you do not want to use #if with enumeration values
  4902  // 			  when a client needs to see all values at compile time
  4903  // 			  and use runtime logic to only use the viable values.
  4904  //
  4905  //
  4906  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  4907  //     source base that can be compiled to target a range of OS versions.  It is best
  4908  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  4909  //     That is because you might get compiled on an old OS that does not define a later
  4910  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  4911  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  4912  //     way.
  4913  //
  4914  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  4915  //             // code only compiled when targeting Mac OS X and not iPhone
  4916  //             // note use of 1050 instead of __MAC_10_5
  4917  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  4918  //                 // code in here might run on pre-Leopard OS
  4919  //             #else
  4920  //                 // code here can assume Leopard or later
  4921  //             #endif
  4922  //         #endif
  4923  //
  4924  //
  4925  
  4926  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  4927  // in an upcoming release. This soft deprecation is an intermediate step before formal
  4928  // deprecation to notify developers about the API before compiler warnings are generated.
  4929  // You can find all places in your code that use soft deprecated API by redefining the
  4930  // value of this macro to your current minimum deployment target, for example:
  4931  // (macOS)
  4932  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  4933  // (iOS)
  4934  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  4935  
  4936  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  4937  
  4938  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  4939  
  4940  //  DO NOT EDIT THIS FILE.
  4941  //
  4942  //     It has been auto-edited by fixincludes from:
  4943  //
  4944  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
  4945  //
  4946  //     This had to be done to correct non-standard usages in the
  4947  //     original, manufacturer supplied header file.
  4948  
  4949  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4950  //
  4951  // @APPLE_LICENSE_HEADER_START@
  4952  //
  4953  // This file contains Original Code and/or Modifications of Original Code
  4954  // as defined in and that are subject to the Apple Public Source License
  4955  // Version 2.0 (the 'License'). You may not use this file except in
  4956  // compliance with the License. Please obtain a copy of the License at
  4957  // http://www.opensource.apple.com/apsl/ and read it before using this
  4958  // file.
  4959  //
  4960  // The Original Code and all software distributed under the License are
  4961  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4962  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4963  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4964  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4965  // Please see the License for the specific language governing rights and
  4966  // limitations under the License.
  4967  //
  4968  // @APPLE_LICENSE_HEADER_END@
  4969  
  4970  //
  4971  //     File:       AvailabilityInternal.h
  4972  //
  4973  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  4974  //
  4975  
  4976  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  4977  
  4978  // make sure a default max version is set
  4979  
  4980  //
  4981  //  Macros for defining which versions/platform a given symbol can be used.
  4982  //
  4983  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  4984  //
  4985  
  4986  // Evaluate to nothing for compilers that don't support availability.
  4987  
  4988  // Swift compiler version
  4989  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  4990  // Example:
  4991  //
  4992  //  #if __swift_compiler_version_at_least(800, 2, 20)
  4993  //  - (nonnull NSString *)description;
  4994  //  #else
  4995  //  - (NSString *)description;
  4996  //  #endif
  4997  
  4998  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  4999  
  5000  // for use to document app extension usage
  5001  
  5002  // for use marking APIs available info for Mac OSX
  5003  
  5004  // for use marking APIs available info for iOS
  5005  
  5006  // for use marking APIs available info for tvOS
  5007  
  5008  // for use marking APIs available info for Watch OS
  5009  
  5010  // for use marking APIs unavailable for swift
  5011  
  5012  //
  5013  //  Macros for defining which versions/platform a given symbol can be used.
  5014  //
  5015  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  5016  //
  5017  //  * Note that these macros are only compatible with clang compilers that
  5018  //  * support the following target selection options:
  5019  //  *
  5020  //  * -mmacosx-version-min
  5021  //  * -miphoneos-version-min
  5022  //  * -mwatchos-version-min
  5023  //  * -mtvos-version-min
  5024  //
  5025  
  5026  // Evaluate to nothing for compilers that don't support availability.
  5027  
  5028  // If SPI decorations have not been defined elsewhere, disable them.
  5029  
  5030  // Select uses bit masks of file descriptors in longs.  These macros
  5031  // manipulate such bit fields (the filesystem macros use chars).  The
  5032  // extra protection here is to permit application redefinition above
  5033  // the default size.
  5034  
  5035  type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  5036  
  5037  // This code is present here in order to maintain historical backward
  5038  // compatability, and is intended to be removed at some point in the
  5039  // future; please include <sys/select.h> instead.
  5040  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5041  //
  5042  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5043  //
  5044  // This file contains Original Code and/or Modifications of Original Code
  5045  // as defined in and that are subject to the Apple Public Source License
  5046  // Version 2.0 (the 'License'). You may not use this file except in
  5047  // compliance with the License. The rights granted to you under the License
  5048  // may not be used to create, or enable the creation or redistribution of,
  5049  // unlawful or unlicensed copies of an Apple operating system, or to
  5050  // circumvent, violate, or enable the circumvention or violation of, any
  5051  // terms of an Apple operating system software license agreement.
  5052  //
  5053  // Please obtain a copy of the License at
  5054  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5055  //
  5056  // The Original Code and all software distributed under the License are
  5057  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5058  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5059  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5060  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5061  // Please see the License for the specific language governing rights and
  5062  // limitations under the License.
  5063  //
  5064  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5065  
  5066  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5067  //
  5068  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5069  //
  5070  // This file contains Original Code and/or Modifications of Original Code
  5071  // as defined in and that are subject to the Apple Public Source License
  5072  // Version 2.0 (the 'License'). You may not use this file except in
  5073  // compliance with the License. The rights granted to you under the License
  5074  // may not be used to create, or enable the creation or redistribution of,
  5075  // unlawful or unlicensed copies of an Apple operating system, or to
  5076  // circumvent, violate, or enable the circumvention or violation of, any
  5077  // terms of an Apple operating system software license agreement.
  5078  //
  5079  // Please obtain a copy of the License at
  5080  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5081  //
  5082  // The Original Code and all software distributed under the License are
  5083  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5084  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5085  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5086  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5087  // Please see the License for the specific language governing rights and
  5088  // limitations under the License.
  5089  //
  5090  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5091  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5092  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  5093  //
  5094  // @APPLE_LICENSE_HEADER_START@
  5095  //
  5096  // This file contains Original Code and/or Modifications of Original Code
  5097  // as defined in and that are subject to the Apple Public Source License
  5098  // Version 2.0 (the 'License'). You may not use this file except in
  5099  // compliance with the License. Please obtain a copy of the License at
  5100  // http://www.opensource.apple.com/apsl/ and read it before using this
  5101  // file.
  5102  //
  5103  // The Original Code and all software distributed under the License are
  5104  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5105  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5106  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5107  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5108  // Please see the License for the specific language governing rights and
  5109  // limitations under the License.
  5110  //
  5111  // @APPLE_LICENSE_HEADER_END@
  5112  
  5113  //
  5114  //     These macros are for use in OS header files. They enable function prototypes
  5115  //     and Objective-C methods to be tagged with the OS version in which they
  5116  //     were first available; and, if applicable, the OS version in which they
  5117  //     became deprecated.
  5118  //
  5119  //     The desktop Mac OS X and iOS each have different version numbers.
  5120  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  5121  //     and iOS version numbers.  For instance:
  5122  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  5123  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  5124  //     and first available in iOS 2.0 on the iPhone.
  5125  //
  5126  //     If a function is available on one platform, but not the other a _NA (not
  5127  //     applicable) parameter is used.  For instance:
  5128  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  5129  //     means that the function/method was first available on Mac OS X 10.3, and it
  5130  //     currently not implemented on the iPhone.
  5131  //
  5132  //     At some point, a function/method may be deprecated.  That means Apple
  5133  //     recommends applications stop using the function, either because there is a
  5134  //     better replacement or the functionality is being phased out.  Deprecated
  5135  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  5136  //     macro which specifies the OS version where the function became available
  5137  //     as well as the OS version in which it became deprecated.  For instance:
  5138  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  5139  //     means that the function/method was introduced in Mac OS X 10.0, then
  5140  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  5141  //     has never been available.
  5142  //
  5143  //     For these macros to function properly, a program must specify the OS version range
  5144  //     it is targeting.  The min OS version is specified as an option to the compiler:
  5145  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  5146  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  5147  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  5148  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  5149  //
  5150  //     Examples:
  5151  //
  5152  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  5153  //
  5154  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  5155  //
  5156  //
  5157  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  5158  //
  5159  //             @interface MyClass : NSObject
  5160  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  5161  //             @end
  5162  //
  5163  //
  5164  //         An enum available on the phone, but not available on Mac OS X:
  5165  //
  5166  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  5167  //                 enum { myEnum = 1 };
  5168  //             #endif
  5169  //            Note: this works when targeting the Mac OS X platform because
  5170  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  5171  //
  5172  //
  5173  //         An enum with values added in different iPhoneOS versions:
  5174  //
  5175  // 			enum {
  5176  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  5177  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  5178  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  5179  // 				...
  5180  // 		      Note: you do not want to use #if with enumeration values
  5181  // 			  when a client needs to see all values at compile time
  5182  // 			  and use runtime logic to only use the viable values.
  5183  //
  5184  //
  5185  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  5186  //     source base that can be compiled to target a range of OS versions.  It is best
  5187  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  5188  //     That is because you might get compiled on an old OS that does not define a later
  5189  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  5190  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  5191  //     way.
  5192  //
  5193  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  5194  //             // code only compiled when targeting Mac OS X and not iPhone
  5195  //             // note use of 1050 instead of __MAC_10_5
  5196  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  5197  //                 // code in here might run on pre-Leopard OS
  5198  //             #else
  5199  //                 // code here can assume Leopard or later
  5200  //             #endif
  5201  //         #endif
  5202  //
  5203  //
  5204  
  5205  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  5206  // in an upcoming release. This soft deprecation is an intermediate step before formal
  5207  // deprecation to notify developers about the API before compiler warnings are generated.
  5208  // You can find all places in your code that use soft deprecated API by redefining the
  5209  // value of this macro to your current minimum deployment target, for example:
  5210  // (macOS)
  5211  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  5212  // (iOS)
  5213  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  5214  
  5215  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  5216  
  5217  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  5218  
  5219  //  DO NOT EDIT THIS FILE.
  5220  //
  5221  //     It has been auto-edited by fixincludes from:
  5222  //
  5223  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
  5224  //
  5225  //     This had to be done to correct non-standard usages in the
  5226  //     original, manufacturer supplied header file.
  5227  
  5228  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  5229  //
  5230  // @APPLE_LICENSE_HEADER_START@
  5231  //
  5232  // This file contains Original Code and/or Modifications of Original Code
  5233  // as defined in and that are subject to the Apple Public Source License
  5234  // Version 2.0 (the 'License'). You may not use this file except in
  5235  // compliance with the License. Please obtain a copy of the License at
  5236  // http://www.opensource.apple.com/apsl/ and read it before using this
  5237  // file.
  5238  //
  5239  // The Original Code and all software distributed under the License are
  5240  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5241  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5242  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5243  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5244  // Please see the License for the specific language governing rights and
  5245  // limitations under the License.
  5246  //
  5247  // @APPLE_LICENSE_HEADER_END@
  5248  
  5249  //
  5250  //     File:       AvailabilityInternal.h
  5251  //
  5252  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  5253  //
  5254  
  5255  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  5256  
  5257  // make sure a default max version is set
  5258  
  5259  //
  5260  //  Macros for defining which versions/platform a given symbol can be used.
  5261  //
  5262  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  5263  //
  5264  
  5265  // Evaluate to nothing for compilers that don't support availability.
  5266  
  5267  // Swift compiler version
  5268  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  5269  // Example:
  5270  //
  5271  //  #if __swift_compiler_version_at_least(800, 2, 20)
  5272  //  - (nonnull NSString *)description;
  5273  //  #else
  5274  //  - (NSString *)description;
  5275  //  #endif
  5276  
  5277  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  5278  
  5279  // for use to document app extension usage
  5280  
  5281  // for use marking APIs available info for Mac OSX
  5282  
  5283  // for use marking APIs available info for iOS
  5284  
  5285  // for use marking APIs available info for tvOS
  5286  
  5287  // for use marking APIs available info for Watch OS
  5288  
  5289  // for use marking APIs unavailable for swift
  5290  
  5291  //
  5292  //  Macros for defining which versions/platform a given symbol can be used.
  5293  //
  5294  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  5295  //
  5296  //  * Note that these macros are only compatible with clang compilers that
  5297  //  * support the following target selection options:
  5298  //  *
  5299  //  * -mmacosx-version-min
  5300  //  * -miphoneos-version-min
  5301  //  * -mwatchos-version-min
  5302  //  * -mtvos-version-min
  5303  //
  5304  
  5305  // Evaluate to nothing for compilers that don't support availability.
  5306  
  5307  // If SPI decorations have not been defined elsewhere, disable them.
  5308  
  5309  // Select uses bit masks of file descriptors in longs.  These macros
  5310  // manipulate such bit fields (the filesystem macros use chars).  The
  5311  // extra protection here is to permit application redefinition above
  5312  // the default size.
  5313  
  5314  type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  5315  
  5316  // Use the built-in bzero function instead of the library version so that
  5317  // we do not pollute the namespace or introduce prototype warnings.
  5318  
  5319  type Fd_mask = X__int32_t /* types.h:189:25 */
  5320  
  5321  // Select uses bit masks of file descriptors in longs.  These macros
  5322  // manipulate such bit fields (the filesystem macros use chars).  The
  5323  // extra protection here is to permit application redefinition above
  5324  // the default size.
  5325  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5326  //
  5327  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5328  //
  5329  // This file contains Original Code and/or Modifications of Original Code
  5330  // as defined in and that are subject to the Apple Public Source License
  5331  // Version 2.0 (the 'License'). You may not use this file except in
  5332  // compliance with the License. The rights granted to you under the License
  5333  // may not be used to create, or enable the creation or redistribution of,
  5334  // unlawful or unlicensed copies of an Apple operating system, or to
  5335  // circumvent, violate, or enable the circumvention or violation of, any
  5336  // terms of an Apple operating system software license agreement.
  5337  //
  5338  // Please obtain a copy of the License at
  5339  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5340  //
  5341  // The Original Code and all software distributed under the License are
  5342  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5343  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5344  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5345  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5346  // Please see the License for the specific language governing rights and
  5347  // limitations under the License.
  5348  //
  5349  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5350  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5351  //
  5352  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5353  //
  5354  // This file contains Original Code and/or Modifications of Original Code
  5355  // as defined in and that are subject to the Apple Public Source License
  5356  // Version 2.0 (the 'License'). You may not use this file except in
  5357  // compliance with the License. The rights granted to you under the License
  5358  // may not be used to create, or enable the creation or redistribution of,
  5359  // unlawful or unlicensed copies of an Apple operating system, or to
  5360  // circumvent, violate, or enable the circumvention or violation of, any
  5361  // terms of an Apple operating system software license agreement.
  5362  //
  5363  // Please obtain a copy of the License at
  5364  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5365  //
  5366  // The Original Code and all software distributed under the License are
  5367  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5368  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5369  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5370  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5371  // Please see the License for the specific language governing rights and
  5372  // limitations under the License.
  5373  //
  5374  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5375  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5376  //
  5377  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5378  //
  5379  // This file contains Original Code and/or Modifications of Original Code
  5380  // as defined in and that are subject to the Apple Public Source License
  5381  // Version 2.0 (the 'License'). You may not use this file except in
  5382  // compliance with the License. The rights granted to you under the License
  5383  // may not be used to create, or enable the creation or redistribution of,
  5384  // unlawful or unlicensed copies of an Apple operating system, or to
  5385  // circumvent, violate, or enable the circumvention or violation of, any
  5386  // terms of an Apple operating system software license agreement.
  5387  //
  5388  // Please obtain a copy of the License at
  5389  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5390  //
  5391  // The Original Code and all software distributed under the License are
  5392  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5393  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5394  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5395  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5396  // Please see the License for the specific language governing rights and
  5397  // limitations under the License.
  5398  //
  5399  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5400  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5401  //
  5402  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5403  //
  5404  // This file contains Original Code and/or Modifications of Original Code
  5405  // as defined in and that are subject to the Apple Public Source License
  5406  // Version 2.0 (the 'License'). You may not use this file except in
  5407  // compliance with the License. The rights granted to you under the License
  5408  // may not be used to create, or enable the creation or redistribution of,
  5409  // unlawful or unlicensed copies of an Apple operating system, or to
  5410  // circumvent, violate, or enable the circumvention or violation of, any
  5411  // terms of an Apple operating system software license agreement.
  5412  //
  5413  // Please obtain a copy of the License at
  5414  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5415  //
  5416  // The Original Code and all software distributed under the License are
  5417  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5418  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5419  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5420  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5421  // Please see the License for the specific language governing rights and
  5422  // limitations under the License.
  5423  //
  5424  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5425  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5426  //
  5427  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5428  //
  5429  // This file contains Original Code and/or Modifications of Original Code
  5430  // as defined in and that are subject to the Apple Public Source License
  5431  // Version 2.0 (the 'License'). You may not use this file except in
  5432  // compliance with the License. The rights granted to you under the License
  5433  // may not be used to create, or enable the creation or redistribution of,
  5434  // unlawful or unlicensed copies of an Apple operating system, or to
  5435  // circumvent, violate, or enable the circumvention or violation of, any
  5436  // terms of an Apple operating system software license agreement.
  5437  //
  5438  // Please obtain a copy of the License at
  5439  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5440  //
  5441  // The Original Code and all software distributed under the License are
  5442  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5443  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5444  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5445  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5446  // Please see the License for the specific language governing rights and
  5447  // limitations under the License.
  5448  //
  5449  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5450  
  5451  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5452  //
  5453  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5454  //
  5455  // This file contains Original Code and/or Modifications of Original Code
  5456  // as defined in and that are subject to the Apple Public Source License
  5457  // Version 2.0 (the 'License'). You may not use this file except in
  5458  // compliance with the License. The rights granted to you under the License
  5459  // may not be used to create, or enable the creation or redistribution of,
  5460  // unlawful or unlicensed copies of an Apple operating system, or to
  5461  // circumvent, violate, or enable the circumvention or violation of, any
  5462  // terms of an Apple operating system software license agreement.
  5463  //
  5464  // Please obtain a copy of the License at
  5465  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5466  //
  5467  // The Original Code and all software distributed under the License are
  5468  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5469  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5470  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5471  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5472  // Please see the License for the specific language governing rights and
  5473  // limitations under the License.
  5474  //
  5475  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5476  
  5477  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5478  //
  5479  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5480  //
  5481  // This file contains Original Code and/or Modifications of Original Code
  5482  // as defined in and that are subject to the Apple Public Source License
  5483  // Version 2.0 (the 'License'). You may not use this file except in
  5484  // compliance with the License. The rights granted to you under the License
  5485  // may not be used to create, or enable the creation or redistribution of,
  5486  // unlawful or unlicensed copies of an Apple operating system, or to
  5487  // circumvent, violate, or enable the circumvention or violation of, any
  5488  // terms of an Apple operating system software license agreement.
  5489  //
  5490  // Please obtain a copy of the License at
  5491  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5492  //
  5493  // The Original Code and all software distributed under the License are
  5494  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5495  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5496  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5497  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5498  // Please see the License for the specific language governing rights and
  5499  // limitations under the License.
  5500  //
  5501  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5502  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5503  //
  5504  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5505  //
  5506  // This file contains Original Code and/or Modifications of Original Code
  5507  // as defined in and that are subject to the Apple Public Source License
  5508  // Version 2.0 (the 'License'). You may not use this file except in
  5509  // compliance with the License. The rights granted to you under the License
  5510  // may not be used to create, or enable the creation or redistribution of,
  5511  // unlawful or unlicensed copies of an Apple operating system, or to
  5512  // circumvent, violate, or enable the circumvention or violation of, any
  5513  // terms of an Apple operating system software license agreement.
  5514  //
  5515  // Please obtain a copy of the License at
  5516  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5517  //
  5518  // The Original Code and all software distributed under the License are
  5519  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5520  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5521  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5522  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5523  // Please see the License for the specific language governing rights and
  5524  // limitations under the License.
  5525  //
  5526  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5527  
  5528  type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  5529  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5530  //
  5531  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5532  //
  5533  // This file contains Original Code and/or Modifications of Original Code
  5534  // as defined in and that are subject to the Apple Public Source License
  5535  // Version 2.0 (the 'License'). You may not use this file except in
  5536  // compliance with the License. The rights granted to you under the License
  5537  // may not be used to create, or enable the creation or redistribution of,
  5538  // unlawful or unlicensed copies of an Apple operating system, or to
  5539  // circumvent, violate, or enable the circumvention or violation of, any
  5540  // terms of an Apple operating system software license agreement.
  5541  //
  5542  // Please obtain a copy of the License at
  5543  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5544  //
  5545  // The Original Code and all software distributed under the License are
  5546  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5547  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5548  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5549  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5550  // Please see the License for the specific language governing rights and
  5551  // limitations under the License.
  5552  //
  5553  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5554  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5555  //
  5556  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5557  //
  5558  // This file contains Original Code and/or Modifications of Original Code
  5559  // as defined in and that are subject to the Apple Public Source License
  5560  // Version 2.0 (the 'License'). You may not use this file except in
  5561  // compliance with the License. The rights granted to you under the License
  5562  // may not be used to create, or enable the creation or redistribution of,
  5563  // unlawful or unlicensed copies of an Apple operating system, or to
  5564  // circumvent, violate, or enable the circumvention or violation of, any
  5565  // terms of an Apple operating system software license agreement.
  5566  //
  5567  // Please obtain a copy of the License at
  5568  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5569  //
  5570  // The Original Code and all software distributed under the License are
  5571  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5572  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5573  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5574  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5575  // Please see the License for the specific language governing rights and
  5576  // limitations under the License.
  5577  //
  5578  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5579  
  5580  type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  5581  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5582  //
  5583  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5584  //
  5585  // This file contains Original Code and/or Modifications of Original Code
  5586  // as defined in and that are subject to the Apple Public Source License
  5587  // Version 2.0 (the 'License'). You may not use this file except in
  5588  // compliance with the License. The rights granted to you under the License
  5589  // may not be used to create, or enable the creation or redistribution of,
  5590  // unlawful or unlicensed copies of an Apple operating system, or to
  5591  // circumvent, violate, or enable the circumvention or violation of, any
  5592  // terms of an Apple operating system software license agreement.
  5593  //
  5594  // Please obtain a copy of the License at
  5595  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5596  //
  5597  // The Original Code and all software distributed under the License are
  5598  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5599  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5600  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5601  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5602  // Please see the License for the specific language governing rights and
  5603  // limitations under the License.
  5604  //
  5605  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5606  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5607  //
  5608  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5609  //
  5610  // This file contains Original Code and/or Modifications of Original Code
  5611  // as defined in and that are subject to the Apple Public Source License
  5612  // Version 2.0 (the 'License'). You may not use this file except in
  5613  // compliance with the License. The rights granted to you under the License
  5614  // may not be used to create, or enable the creation or redistribution of,
  5615  // unlawful or unlicensed copies of an Apple operating system, or to
  5616  // circumvent, violate, or enable the circumvention or violation of, any
  5617  // terms of an Apple operating system software license agreement.
  5618  //
  5619  // Please obtain a copy of the License at
  5620  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5621  //
  5622  // The Original Code and all software distributed under the License are
  5623  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5624  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5625  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5626  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5627  // Please see the License for the specific language governing rights and
  5628  // limitations under the License.
  5629  //
  5630  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5631  
  5632  type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  5633  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5634  //
  5635  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5636  //
  5637  // This file contains Original Code and/or Modifications of Original Code
  5638  // as defined in and that are subject to the Apple Public Source License
  5639  // Version 2.0 (the 'License'). You may not use this file except in
  5640  // compliance with the License. The rights granted to you under the License
  5641  // may not be used to create, or enable the creation or redistribution of,
  5642  // unlawful or unlicensed copies of an Apple operating system, or to
  5643  // circumvent, violate, or enable the circumvention or violation of, any
  5644  // terms of an Apple operating system software license agreement.
  5645  //
  5646  // Please obtain a copy of the License at
  5647  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5648  //
  5649  // The Original Code and all software distributed under the License are
  5650  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5651  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5652  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5653  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5654  // Please see the License for the specific language governing rights and
  5655  // limitations under the License.
  5656  //
  5657  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5658  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5659  //
  5660  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5661  //
  5662  // This file contains Original Code and/or Modifications of Original Code
  5663  // as defined in and that are subject to the Apple Public Source License
  5664  // Version 2.0 (the 'License'). You may not use this file except in
  5665  // compliance with the License. The rights granted to you under the License
  5666  // may not be used to create, or enable the creation or redistribution of,
  5667  // unlawful or unlicensed copies of an Apple operating system, or to
  5668  // circumvent, violate, or enable the circumvention or violation of, any
  5669  // terms of an Apple operating system software license agreement.
  5670  //
  5671  // Please obtain a copy of the License at
  5672  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5673  //
  5674  // The Original Code and all software distributed under the License are
  5675  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5676  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5677  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5678  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5679  // Please see the License for the specific language governing rights and
  5680  // limitations under the License.
  5681  //
  5682  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5683  
  5684  type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  5685  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5686  //
  5687  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5688  //
  5689  // This file contains Original Code and/or Modifications of Original Code
  5690  // as defined in and that are subject to the Apple Public Source License
  5691  // Version 2.0 (the 'License'). You may not use this file except in
  5692  // compliance with the License. The rights granted to you under the License
  5693  // may not be used to create, or enable the creation or redistribution of,
  5694  // unlawful or unlicensed copies of an Apple operating system, or to
  5695  // circumvent, violate, or enable the circumvention or violation of, any
  5696  // terms of an Apple operating system software license agreement.
  5697  //
  5698  // Please obtain a copy of the License at
  5699  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5700  //
  5701  // The Original Code and all software distributed under the License are
  5702  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5703  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5704  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5705  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5706  // Please see the License for the specific language governing rights and
  5707  // limitations under the License.
  5708  //
  5709  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5710  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5711  //
  5712  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5713  //
  5714  // This file contains Original Code and/or Modifications of Original Code
  5715  // as defined in and that are subject to the Apple Public Source License
  5716  // Version 2.0 (the 'License'). You may not use this file except in
  5717  // compliance with the License. The rights granted to you under the License
  5718  // may not be used to create, or enable the creation or redistribution of,
  5719  // unlawful or unlicensed copies of an Apple operating system, or to
  5720  // circumvent, violate, or enable the circumvention or violation of, any
  5721  // terms of an Apple operating system software license agreement.
  5722  //
  5723  // Please obtain a copy of the License at
  5724  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5725  //
  5726  // The Original Code and all software distributed under the License are
  5727  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5728  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5729  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5730  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5731  // Please see the License for the specific language governing rights and
  5732  // limitations under the License.
  5733  //
  5734  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5735  
  5736  type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  5737  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5738  //
  5739  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5740  //
  5741  // This file contains Original Code and/or Modifications of Original Code
  5742  // as defined in and that are subject to the Apple Public Source License
  5743  // Version 2.0 (the 'License'). You may not use this file except in
  5744  // compliance with the License. The rights granted to you under the License
  5745  // may not be used to create, or enable the creation or redistribution of,
  5746  // unlawful or unlicensed copies of an Apple operating system, or to
  5747  // circumvent, violate, or enable the circumvention or violation of, any
  5748  // terms of an Apple operating system software license agreement.
  5749  //
  5750  // Please obtain a copy of the License at
  5751  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5752  //
  5753  // The Original Code and all software distributed under the License are
  5754  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5755  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5756  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5757  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5758  // Please see the License for the specific language governing rights and
  5759  // limitations under the License.
  5760  //
  5761  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5762  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5763  //
  5764  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5765  //
  5766  // This file contains Original Code and/or Modifications of Original Code
  5767  // as defined in and that are subject to the Apple Public Source License
  5768  // Version 2.0 (the 'License'). You may not use this file except in
  5769  // compliance with the License. The rights granted to you under the License
  5770  // may not be used to create, or enable the creation or redistribution of,
  5771  // unlawful or unlicensed copies of an Apple operating system, or to
  5772  // circumvent, violate, or enable the circumvention or violation of, any
  5773  // terms of an Apple operating system software license agreement.
  5774  //
  5775  // Please obtain a copy of the License at
  5776  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5777  //
  5778  // The Original Code and all software distributed under the License are
  5779  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5780  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5781  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5782  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5783  // Please see the License for the specific language governing rights and
  5784  // limitations under the License.
  5785  //
  5786  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5787  
  5788  type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
  5789  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5790  //
  5791  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5792  //
  5793  // This file contains Original Code and/or Modifications of Original Code
  5794  // as defined in and that are subject to the Apple Public Source License
  5795  // Version 2.0 (the 'License'). You may not use this file except in
  5796  // compliance with the License. The rights granted to you under the License
  5797  // may not be used to create, or enable the creation or redistribution of,
  5798  // unlawful or unlicensed copies of an Apple operating system, or to
  5799  // circumvent, violate, or enable the circumvention or violation of, any
  5800  // terms of an Apple operating system software license agreement.
  5801  //
  5802  // Please obtain a copy of the License at
  5803  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5804  //
  5805  // The Original Code and all software distributed under the License are
  5806  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5807  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5808  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5809  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5810  // Please see the License for the specific language governing rights and
  5811  // limitations under the License.
  5812  //
  5813  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5814  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5815  //
  5816  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5817  //
  5818  // This file contains Original Code and/or Modifications of Original Code
  5819  // as defined in and that are subject to the Apple Public Source License
  5820  // Version 2.0 (the 'License'). You may not use this file except in
  5821  // compliance with the License. The rights granted to you under the License
  5822  // may not be used to create, or enable the creation or redistribution of,
  5823  // unlawful or unlicensed copies of an Apple operating system, or to
  5824  // circumvent, violate, or enable the circumvention or violation of, any
  5825  // terms of an Apple operating system software license agreement.
  5826  //
  5827  // Please obtain a copy of the License at
  5828  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5829  //
  5830  // The Original Code and all software distributed under the License are
  5831  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5832  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5833  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5834  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5835  // Please see the License for the specific language governing rights and
  5836  // limitations under the License.
  5837  //
  5838  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5839  
  5840  type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  5841  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5842  //
  5843  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5844  //
  5845  // This file contains Original Code and/or Modifications of Original Code
  5846  // as defined in and that are subject to the Apple Public Source License
  5847  // Version 2.0 (the 'License'). You may not use this file except in
  5848  // compliance with the License. The rights granted to you under the License
  5849  // may not be used to create, or enable the creation or redistribution of,
  5850  // unlawful or unlicensed copies of an Apple operating system, or to
  5851  // circumvent, violate, or enable the circumvention or violation of, any
  5852  // terms of an Apple operating system software license agreement.
  5853  //
  5854  // Please obtain a copy of the License at
  5855  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5856  //
  5857  // The Original Code and all software distributed under the License are
  5858  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5859  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5860  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5861  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5862  // Please see the License for the specific language governing rights and
  5863  // limitations under the License.
  5864  //
  5865  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5866  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5867  //
  5868  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5869  //
  5870  // This file contains Original Code and/or Modifications of Original Code
  5871  // as defined in and that are subject to the Apple Public Source License
  5872  // Version 2.0 (the 'License'). You may not use this file except in
  5873  // compliance with the License. The rights granted to you under the License
  5874  // may not be used to create, or enable the creation or redistribution of,
  5875  // unlawful or unlicensed copies of an Apple operating system, or to
  5876  // circumvent, violate, or enable the circumvention or violation of, any
  5877  // terms of an Apple operating system software license agreement.
  5878  //
  5879  // Please obtain a copy of the License at
  5880  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5881  //
  5882  // The Original Code and all software distributed under the License are
  5883  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5884  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5885  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5886  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5887  // Please see the License for the specific language governing rights and
  5888  // limitations under the License.
  5889  //
  5890  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5891  
  5892  type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  5893  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5894  //
  5895  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5896  //
  5897  // This file contains Original Code and/or Modifications of Original Code
  5898  // as defined in and that are subject to the Apple Public Source License
  5899  // Version 2.0 (the 'License'). You may not use this file except in
  5900  // compliance with the License. The rights granted to you under the License
  5901  // may not be used to create, or enable the creation or redistribution of,
  5902  // unlawful or unlicensed copies of an Apple operating system, or to
  5903  // circumvent, violate, or enable the circumvention or violation of, any
  5904  // terms of an Apple operating system software license agreement.
  5905  //
  5906  // Please obtain a copy of the License at
  5907  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5908  //
  5909  // The Original Code and all software distributed under the License are
  5910  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5911  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5912  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5913  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5914  // Please see the License for the specific language governing rights and
  5915  // limitations under the License.
  5916  //
  5917  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5918  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5919  //
  5920  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5921  //
  5922  // This file contains Original Code and/or Modifications of Original Code
  5923  // as defined in and that are subject to the Apple Public Source License
  5924  // Version 2.0 (the 'License'). You may not use this file except in
  5925  // compliance with the License. The rights granted to you under the License
  5926  // may not be used to create, or enable the creation or redistribution of,
  5927  // unlawful or unlicensed copies of an Apple operating system, or to
  5928  // circumvent, violate, or enable the circumvention or violation of, any
  5929  // terms of an Apple operating system software license agreement.
  5930  //
  5931  // Please obtain a copy of the License at
  5932  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5933  //
  5934  // The Original Code and all software distributed under the License are
  5935  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5936  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5937  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5938  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5939  // Please see the License for the specific language governing rights and
  5940  // limitations under the License.
  5941  //
  5942  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5943  
  5944  type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  5945  
  5946  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5947  //
  5948  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5949  //
  5950  // This file contains Original Code and/or Modifications of Original Code
  5951  // as defined in and that are subject to the Apple Public Source License
  5952  // Version 2.0 (the 'License'). You may not use this file except in
  5953  // compliance with the License. The rights granted to you under the License
  5954  // may not be used to create, or enable the creation or redistribution of,
  5955  // unlawful or unlicensed copies of an Apple operating system, or to
  5956  // circumvent, violate, or enable the circumvention or violation of, any
  5957  // terms of an Apple operating system software license agreement.
  5958  //
  5959  // Please obtain a copy of the License at
  5960  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5961  //
  5962  // The Original Code and all software distributed under the License are
  5963  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5964  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5965  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5966  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5967  // Please see the License for the specific language governing rights and
  5968  // limitations under the License.
  5969  //
  5970  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5971  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  5972  //
  5973  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5974  //
  5975  // This file contains Original Code and/or Modifications of Original Code
  5976  // as defined in and that are subject to the Apple Public Source License
  5977  // Version 2.0 (the 'License'). You may not use this file except in
  5978  // compliance with the License. The rights granted to you under the License
  5979  // may not be used to create, or enable the creation or redistribution of,
  5980  // unlawful or unlicensed copies of an Apple operating system, or to
  5981  // circumvent, violate, or enable the circumvention or violation of, any
  5982  // terms of an Apple operating system software license agreement.
  5983  //
  5984  // Please obtain a copy of the License at
  5985  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5986  //
  5987  // The Original Code and all software distributed under the License are
  5988  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5989  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5990  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5991  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5992  // Please see the License for the specific language governing rights and
  5993  // limitations under the License.
  5994  //
  5995  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5996  
  5997  type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
  5998  
  5999  // statvfs and fstatvfs
  6000  
  6001  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6002  //
  6003  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6004  //
  6005  // This file contains Original Code and/or Modifications of Original Code
  6006  // as defined in and that are subject to the Apple Public Source License
  6007  // Version 2.0 (the 'License'). You may not use this file except in
  6008  // compliance with the License. The rights granted to you under the License
  6009  // may not be used to create, or enable the creation or redistribution of,
  6010  // unlawful or unlicensed copies of an Apple operating system, or to
  6011  // circumvent, violate, or enable the circumvention or violation of, any
  6012  // terms of an Apple operating system software license agreement.
  6013  //
  6014  // Please obtain a copy of the License at
  6015  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6016  //
  6017  // The Original Code and all software distributed under the License are
  6018  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6019  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6020  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6021  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6022  // Please see the License for the specific language governing rights and
  6023  // limitations under the License.
  6024  //
  6025  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6026  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6027  //
  6028  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6029  //
  6030  // This file contains Original Code and/or Modifications of Original Code
  6031  // as defined in and that are subject to the Apple Public Source License
  6032  // Version 2.0 (the 'License'). You may not use this file except in
  6033  // compliance with the License. The rights granted to you under the License
  6034  // may not be used to create, or enable the creation or redistribution of,
  6035  // unlawful or unlicensed copies of an Apple operating system, or to
  6036  // circumvent, violate, or enable the circumvention or violation of, any
  6037  // terms of an Apple operating system software license agreement.
  6038  //
  6039  // Please obtain a copy of the License at
  6040  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6041  //
  6042  // The Original Code and all software distributed under the License are
  6043  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6044  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6045  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6046  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6047  // Please see the License for the specific language governing rights and
  6048  // limitations under the License.
  6049  //
  6050  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6051  
  6052  type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
  6053  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6054  //
  6055  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6056  //
  6057  // This file contains Original Code and/or Modifications of Original Code
  6058  // as defined in and that are subject to the Apple Public Source License
  6059  // Version 2.0 (the 'License'). You may not use this file except in
  6060  // compliance with the License. The rights granted to you under the License
  6061  // may not be used to create, or enable the creation or redistribution of,
  6062  // unlawful or unlicensed copies of an Apple operating system, or to
  6063  // circumvent, violate, or enable the circumvention or violation of, any
  6064  // terms of an Apple operating system software license agreement.
  6065  //
  6066  // Please obtain a copy of the License at
  6067  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6068  //
  6069  // The Original Code and all software distributed under the License are
  6070  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6071  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6072  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6073  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6074  // Please see the License for the specific language governing rights and
  6075  // limitations under the License.
  6076  //
  6077  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6078  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6079  //
  6080  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6081  //
  6082  // This file contains Original Code and/or Modifications of Original Code
  6083  // as defined in and that are subject to the Apple Public Source License
  6084  // Version 2.0 (the 'License'). You may not use this file except in
  6085  // compliance with the License. The rights granted to you under the License
  6086  // may not be used to create, or enable the creation or redistribution of,
  6087  // unlawful or unlicensed copies of an Apple operating system, or to
  6088  // circumvent, violate, or enable the circumvention or violation of, any
  6089  // terms of an Apple operating system software license agreement.
  6090  //
  6091  // Please obtain a copy of the License at
  6092  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6093  //
  6094  // The Original Code and all software distributed under the License are
  6095  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6096  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6097  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6098  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6099  // Please see the License for the specific language governing rights and
  6100  // limitations under the License.
  6101  //
  6102  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6103  
  6104  type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
  6105  
  6106  // Just about everyone needs the strings routines.  We provide both forms here,
  6107  // index/rindex and strchr/strrchr, so any systems that don't provide them all
  6108  // need to have #defines here.
  6109  //
  6110  // These macros are defined this way, rather than, e.g.:
  6111  //    #defined index(s,c) strchr(s,c)
  6112  // because someone might be using them as function pointers, and such
  6113  // a change would break compatibility for anyone who's relying on them
  6114  // being the way they currently are. So we're stuck with them this way,
  6115  // which can be really inconvenient. :-(
  6116  
  6117  // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
  6118  //
  6119  // @APPLE_LICENSE_HEADER_START@
  6120  //
  6121  // This file contains Original Code and/or Modifications of Original Code
  6122  // as defined in and that are subject to the Apple Public Source License
  6123  // Version 2.0 (the 'License'). You may not use this file except in
  6124  // compliance with the License. Please obtain a copy of the License at
  6125  // http://www.opensource.apple.com/apsl/ and read it before using this
  6126  // file.
  6127  //
  6128  // The Original Code and all software distributed under the License are
  6129  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6130  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6131  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6132  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6133  // Please see the License for the specific language governing rights and
  6134  // limitations under the License.
  6135  //
  6136  // @APPLE_LICENSE_HEADER_END@
  6137  // -
  6138  // Copyright (c) 1990, 1993
  6139  //	The Regents of the University of California.  All rights reserved.
  6140  //
  6141  // Redistribution and use in source and binary forms, with or without
  6142  // modification, are permitted provided that the following conditions
  6143  // are met:
  6144  // 1. Redistributions of source code must retain the above copyright
  6145  //    notice, this list of conditions and the following disclaimer.
  6146  // 2. Redistributions in binary form must reproduce the above copyright
  6147  //    notice, this list of conditions and the following disclaimer in the
  6148  //    documentation and/or other materials provided with the distribution.
  6149  // 3. All advertising materials mentioning features or use of this software
  6150  //    must display the following acknowledgement:
  6151  //	This product includes software developed by the University of
  6152  //	California, Berkeley and its contributors.
  6153  // 4. Neither the name of the University nor the names of its contributors
  6154  //    may be used to endorse or promote products derived from this software
  6155  //    without specific prior written permission.
  6156  //
  6157  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6158  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6159  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6160  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6161  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6162  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6163  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6164  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6165  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6166  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6167  // SUCH DAMAGE.
  6168  //
  6169  //	@(#)string.h	8.1 (Berkeley) 6/2/93
  6170  
  6171  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  6172  //
  6173  // @APPLE_LICENSE_HEADER_START@
  6174  //
  6175  // This file contains Original Code and/or Modifications of Original Code
  6176  // as defined in and that are subject to the Apple Public Source License
  6177  // Version 2.0 (the 'License'). You may not use this file except in
  6178  // compliance with the License. Please obtain a copy of the License at
  6179  // http://www.opensource.apple.com/apsl/ and read it before using this
  6180  // file.
  6181  //
  6182  // The Original Code and all software distributed under the License are
  6183  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6184  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6185  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6186  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6187  // Please see the License for the specific language governing rights and
  6188  // limitations under the License.
  6189  //
  6190  // @APPLE_LICENSE_HEADER_END@
  6191  
  6192  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6193  //
  6194  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6195  //
  6196  // This file contains Original Code and/or Modifications of Original Code
  6197  // as defined in and that are subject to the Apple Public Source License
  6198  // Version 2.0 (the 'License'). You may not use this file except in
  6199  // compliance with the License. The rights granted to you under the License
  6200  // may not be used to create, or enable the creation or redistribution of,
  6201  // unlawful or unlicensed copies of an Apple operating system, or to
  6202  // circumvent, violate, or enable the circumvention or violation of, any
  6203  // terms of an Apple operating system software license agreement.
  6204  //
  6205  // Please obtain a copy of the License at
  6206  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6207  //
  6208  // The Original Code and all software distributed under the License are
  6209  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6210  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6211  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6212  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6213  // Please see the License for the specific language governing rights and
  6214  // limitations under the License.
  6215  //
  6216  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6217  
  6218  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6219  //
  6220  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6221  //
  6222  // This file contains Original Code and/or Modifications of Original Code
  6223  // as defined in and that are subject to the Apple Public Source License
  6224  // Version 2.0 (the 'License'). You may not use this file except in
  6225  // compliance with the License. The rights granted to you under the License
  6226  // may not be used to create, or enable the creation or redistribution of,
  6227  // unlawful or unlicensed copies of an Apple operating system, or to
  6228  // circumvent, violate, or enable the circumvention or violation of, any
  6229  // terms of an Apple operating system software license agreement.
  6230  //
  6231  // Please obtain a copy of the License at
  6232  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6233  //
  6234  // The Original Code and all software distributed under the License are
  6235  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6236  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6237  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6238  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6239  // Please see the License for the specific language governing rights and
  6240  // limitations under the License.
  6241  //
  6242  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6243  
  6244  type X__darwin_nl_item = int32        /* _types.h:40:14 */
  6245  type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
  6246  type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
  6247  
  6248  // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
  6249  //
  6250  // @APPLE_LICENSE_HEADER_START@
  6251  //
  6252  // This file contains Original Code and/or Modifications of Original Code
  6253  // as defined in and that are subject to the Apple Public Source License
  6254  // Version 2.0 (the 'License'). You may not use this file except in
  6255  // compliance with the License. Please obtain a copy of the License at
  6256  // http://www.opensource.apple.com/apsl/ and read it before using this
  6257  // file.
  6258  //
  6259  // The Original Code and all software distributed under the License are
  6260  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6261  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6262  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6263  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6264  // Please see the License for the specific language governing rights and
  6265  // limitations under the License.
  6266  //
  6267  // @APPLE_LICENSE_HEADER_END@
  6268  // -
  6269  // Copyright (c) 1990, 1993
  6270  //	The Regents of the University of California.  All rights reserved.
  6271  //
  6272  // Redistribution and use in source and binary forms, with or without
  6273  // modification, are permitted provided that the following conditions
  6274  // are met:
  6275  // 1. Redistributions of source code must retain the above copyright
  6276  //    notice, this list of conditions and the following disclaimer.
  6277  // 2. Redistributions in binary form must reproduce the above copyright
  6278  //    notice, this list of conditions and the following disclaimer in the
  6279  //    documentation and/or other materials provided with the distribution.
  6280  // 3. All advertising materials mentioning features or use of this software
  6281  //    must display the following acknowledgement:
  6282  //	This product includes software developed by the University of
  6283  //	California, Berkeley and its contributors.
  6284  // 4. Neither the name of the University nor the names of its contributors
  6285  //    may be used to endorse or promote products derived from this software
  6286  //    without specific prior written permission.
  6287  //
  6288  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6289  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6290  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6291  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6292  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6293  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6294  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6295  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6296  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6297  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6298  // SUCH DAMAGE.
  6299  //
  6300  //	@(#)string.h	8.1 (Berkeley) 6/2/93
  6301  
  6302  // Security checking functions.
  6303  // Copyright (c) 2017 Apple Inc. All rights reserved.
  6304  //
  6305  // @APPLE_LICENSE_HEADER_START@
  6306  //
  6307  // This file contains Original Code and/or Modifications of Original Code
  6308  // as defined in and that are subject to the Apple Public Source License
  6309  // Version 2.0 (the 'License'). You may not use this file except in
  6310  // compliance with the License. Please obtain a copy of the License at
  6311  // http://www.opensource.apple.com/apsl/ and read it before using this
  6312  // file.
  6313  //
  6314  // The Original Code and all software distributed under the License are
  6315  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6316  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6317  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6318  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6319  // Please see the License for the specific language governing rights and
  6320  // limitations under the License.
  6321  //
  6322  // @APPLE_LICENSE_HEADER_END@
  6323  
  6324  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6325  //
  6326  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6327  //
  6328  // This file contains Original Code and/or Modifications of Original Code
  6329  // as defined in and that are subject to the Apple Public Source License
  6330  // Version 2.0 (the 'License'). You may not use this file except in
  6331  // compliance with the License. The rights granted to you under the License
  6332  // may not be used to create, or enable the creation or redistribution of,
  6333  // unlawful or unlicensed copies of an Apple operating system, or to
  6334  // circumvent, violate, or enable the circumvention or violation of, any
  6335  // terms of an Apple operating system software license agreement.
  6336  //
  6337  // Please obtain a copy of the License at
  6338  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6339  //
  6340  // The Original Code and all software distributed under the License are
  6341  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6342  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6343  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6344  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6345  // Please see the License for the specific language governing rights and
  6346  // limitations under the License.
  6347  //
  6348  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6349  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6350  // Copyright (c) 1991, 1993
  6351  //	The Regents of the University of California.  All rights reserved.
  6352  //
  6353  // This code is derived from software contributed to Berkeley by
  6354  // Berkeley Software Design, Inc.
  6355  //
  6356  // Redistribution and use in source and binary forms, with or without
  6357  // modification, are permitted provided that the following conditions
  6358  // are met:
  6359  // 1. Redistributions of source code must retain the above copyright
  6360  //    notice, this list of conditions and the following disclaimer.
  6361  // 2. Redistributions in binary form must reproduce the above copyright
  6362  //    notice, this list of conditions and the following disclaimer in the
  6363  //    documentation and/or other materials provided with the distribution.
  6364  // 3. All advertising materials mentioning features or use of this software
  6365  //    must display the following acknowledgement:
  6366  //	This product includes software developed by the University of
  6367  //	California, Berkeley and its contributors.
  6368  // 4. Neither the name of the University nor the names of its contributors
  6369  //    may be used to endorse or promote products derived from this software
  6370  //    without specific prior written permission.
  6371  //
  6372  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6373  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6374  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6375  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6376  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6377  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6378  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6379  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6380  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6381  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6382  // SUCH DAMAGE.
  6383  //
  6384  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6385  
  6386  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6387  //
  6388  // @APPLE_LICENSE_HEADER_START@
  6389  //
  6390  // This file contains Original Code and/or Modifications of Original Code
  6391  // as defined in and that are subject to the Apple Public Source License
  6392  // Version 2.0 (the 'License'). You may not use this file except in
  6393  // compliance with the License. Please obtain a copy of the License at
  6394  // http://www.opensource.apple.com/apsl/ and read it before using this
  6395  // file.
  6396  //
  6397  // The Original Code and all software distributed under the License are
  6398  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6399  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6400  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6401  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6402  // Please see the License for the specific language governing rights and
  6403  // limitations under the License.
  6404  //
  6405  // @APPLE_LICENSE_HEADER_END@
  6406  
  6407  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
  6408  //
  6409  // @APPLE_LICENSE_HEADER_START@
  6410  //
  6411  // This file contains Original Code and/or Modifications of Original Code
  6412  // as defined in and that are subject to the Apple Public Source License
  6413  // Version 2.0 (the 'License'). You may not use this file except in
  6414  // compliance with the License. Please obtain a copy of the License at
  6415  // http://www.opensource.apple.com/apsl/ and read it before using this
  6416  // file.
  6417  //
  6418  // The Original Code and all software distributed under the License are
  6419  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6420  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6421  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6422  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6423  // Please see the License for the specific language governing rights and
  6424  // limitations under the License.
  6425  //
  6426  // @APPLE_LICENSE_HEADER_END@
  6427  
  6428  // bcopy and bzero
  6429  
  6430  // Removed in Issue 7
  6431  
  6432  // void	bcopy(const void *src, void *dst, size_t len)
  6433  
  6434  // void	bzero(void *s, size_t n)
  6435  
  6436  // Security checking functions.
  6437  // Copyright (c) 2007,2017 Apple Inc. All rights reserved.
  6438  //
  6439  // @APPLE_LICENSE_HEADER_START@
  6440  //
  6441  // This file contains Original Code and/or Modifications of Original Code
  6442  // as defined in and that are subject to the Apple Public Source License
  6443  // Version 2.0 (the 'License'). You may not use this file except in
  6444  // compliance with the License. Please obtain a copy of the License at
  6445  // http://www.opensource.apple.com/apsl/ and read it before using this
  6446  // file.
  6447  //
  6448  // The Original Code and all software distributed under the License are
  6449  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6450  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6451  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6452  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6453  // Please see the License for the specific language governing rights and
  6454  // limitations under the License.
  6455  //
  6456  // @APPLE_LICENSE_HEADER_END@
  6457  
  6458  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6459  //
  6460  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6461  //
  6462  // This file contains Original Code and/or Modifications of Original Code
  6463  // as defined in and that are subject to the Apple Public Source License
  6464  // Version 2.0 (the 'License'). You may not use this file except in
  6465  // compliance with the License. The rights granted to you under the License
  6466  // may not be used to create, or enable the creation or redistribution of,
  6467  // unlawful or unlicensed copies of an Apple operating system, or to
  6468  // circumvent, violate, or enable the circumvention or violation of, any
  6469  // terms of an Apple operating system software license agreement.
  6470  //
  6471  // Please obtain a copy of the License at
  6472  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6473  //
  6474  // The Original Code and all software distributed under the License are
  6475  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6476  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6477  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6478  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6479  // Please see the License for the specific language governing rights and
  6480  // limitations under the License.
  6481  //
  6482  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6483  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6484  // Copyright (c) 1991, 1993
  6485  //	The Regents of the University of California.  All rights reserved.
  6486  //
  6487  // This code is derived from software contributed to Berkeley by
  6488  // Berkeley Software Design, Inc.
  6489  //
  6490  // Redistribution and use in source and binary forms, with or without
  6491  // modification, are permitted provided that the following conditions
  6492  // are met:
  6493  // 1. Redistributions of source code must retain the above copyright
  6494  //    notice, this list of conditions and the following disclaimer.
  6495  // 2. Redistributions in binary form must reproduce the above copyright
  6496  //    notice, this list of conditions and the following disclaimer in the
  6497  //    documentation and/or other materials provided with the distribution.
  6498  // 3. All advertising materials mentioning features or use of this software
  6499  //    must display the following acknowledgement:
  6500  //	This product includes software developed by the University of
  6501  //	California, Berkeley and its contributors.
  6502  // 4. Neither the name of the University nor the names of its contributors
  6503  //    may be used to endorse or promote products derived from this software
  6504  //    without specific prior written permission.
  6505  //
  6506  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6507  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6508  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6509  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6510  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6511  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6512  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6513  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6514  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6515  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6516  // SUCH DAMAGE.
  6517  //
  6518  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6519  
  6520  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6521  //
  6522  // @APPLE_LICENSE_HEADER_START@
  6523  //
  6524  // This file contains Original Code and/or Modifications of Original Code
  6525  // as defined in and that are subject to the Apple Public Source License
  6526  // Version 2.0 (the 'License'). You may not use this file except in
  6527  // compliance with the License. Please obtain a copy of the License at
  6528  // http://www.opensource.apple.com/apsl/ and read it before using this
  6529  // file.
  6530  //
  6531  // The Original Code and all software distributed under the License are
  6532  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6533  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6534  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6535  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6536  // Please see the License for the specific language governing rights and
  6537  // limitations under the License.
  6538  //
  6539  // @APPLE_LICENSE_HEADER_END@
  6540  
  6541  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
  6542  //
  6543  // @APPLE_LICENSE_HEADER_START@
  6544  //
  6545  // This file contains Original Code and/or Modifications of Original Code
  6546  // as defined in and that are subject to the Apple Public Source License
  6547  // Version 2.0 (the 'License'). You may not use this file except in
  6548  // compliance with the License. Please obtain a copy of the License at
  6549  // http://www.opensource.apple.com/apsl/ and read it before using this
  6550  // file.
  6551  //
  6552  // The Original Code and all software distributed under the License are
  6553  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6554  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6555  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6556  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6557  // Please see the License for the specific language governing rights and
  6558  // limitations under the License.
  6559  //
  6560  // @APPLE_LICENSE_HEADER_END@
  6561  
  6562  // <rdar://problem/12622659>
  6563  
  6564  // memccpy, memcpy, mempcpy, memmove, memset, strcpy, strlcpy, stpcpy,
  6565  //    strncpy, stpncpy, strcat, strlcat, and strncat
  6566  
  6567  // void *memcpy(void *dst, const void *src, size_t n)
  6568  
  6569  // void *memmove(void *dst, const void *src, size_t len)
  6570  
  6571  // void *memset(void *b, int c, size_t len)
  6572  
  6573  // char *strcpy(char *dst, const char *src)
  6574  
  6575  // char *stpcpy(char *dst, const char *src)
  6576  
  6577  // char *stpncpy(char *dst, const char *src, size_t n)
  6578  
  6579  // char *strncpy(char *dst, const char *src, size_t n)
  6580  
  6581  // char *strcat(char *s1, const char *s2)
  6582  
  6583  // char *strncat(char *s1, const char *s2, size_t n)
  6584  
  6585  // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
  6586  //
  6587  // @APPLE_LICENSE_HEADER_START@
  6588  //
  6589  // This file contains Original Code and/or Modifications of Original Code
  6590  // as defined in and that are subject to the Apple Public Source License
  6591  // Version 2.0 (the 'License'). You may not use this file except in
  6592  // compliance with the License. Please obtain a copy of the License at
  6593  // http://www.opensource.apple.com/apsl/ and read it before using this
  6594  // file.
  6595  //
  6596  // The Original Code and all software distributed under the License are
  6597  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6598  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6599  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6600  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6601  // Please see the License for the specific language governing rights and
  6602  // limitations under the License.
  6603  //
  6604  // @APPLE_LICENSE_HEADER_END@
  6605  // -
  6606  // Copyright (c) 1990, 1993
  6607  //	The Regents of the University of California.  All rights reserved.
  6608  //
  6609  // Redistribution and use in source and binary forms, with or without
  6610  // modification, are permitted provided that the following conditions
  6611  // are met:
  6612  // 1. Redistributions of source code must retain the above copyright
  6613  //    notice, this list of conditions and the following disclaimer.
  6614  // 2. Redistributions in binary form must reproduce the above copyright
  6615  //    notice, this list of conditions and the following disclaimer in the
  6616  //    documentation and/or other materials provided with the distribution.
  6617  // 3. All advertising materials mentioning features or use of this software
  6618  //    must display the following acknowledgement:
  6619  //	This product includes software developed by the University of
  6620  //	California, Berkeley and its contributors.
  6621  // 4. Neither the name of the University nor the names of its contributors
  6622  //    may be used to endorse or promote products derived from this software
  6623  //    without specific prior written permission.
  6624  //
  6625  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6626  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6627  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6628  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6629  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6630  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6631  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6632  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6633  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6634  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6635  // SUCH DAMAGE.
  6636  //
  6637  //	@(#)strings.h	8.1 (Berkeley) 6/2/93
  6638  
  6639  // Get open(2) constants
  6640  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  6641  //
  6642  // @APPLE_LICENSE_HEADER_START@
  6643  //
  6644  // This file contains Original Code and/or Modifications of Original Code
  6645  // as defined in and that are subject to the Apple Public Source License
  6646  // Version 2.0 (the 'License'). You may not use this file except in
  6647  // compliance with the License. Please obtain a copy of the License at
  6648  // http://www.opensource.apple.com/apsl/ and read it before using this
  6649  // file.
  6650  //
  6651  // The Original Code and all software distributed under the License are
  6652  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6653  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6654  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6655  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6656  // Please see the License for the specific language governing rights and
  6657  // limitations under the License.
  6658  //
  6659  // @APPLE_LICENSE_HEADER_END@
  6660  // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
  6661  //
  6662  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6663  //
  6664  // This file contains Original Code and/or Modifications of Original Code
  6665  // as defined in and that are subject to the Apple Public Source License
  6666  // Version 2.0 (the 'License'). You may not use this file except in
  6667  // compliance with the License. The rights granted to you under the License
  6668  // may not be used to create, or enable the creation or redistribution of,
  6669  // unlawful or unlicensed copies of an Apple operating system, or to
  6670  // circumvent, violate, or enable the circumvention or violation of, any
  6671  // terms of an Apple operating system software license agreement.
  6672  //
  6673  // Please obtain a copy of the License at
  6674  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6675  //
  6676  // The Original Code and all software distributed under the License are
  6677  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6678  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6679  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6680  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6681  // Please see the License for the specific language governing rights and
  6682  // limitations under the License.
  6683  //
  6684  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6685  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  6686  // -
  6687  // Copyright (c) 1983, 1990, 1993
  6688  //	The Regents of the University of California.  All rights reserved.
  6689  // (c) UNIX System Laboratories, Inc.
  6690  // All or some portions of this file are derived from material licensed
  6691  // to the University of California by American Telephone and Telegraph
  6692  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  6693  // the permission of UNIX System Laboratories, Inc.
  6694  //
  6695  // Redistribution and use in source and binary forms, with or without
  6696  // modification, are permitted provided that the following conditions
  6697  // are met:
  6698  // 1. Redistributions of source code must retain the above copyright
  6699  //    notice, this list of conditions and the following disclaimer.
  6700  // 2. Redistributions in binary form must reproduce the above copyright
  6701  //    notice, this list of conditions and the following disclaimer in the
  6702  //    documentation and/or other materials provided with the distribution.
  6703  // 3. All advertising materials mentioning features or use of this software
  6704  //    must display the following acknowledgement:
  6705  //	This product includes software developed by the University of
  6706  //	California, Berkeley and its contributors.
  6707  // 4. Neither the name of the University nor the names of its contributors
  6708  //    may be used to endorse or promote products derived from this software
  6709  //    without specific prior written permission.
  6710  //
  6711  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6712  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6713  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6714  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6715  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6716  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6717  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6718  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6719  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6720  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6721  // SUCH DAMAGE.
  6722  //
  6723  //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94
  6724  
  6725  // This file includes the definitions for open and fcntl
  6726  // described by POSIX for <fcntl.h>; it also includes
  6727  // related kernel definitions.
  6728  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6729  //
  6730  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6731  //
  6732  // This file contains Original Code and/or Modifications of Original Code
  6733  // as defined in and that are subject to the Apple Public Source License
  6734  // Version 2.0 (the 'License'). You may not use this file except in
  6735  // compliance with the License. The rights granted to you under the License
  6736  // may not be used to create, or enable the creation or redistribution of,
  6737  // unlawful or unlicensed copies of an Apple operating system, or to
  6738  // circumvent, violate, or enable the circumvention or violation of, any
  6739  // terms of an Apple operating system software license agreement.
  6740  //
  6741  // Please obtain a copy of the License at
  6742  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6743  //
  6744  // The Original Code and all software distributed under the License are
  6745  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6746  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6747  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6748  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6749  // Please see the License for the specific language governing rights and
  6750  // limitations under the License.
  6751  //
  6752  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6753  
  6754  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6755  //
  6756  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6757  //
  6758  // This file contains Original Code and/or Modifications of Original Code
  6759  // as defined in and that are subject to the Apple Public Source License
  6760  // Version 2.0 (the 'License'). You may not use this file except in
  6761  // compliance with the License. The rights granted to you under the License
  6762  // may not be used to create, or enable the creation or redistribution of,
  6763  // unlawful or unlicensed copies of an Apple operating system, or to
  6764  // circumvent, violate, or enable the circumvention or violation of, any
  6765  // terms of an Apple operating system software license agreement.
  6766  //
  6767  // Please obtain a copy of the License at
  6768  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6769  //
  6770  // The Original Code and all software distributed under the License are
  6771  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6772  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6773  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6774  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6775  // Please see the License for the specific language governing rights and
  6776  // limitations under the License.
  6777  //
  6778  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6779  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6780  // Copyright (c) 1991, 1993
  6781  //	The Regents of the University of California.  All rights reserved.
  6782  //
  6783  // This code is derived from software contributed to Berkeley by
  6784  // Berkeley Software Design, Inc.
  6785  //
  6786  // Redistribution and use in source and binary forms, with or without
  6787  // modification, are permitted provided that the following conditions
  6788  // are met:
  6789  // 1. Redistributions of source code must retain the above copyright
  6790  //    notice, this list of conditions and the following disclaimer.
  6791  // 2. Redistributions in binary form must reproduce the above copyright
  6792  //    notice, this list of conditions and the following disclaimer in the
  6793  //    documentation and/or other materials provided with the distribution.
  6794  // 3. All advertising materials mentioning features or use of this software
  6795  //    must display the following acknowledgement:
  6796  //	This product includes software developed by the University of
  6797  //	California, Berkeley and its contributors.
  6798  // 4. Neither the name of the University nor the names of its contributors
  6799  //    may be used to endorse or promote products derived from this software
  6800  //    without specific prior written permission.
  6801  //
  6802  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6803  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6804  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6805  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6806  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6807  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6808  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6809  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6810  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6811  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6812  // SUCH DAMAGE.
  6813  //
  6814  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6815  
  6816  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6817  //
  6818  // @APPLE_LICENSE_HEADER_START@
  6819  //
  6820  // This file contains Original Code and/or Modifications of Original Code
  6821  // as defined in and that are subject to the Apple Public Source License
  6822  // Version 2.0 (the 'License'). You may not use this file except in
  6823  // compliance with the License. Please obtain a copy of the License at
  6824  // http://www.opensource.apple.com/apsl/ and read it before using this
  6825  // file.
  6826  //
  6827  // The Original Code and all software distributed under the License are
  6828  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6829  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6830  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6831  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6832  // Please see the License for the specific language governing rights and
  6833  // limitations under the License.
  6834  //
  6835  // @APPLE_LICENSE_HEADER_END@
  6836  
  6837  // We should not be exporting size_t here.  Temporary for gcc bootstrapping.
  6838  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6839  //
  6840  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6841  //
  6842  // This file contains Original Code and/or Modifications of Original Code
  6843  // as defined in and that are subject to the Apple Public Source License
  6844  // Version 2.0 (the 'License'). You may not use this file except in
  6845  // compliance with the License. The rights granted to you under the License
  6846  // may not be used to create, or enable the creation or redistribution of,
  6847  // unlawful or unlicensed copies of an Apple operating system, or to
  6848  // circumvent, violate, or enable the circumvention or violation of, any
  6849  // terms of an Apple operating system software license agreement.
  6850  //
  6851  // Please obtain a copy of the License at
  6852  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6853  //
  6854  // The Original Code and all software distributed under the License are
  6855  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6856  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6857  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6858  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6859  // Please see the License for the specific language governing rights and
  6860  // limitations under the License.
  6861  //
  6862  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6863  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6864  //
  6865  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6866  //
  6867  // This file contains Original Code and/or Modifications of Original Code
  6868  // as defined in and that are subject to the Apple Public Source License
  6869  // Version 2.0 (the 'License'). You may not use this file except in
  6870  // compliance with the License. The rights granted to you under the License
  6871  // may not be used to create, or enable the creation or redistribution of,
  6872  // unlawful or unlicensed copies of an Apple operating system, or to
  6873  // circumvent, violate, or enable the circumvention or violation of, any
  6874  // terms of an Apple operating system software license agreement.
  6875  //
  6876  // Please obtain a copy of the License at
  6877  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6878  //
  6879  // The Original Code and all software distributed under the License are
  6880  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6881  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6882  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6883  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6884  // Please see the License for the specific language governing rights and
  6885  // limitations under the License.
  6886  //
  6887  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6888  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6889  //
  6890  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6891  //
  6892  // This file contains Original Code and/or Modifications of Original Code
  6893  // as defined in and that are subject to the Apple Public Source License
  6894  // Version 2.0 (the 'License'). You may not use this file except in
  6895  // compliance with the License. The rights granted to you under the License
  6896  // may not be used to create, or enable the creation or redistribution of,
  6897  // unlawful or unlicensed copies of an Apple operating system, or to
  6898  // circumvent, violate, or enable the circumvention or violation of, any
  6899  // terms of an Apple operating system software license agreement.
  6900  //
  6901  // Please obtain a copy of the License at
  6902  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6903  //
  6904  // The Original Code and all software distributed under the License are
  6905  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6906  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6907  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6908  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6909  // Please see the License for the specific language governing rights and
  6910  // limitations under the License.
  6911  //
  6912  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6913  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6914  //
  6915  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6916  //
  6917  // This file contains Original Code and/or Modifications of Original Code
  6918  // as defined in and that are subject to the Apple Public Source License
  6919  // Version 2.0 (the 'License'). You may not use this file except in
  6920  // compliance with the License. The rights granted to you under the License
  6921  // may not be used to create, or enable the creation or redistribution of,
  6922  // unlawful or unlicensed copies of an Apple operating system, or to
  6923  // circumvent, violate, or enable the circumvention or violation of, any
  6924  // terms of an Apple operating system software license agreement.
  6925  //
  6926  // Please obtain a copy of the License at
  6927  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6928  //
  6929  // The Original Code and all software distributed under the License are
  6930  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6931  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6932  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6933  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6934  // Please see the License for the specific language governing rights and
  6935  // limitations under the License.
  6936  //
  6937  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6938  
  6939  // File status flags: these are used by open(2), fcntl(2).
  6940  // They are also used (indirectly) in the kernel file structure f_flags,
  6941  // which is a superset of the open/fcntl flags.  Open flags and f_flags
  6942  // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
  6943  // Open/fcntl flags begin with O_; kernel-internal flags begin with F.
  6944  // open-only flags
  6945  
  6946  // Kernel encoding of open mode; separate read and write bits that are
  6947  // independently testable: 1 greater than the above.
  6948  //
  6949  // XXX
  6950  // FREAD and FWRITE are excluded from the #ifdef KERNEL so that TIOCFLUSH,
  6951  // which was documented to use FREAD/FWRITE, continues to work.
  6952  
  6953  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6954  //
  6955  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6956  //
  6957  // This file contains Original Code and/or Modifications of Original Code
  6958  // as defined in and that are subject to the Apple Public Source License
  6959  // Version 2.0 (the 'License'). You may not use this file except in
  6960  // compliance with the License. The rights granted to you under the License
  6961  // may not be used to create, or enable the creation or redistribution of,
  6962  // unlawful or unlicensed copies of an Apple operating system, or to
  6963  // circumvent, violate, or enable the circumvention or violation of, any
  6964  // terms of an Apple operating system software license agreement.
  6965  //
  6966  // Please obtain a copy of the License at
  6967  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6968  //
  6969  // The Original Code and all software distributed under the License are
  6970  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6971  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6972  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6973  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6974  // Please see the License for the specific language governing rights and
  6975  // limitations under the License.
  6976  //
  6977  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6978  
  6979  // Descriptor value for the current working directory
  6980  
  6981  // Flags for the at functions
  6982  
  6983  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6984  //
  6985  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6986  //
  6987  // This file contains Original Code and/or Modifications of Original Code
  6988  // as defined in and that are subject to the Apple Public Source License
  6989  // Version 2.0 (the 'License'). You may not use this file except in
  6990  // compliance with the License. The rights granted to you under the License
  6991  // may not be used to create, or enable the creation or redistribution of,
  6992  // unlawful or unlicensed copies of an Apple operating system, or to
  6993  // circumvent, violate, or enable the circumvention or violation of, any
  6994  // terms of an Apple operating system software license agreement.
  6995  //
  6996  // Please obtain a copy of the License at
  6997  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6998  //
  6999  // The Original Code and all software distributed under the License are
  7000  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7001  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7002  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7003  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7004  // Please see the License for the specific language governing rights and
  7005  // limitations under the License.
  7006  //
  7007  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7008  
  7009  // Data Protection Flags
  7010  
  7011  // The O_* flags used to have only F* names, which were used in the kernel
  7012  // and by fcntl.  We retain the F* names for the kernel f_flags field
  7013  // and for backward compatibility for fcntl.
  7014  
  7015  // Flags used for copyfile(2)
  7016  
  7017  // Constants used for fcntl(2)
  7018  
  7019  // command values
  7020  // 46,47 used to be F_READBOOTSTRAP and F_WRITEBOOTSTRAP
  7021  
  7022  // should not be used (i.e. its ok to temporaily create cached pages)
  7023  
  7024  // See F_DUPFD_CLOEXEC below for 67
  7025  
  7026  // may be broken into smaller chunks with throttling in between
  7027  
  7028  // FS-specific fcntl()'s numbers begin at 0x00010000 and go up
  7029  
  7030  // file descriptor flags (F_GETFD, F_SETFD)
  7031  
  7032  // record locking flags (F_GETLK, F_SETLK, F_SETLKW)
  7033  
  7034  // [XSI] The values used for l_whence shall be defined as described
  7035  // in <unistd.h>
  7036  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7037  //
  7038  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7039  //
  7040  // This file contains Original Code and/or Modifications of Original Code
  7041  // as defined in and that are subject to the Apple Public Source License
  7042  // Version 2.0 (the 'License'). You may not use this file except in
  7043  // compliance with the License. The rights granted to you under the License
  7044  // may not be used to create, or enable the creation or redistribution of,
  7045  // unlawful or unlicensed copies of an Apple operating system, or to
  7046  // circumvent, violate, or enable the circumvention or violation of, any
  7047  // terms of an Apple operating system software license agreement.
  7048  //
  7049  // Please obtain a copy of the License at
  7050  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7051  //
  7052  // The Original Code and all software distributed under the License are
  7053  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7054  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7055  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7056  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7057  // Please see the License for the specific language governing rights and
  7058  // limitations under the License.
  7059  //
  7060  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7061  
  7062  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7063  //
  7064  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7065  //
  7066  // This file contains Original Code and/or Modifications of Original Code
  7067  // as defined in and that are subject to the Apple Public Source License
  7068  // Version 2.0 (the 'License'). You may not use this file except in
  7069  // compliance with the License. The rights granted to you under the License
  7070  // may not be used to create, or enable the creation or redistribution of,
  7071  // unlawful or unlicensed copies of an Apple operating system, or to
  7072  // circumvent, violate, or enable the circumvention or violation of, any
  7073  // terms of an Apple operating system software license agreement.
  7074  //
  7075  // Please obtain a copy of the License at
  7076  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7077  //
  7078  // The Original Code and all software distributed under the License are
  7079  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7080  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7081  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7082  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7083  // Please see the License for the specific language governing rights and
  7084  // limitations under the License.
  7085  //
  7086  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7087  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7088  // Copyright (c) 1991, 1993
  7089  //	The Regents of the University of California.  All rights reserved.
  7090  //
  7091  // This code is derived from software contributed to Berkeley by
  7092  // Berkeley Software Design, Inc.
  7093  //
  7094  // Redistribution and use in source and binary forms, with or without
  7095  // modification, are permitted provided that the following conditions
  7096  // are met:
  7097  // 1. Redistributions of source code must retain the above copyright
  7098  //    notice, this list of conditions and the following disclaimer.
  7099  // 2. Redistributions in binary form must reproduce the above copyright
  7100  //    notice, this list of conditions and the following disclaimer in the
  7101  //    documentation and/or other materials provided with the distribution.
  7102  // 3. All advertising materials mentioning features or use of this software
  7103  //    must display the following acknowledgement:
  7104  //	This product includes software developed by the University of
  7105  //	California, Berkeley and its contributors.
  7106  // 4. Neither the name of the University nor the names of its contributors
  7107  //    may be used to endorse or promote products derived from this software
  7108  //    without specific prior written permission.
  7109  //
  7110  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7111  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7112  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7113  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7114  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7115  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7116  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7117  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7118  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7119  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7120  // SUCH DAMAGE.
  7121  //
  7122  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7123  
  7124  // whence values for lseek(2)
  7125  
  7126  // [XSI] The symbolic names for file modes for use as values of mode_t
  7127  // shall be defined as described in <sys/stat.h>
  7128  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7129  //
  7130  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7131  //
  7132  // This file contains Original Code and/or Modifications of Original Code
  7133  // as defined in and that are subject to the Apple Public Source License
  7134  // Version 2.0 (the 'License'). You may not use this file except in
  7135  // compliance with the License. The rights granted to you under the License
  7136  // may not be used to create, or enable the creation or redistribution of,
  7137  // unlawful or unlicensed copies of an Apple operating system, or to
  7138  // circumvent, violate, or enable the circumvention or violation of, any
  7139  // terms of an Apple operating system software license agreement.
  7140  //
  7141  // Please obtain a copy of the License at
  7142  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7143  //
  7144  // The Original Code and all software distributed under the License are
  7145  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7146  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7147  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7148  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7149  // Please see the License for the specific language governing rights and
  7150  // limitations under the License.
  7151  //
  7152  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7153  
  7154  // [XSI] The symbolic names for file modes for use as values of mode_t
  7155  // shall be defined as described in <sys/stat.h>
  7156  // File type
  7157  
  7158  // File mode
  7159  // Read, write, execute/search by owner
  7160  // Read, write, execute/search by group
  7161  // Read, write, execute/search by others
  7162  
  7163  // allocate flags (F_PREALLOCATE)
  7164  
  7165  // Position Modes (fst_posmode) for F_PREALLOCATE
  7166  
  7167  // we can keep them in sync should we desire
  7168  
  7169  // Advisory file segment locking data type -
  7170  // information passed to system by user
  7171  type Flock = struct {
  7172  	Fl_start  Off_t
  7173  	Fl_len    Off_t
  7174  	Fl_pid    Pid_t
  7175  	Fl_type   int16
  7176  	Fl_whence int16
  7177  } /* fcntl.h:343:1 */
  7178  
  7179  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7180  //
  7181  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7182  //
  7183  // This file contains Original Code and/or Modifications of Original Code
  7184  // as defined in and that are subject to the Apple Public Source License
  7185  // Version 2.0 (the 'License'). You may not use this file except in
  7186  // compliance with the License. The rights granted to you under the License
  7187  // may not be used to create, or enable the creation or redistribution of,
  7188  // unlawful or unlicensed copies of an Apple operating system, or to
  7189  // circumvent, violate, or enable the circumvention or violation of, any
  7190  // terms of an Apple operating system software license agreement.
  7191  //
  7192  // Please obtain a copy of the License at
  7193  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7194  //
  7195  // The Original Code and all software distributed under the License are
  7196  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7197  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7198  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7199  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7200  // Please see the License for the specific language governing rights and
  7201  // limitations under the License.
  7202  //
  7203  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7204  
  7205  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  7206  //
  7207  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7208  //
  7209  // This file contains Original Code and/or Modifications of Original Code
  7210  // as defined in and that are subject to the Apple Public Source License
  7211  // Version 2.0 (the 'License'). You may not use this file except in
  7212  // compliance with the License. The rights granted to you under the License
  7213  // may not be used to create, or enable the creation or redistribution of,
  7214  // unlawful or unlicensed copies of an Apple operating system, or to
  7215  // circumvent, violate, or enable the circumvention or violation of, any
  7216  // terms of an Apple operating system software license agreement.
  7217  //
  7218  // Please obtain a copy of the License at
  7219  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7220  //
  7221  // The Original Code and all software distributed under the License are
  7222  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7223  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7224  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7225  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7226  // Please see the License for the specific language governing rights and
  7227  // limitations under the License.
  7228  //
  7229  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7230  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7231  
  7232  type Timespec = struct {
  7233  	Ftv_sec  X__darwin_time_t
  7234  	Ftv_nsec int64
  7235  } /* _timespec.h:33:1 */
  7236  
  7237  // Advisory file segment locking with time out -
  7238  // Information passed to system by user for F_SETLKWTIMEOUT
  7239  type Flocktimeout = struct {
  7240  	Ffl struct {
  7241  		Fl_start  Off_t
  7242  		Fl_len    Off_t
  7243  		Fl_pid    Pid_t
  7244  		Fl_type   int16
  7245  		Fl_whence int16
  7246  	}
  7247  	Ftimeout struct {
  7248  		Ftv_sec  X__darwin_time_t
  7249  		Ftv_nsec int64
  7250  	}
  7251  } /* fcntl.h:358:1 */
  7252  
  7253  // advisory file read data type -
  7254  // information passed by user to system
  7255  
  7256  type Radvisory = struct {
  7257  	Fra_offset   Off_t
  7258  	Fra_count    int32
  7259  	F__ccgo_pad1 [4]byte
  7260  } /* fcntl.h:371:1 */
  7261  
  7262  //* Information the user passes in to get the codeblobs out of the kernel
  7263  type Fcodeblobs = struct {
  7264  	Ff_cd_hash   uintptr
  7265  	Ff_hash_size Size_t
  7266  	Ff_cd_buffer uintptr
  7267  	Ff_cd_size   Size_t
  7268  	Ff_out_size  uintptr
  7269  	Ff_arch      int32
  7270  	F__padding   int32
  7271  } /* fcntl.h:378:9 */
  7272  
  7273  //* Information the user passes in to get the codeblobs out of the kernel
  7274  type Fcodeblobs_t = Fcodeblobs /* fcntl.h:386:3 */
  7275  
  7276  // detached code signatures data type -
  7277  // information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS.
  7278  // F_ADDFILESIGS is a shortcut for files that contain their own signature and
  7279  // doesn't require mapping of the file in order to load the signature.
  7280  type Fsignatures = struct {
  7281  	Ffs_file_start Off_t
  7282  	Ffs_blob_start uintptr
  7283  	Ffs_blob_size  Size_t
  7284  } /* fcntl.h:395:9 */
  7285  
  7286  // detached code signatures data type -
  7287  // information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS.
  7288  // F_ADDFILESIGS is a shortcut for files that contain their own signature and
  7289  // doesn't require mapping of the file in order to load the signature.
  7290  type Fsignatures_t = Fsignatures /* fcntl.h:399:3 */
  7291  
  7292  // DYLD needs to check if the object is allowed to be combined
  7293  // into the main binary. This is done between the code signature
  7294  // is loaded and dyld is doing all the work to process the LOAD commands.
  7295  //
  7296  // While this could be done in F_ADDFILESIGS.* family the hook into
  7297  // the MAC module doesn't say no when LV isn't enabled and then that
  7298  // is cached on the vnode, and the MAC module never gets change once
  7299  // a process that library validation enabled.
  7300  type Fchecklv = struct {
  7301  	Flv_file_start         Off_t
  7302  	Flv_error_message_size Size_t
  7303  	Flv_error_message      uintptr
  7304  } /* fcntl.h:411:9 */
  7305  
  7306  // DYLD needs to check if the object is allowed to be combined
  7307  // into the main binary. This is done between the code signature
  7308  // is loaded and dyld is doing all the work to process the LOAD commands.
  7309  //
  7310  // While this could be done in F_ADDFILESIGS.* family the hook into
  7311  // the MAC module doesn't say no when LV isn't enabled and then that
  7312  // is cached on the vnode, and the MAC module never gets change once
  7313  // a process that library validation enabled.
  7314  type Fchecklv_t = Fchecklv /* fcntl.h:415:3 */
  7315  
  7316  // lock operations for flock(2)
  7317  
  7318  // fstore_t type used by F_PREALLOCATE command
  7319  
  7320  type Fstore = struct {
  7321  	Ffst_flags      uint32
  7322  	Ffst_posmode    int32
  7323  	Ffst_offset     Off_t
  7324  	Ffst_length     Off_t
  7325  	Ffst_bytesalloc Off_t
  7326  } /* fcntl.h:427:9 */
  7327  
  7328  // lock operations for flock(2)
  7329  
  7330  // fstore_t type used by F_PREALLOCATE command
  7331  
  7332  type Fstore_t = Fstore /* fcntl.h:433:3 */
  7333  
  7334  // fpunchhole_t used by F_PUNCHHOLE
  7335  type Fpunchhole = struct {
  7336  	Ffp_flags  uint32
  7337  	Freserved  uint32
  7338  	Ffp_offset Off_t
  7339  	Ffp_length Off_t
  7340  } /* fcntl.h:436:9 */
  7341  
  7342  // fpunchhole_t used by F_PUNCHHOLE
  7343  type Fpunchhole_t = Fpunchhole /* fcntl.h:441:3 */
  7344  
  7345  // factive_file_trim_t used by F_TRIM_ACTIVE_FILE
  7346  type Ftrimactivefile = struct {
  7347  	Ffta_offset Off_t
  7348  	Ffta_length Off_t
  7349  } /* fcntl.h:444:9 */
  7350  
  7351  // factive_file_trim_t used by F_TRIM_ACTIVE_FILE
  7352  type Ftrimactivefile_t = Ftrimactivefile /* fcntl.h:447:3 */
  7353  
  7354  // fspecread_t used by F_SPECULATIVE_READ
  7355  type Fspecread = struct {
  7356  	Ffsr_flags  uint32
  7357  	Freserved   uint32
  7358  	Ffsr_offset Off_t
  7359  	Ffsr_length Off_t
  7360  } /* fcntl.h:450:9 */
  7361  
  7362  // fspecread_t used by F_SPECULATIVE_READ
  7363  type Fspecread_t = Fspecread /* fcntl.h:455:3 */
  7364  
  7365  // fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands
  7366  
  7367  type Fbootstraptransfer = struct {
  7368  	Ffbt_offset Off_t
  7369  	Ffbt_length Size_t
  7370  	Ffbt_buffer uintptr
  7371  } /* fcntl.h:459:9 */
  7372  
  7373  // fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands
  7374  
  7375  type Fbootstraptransfer_t = Fbootstraptransfer /* fcntl.h:463:3 */
  7376  
  7377  // For F_LOG2PHYS this information is passed back to user
  7378  // Currently only devoffset is returned - that is the VOP_BMAP
  7379  // result - the disk device address corresponding to the
  7380  // current file offset (likely set with an lseek).
  7381  //
  7382  // The flags could hold an indication of whether the # of
  7383  // contiguous bytes reflects the true extent length on disk,
  7384  // or is an advisory value that indicates there is at least that
  7385  // many bytes contiguous.  For some filesystems it might be too
  7386  // inefficient to provide anything beyond the advisory value.
  7387  // Flags and contiguous bytes return values are not yet implemented.
  7388  // For them the fcntl will nedd to switch from using BMAP to CMAP
  7389  // and a per filesystem type flag will be needed to interpret the
  7390  // contiguous bytes count result from CMAP.
  7391  //
  7392  // F_LOG2PHYS_EXT is a variant of F_LOG2PHYS that uses a passed in
  7393  // file offset and length instead of the current file offset.
  7394  // F_LOG2PHYS_EXT operates on the same structure as F_LOG2PHYS, but
  7395  // treats it as an in/out.
  7396  
  7397  type Log2phys = struct {
  7398  	Fl2p_flags       uint32
  7399  	F__ccgo_pad1     [4]byte
  7400  	Fl2p_contigbytes Off_t
  7401  	Fl2p_devoffset   Off_t
  7402  } /* fcntl.h:489:1 */
  7403  
  7404  type Filesec_t = uintptr /* _filesec_t.h:31:25 */
  7405  
  7406  type Filesec_property_t = uint32 /* fcntl.h:523:3 */
  7407  
  7408  // Copyright (c) 2000, 2002-2006, 2008-2010, 2012 Apple Inc. All rights reserved.
  7409  //
  7410  // @APPLE_LICENSE_HEADER_START@
  7411  //
  7412  // This file contains Original Code and/or Modifications of Original Code
  7413  // as defined in and that are subject to the Apple Public Source License
  7414  // Version 2.0 (the 'License'). You may not use this file except in
  7415  // compliance with the License. Please obtain a copy of the License at
  7416  // http://www.opensource.apple.com/apsl/ and read it before using this
  7417  // file.
  7418  //
  7419  // The Original Code and all software distributed under the License are
  7420  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7421  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7422  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7423  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7424  // Please see the License for the specific language governing rights and
  7425  // limitations under the License.
  7426  //
  7427  // @APPLE_LICENSE_HEADER_END@
  7428  // -
  7429  // Copyright (c) 1998-1999 Apple Computer, Inc. All Rights Reserved
  7430  // Copyright (c) 1991, 1993, 1994
  7431  //	The Regents of the University of California.  All rights reserved.
  7432  //
  7433  // Redistribution and use in source and binary forms, with or without
  7434  // modification, are permitted provided that the following conditions
  7435  // are met:
  7436  // 1. Redistributions of source code must retain the above copyright
  7437  //    notice, this list of conditions and the following disclaimer.
  7438  // 2. Redistributions in binary form must reproduce the above copyright
  7439  //    notice, this list of conditions and the following disclaimer in the
  7440  //    documentation and/or other materials provided with the distribution.
  7441  // 3. All advertising materials mentioning features or use of this software
  7442  //    must display the following acknowledgement:
  7443  //	This product includes software developed by the University of
  7444  //	California, Berkeley and its contributors.
  7445  // 4. Neither the name of the University nor the names of its contributors
  7446  //    may be used to endorse or promote products derived from this software
  7447  //    without specific prior written permission.
  7448  //
  7449  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7450  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7451  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7452  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7453  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7454  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7455  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7456  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7457  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7458  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7459  // SUCH DAMAGE.
  7460  //
  7461  //	@(#)unistd.h	8.12 (Berkeley) 4/27/95
  7462  //
  7463  //  Copyright (c)  1998 Apple Compter, Inc.
  7464  //  All Rights Reserved
  7465  
  7466  // History:
  7467  //         7/14/99 EKN at Apple fixed getdirentriesattr from getdirentryattr
  7468  //         3/26/98 CHW at Apple added real interface to searchfs call
  7469  //   	3/5/98  CHW at Apple added hfs semantic system calls headers
  7470  
  7471  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  7472  //
  7473  // @APPLE_LICENSE_HEADER_START@
  7474  //
  7475  // This file contains Original Code and/or Modifications of Original Code
  7476  // as defined in and that are subject to the Apple Public Source License
  7477  // Version 2.0 (the 'License'). You may not use this file except in
  7478  // compliance with the License. Please obtain a copy of the License at
  7479  // http://www.opensource.apple.com/apsl/ and read it before using this
  7480  // file.
  7481  //
  7482  // The Original Code and all software distributed under the License are
  7483  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7484  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7485  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7486  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7487  // Please see the License for the specific language governing rights and
  7488  // limitations under the License.
  7489  //
  7490  // @APPLE_LICENSE_HEADER_END@
  7491  
  7492  // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
  7493  //
  7494  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7495  //
  7496  // This file contains Original Code and/or Modifications of Original Code
  7497  // as defined in and that are subject to the Apple Public Source License
  7498  // Version 2.0 (the 'License'). You may not use this file except in
  7499  // compliance with the License. The rights granted to you under the License
  7500  // may not be used to create, or enable the creation or redistribution of,
  7501  // unlawful or unlicensed copies of an Apple operating system, or to
  7502  // circumvent, violate, or enable the circumvention or violation of, any
  7503  // terms of an Apple operating system software license agreement.
  7504  //
  7505  // Please obtain a copy of the License at
  7506  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7507  //
  7508  // The Original Code and all software distributed under the License are
  7509  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7510  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7511  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7512  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7513  // Please see the License for the specific language governing rights and
  7514  // limitations under the License.
  7515  //
  7516  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7517  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  7518  // Copyright (c) 1989, 1993
  7519  //	The Regents of the University of California.  All rights reserved.
  7520  //
  7521  // Redistribution and use in source and binary forms, with or without
  7522  // modification, are permitted provided that the following conditions
  7523  // are met:
  7524  // 1. Redistributions of source code must retain the above copyright
  7525  //    notice, this list of conditions and the following disclaimer.
  7526  // 2. Redistributions in binary form must reproduce the above copyright
  7527  //    notice, this list of conditions and the following disclaimer in the
  7528  //    documentation and/or other materials provided with the distribution.
  7529  // 3. All advertising materials mentioning features or use of this software
  7530  //    must display the following acknowledgement:
  7531  //	This product includes software developed by the University of
  7532  //	California, Berkeley and its contributors.
  7533  // 4. Neither the name of the University nor the names of its contributors
  7534  //    may be used to endorse or promote products derived from this software
  7535  //    without specific prior written permission.
  7536  //
  7537  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7538  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7539  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7540  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7541  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7542  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7543  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7544  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7545  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7546  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7547  // SUCH DAMAGE.
  7548  //
  7549  //	@(#)unistd.h	8.2 (Berkeley) 1/7/94
  7550  
  7551  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7552  //
  7553  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7554  //
  7555  // This file contains Original Code and/or Modifications of Original Code
  7556  // as defined in and that are subject to the Apple Public Source License
  7557  // Version 2.0 (the 'License'). You may not use this file except in
  7558  // compliance with the License. The rights granted to you under the License
  7559  // may not be used to create, or enable the creation or redistribution of,
  7560  // unlawful or unlicensed copies of an Apple operating system, or to
  7561  // circumvent, violate, or enable the circumvention or violation of, any
  7562  // terms of an Apple operating system software license agreement.
  7563  //
  7564  // Please obtain a copy of the License at
  7565  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7566  //
  7567  // The Original Code and all software distributed under the License are
  7568  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7569  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7570  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7571  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7572  // Please see the License for the specific language governing rights and
  7573  // limitations under the License.
  7574  //
  7575  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7576  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7577  // Copyright (c) 1991, 1993
  7578  //	The Regents of the University of California.  All rights reserved.
  7579  //
  7580  // This code is derived from software contributed to Berkeley by
  7581  // Berkeley Software Design, Inc.
  7582  //
  7583  // Redistribution and use in source and binary forms, with or without
  7584  // modification, are permitted provided that the following conditions
  7585  // are met:
  7586  // 1. Redistributions of source code must retain the above copyright
  7587  //    notice, this list of conditions and the following disclaimer.
  7588  // 2. Redistributions in binary form must reproduce the above copyright
  7589  //    notice, this list of conditions and the following disclaimer in the
  7590  //    documentation and/or other materials provided with the distribution.
  7591  // 3. All advertising materials mentioning features or use of this software
  7592  //    must display the following acknowledgement:
  7593  //	This product includes software developed by the University of
  7594  //	California, Berkeley and its contributors.
  7595  // 4. Neither the name of the University nor the names of its contributors
  7596  //    may be used to endorse or promote products derived from this software
  7597  //    without specific prior written permission.
  7598  //
  7599  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7600  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7601  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7602  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7603  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7604  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7605  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7606  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7607  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7608  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7609  // SUCH DAMAGE.
  7610  //
  7611  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7612  
  7613  // Although we have saved user/group IDs, we do not use them in setuid
  7614  // as described in POSIX 1003.1, because the feature does not work for
  7615  // root.  We use the saved IDs in seteuid/setegid, which are not currently
  7616  // part of the POSIX 1003.1 specification.
  7617  
  7618  // execution-time symbolic constants
  7619  // may disable terminal special characters
  7620  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7621  //
  7622  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7623  //
  7624  // This file contains Original Code and/or Modifications of Original Code
  7625  // as defined in and that are subject to the Apple Public Source License
  7626  // Version 2.0 (the 'License'). You may not use this file except in
  7627  // compliance with the License. The rights granted to you under the License
  7628  // may not be used to create, or enable the creation or redistribution of,
  7629  // unlawful or unlicensed copies of an Apple operating system, or to
  7630  // circumvent, violate, or enable the circumvention or violation of, any
  7631  // terms of an Apple operating system software license agreement.
  7632  //
  7633  // Please obtain a copy of the License at
  7634  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7635  //
  7636  // The Original Code and all software distributed under the License are
  7637  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7638  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7639  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7640  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7641  // Please see the License for the specific language governing rights and
  7642  // limitations under the License.
  7643  //
  7644  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7645  
  7646  // access function
  7647  
  7648  // Extended access functions.
  7649  // Note that we depend on these matching the definitions in sys/kauth.h,
  7650  // but with the bits shifted left by 8.
  7651  
  7652  // whence values for lseek(2)
  7653  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7654  //
  7655  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7656  //
  7657  // This file contains Original Code and/or Modifications of Original Code
  7658  // as defined in and that are subject to the Apple Public Source License
  7659  // Version 2.0 (the 'License'). You may not use this file except in
  7660  // compliance with the License. The rights granted to you under the License
  7661  // may not be used to create, or enable the creation or redistribution of,
  7662  // unlawful or unlicensed copies of an Apple operating system, or to
  7663  // circumvent, violate, or enable the circumvention or violation of, any
  7664  // terms of an Apple operating system software license agreement.
  7665  //
  7666  // Please obtain a copy of the License at
  7667  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7668  //
  7669  // The Original Code and all software distributed under the License are
  7670  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7671  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7672  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7673  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7674  // Please see the License for the specific language governing rights and
  7675  // limitations under the License.
  7676  //
  7677  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7678  
  7679  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7680  //
  7681  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7682  //
  7683  // This file contains Original Code and/or Modifications of Original Code
  7684  // as defined in and that are subject to the Apple Public Source License
  7685  // Version 2.0 (the 'License'). You may not use this file except in
  7686  // compliance with the License. The rights granted to you under the License
  7687  // may not be used to create, or enable the creation or redistribution of,
  7688  // unlawful or unlicensed copies of an Apple operating system, or to
  7689  // circumvent, violate, or enable the circumvention or violation of, any
  7690  // terms of an Apple operating system software license agreement.
  7691  //
  7692  // Please obtain a copy of the License at
  7693  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7694  //
  7695  // The Original Code and all software distributed under the License are
  7696  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7697  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7698  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7699  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7700  // Please see the License for the specific language governing rights and
  7701  // limitations under the License.
  7702  //
  7703  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7704  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7705  // Copyright (c) 1991, 1993
  7706  //	The Regents of the University of California.  All rights reserved.
  7707  //
  7708  // This code is derived from software contributed to Berkeley by
  7709  // Berkeley Software Design, Inc.
  7710  //
  7711  // Redistribution and use in source and binary forms, with or without
  7712  // modification, are permitted provided that the following conditions
  7713  // are met:
  7714  // 1. Redistributions of source code must retain the above copyright
  7715  //    notice, this list of conditions and the following disclaimer.
  7716  // 2. Redistributions in binary form must reproduce the above copyright
  7717  //    notice, this list of conditions and the following disclaimer in the
  7718  //    documentation and/or other materials provided with the distribution.
  7719  // 3. All advertising materials mentioning features or use of this software
  7720  //    must display the following acknowledgement:
  7721  //	This product includes software developed by the University of
  7722  //	California, Berkeley and its contributors.
  7723  // 4. Neither the name of the University nor the names of its contributors
  7724  //    may be used to endorse or promote products derived from this software
  7725  //    without specific prior written permission.
  7726  //
  7727  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7728  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7729  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7730  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7731  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7732  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7733  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7734  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7735  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7736  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7737  // SUCH DAMAGE.
  7738  //
  7739  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7740  
  7741  // whence values for lseek(2)
  7742  
  7743  // whence values for lseek(2); renamed by POSIX 1003.1
  7744  
  7745  type Accessx_descriptor = struct {
  7746  	Fad_name_offset uint32
  7747  	Fad_flags       int32
  7748  	Fad_pad         [2]int32
  7749  } /* unistd.h:132:1 */
  7750  
  7751  // configurable pathname variables
  7752  
  7753  // configurable system strings
  7754  
  7755  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  7756  //
  7757  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7758  //
  7759  // This file contains Original Code and/or Modifications of Original Code
  7760  // as defined in and that are subject to the Apple Public Source License
  7761  // Version 2.0 (the 'License'). You may not use this file except in
  7762  // compliance with the License. The rights granted to you under the License
  7763  // may not be used to create, or enable the creation or redistribution of,
  7764  // unlawful or unlicensed copies of an Apple operating system, or to
  7765  // circumvent, violate, or enable the circumvention or violation of, any
  7766  // terms of an Apple operating system software license agreement.
  7767  //
  7768  // Please obtain a copy of the License at
  7769  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7770  //
  7771  // The Original Code and all software distributed under the License are
  7772  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7773  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7774  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7775  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7776  // Please see the License for the specific language governing rights and
  7777  // limitations under the License.
  7778  //
  7779  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7780  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7781  //
  7782  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7783  //
  7784  // This file contains Original Code and/or Modifications of Original Code
  7785  // as defined in and that are subject to the Apple Public Source License
  7786  // Version 2.0 (the 'License'). You may not use this file except in
  7787  // compliance with the License. The rights granted to you under the License
  7788  // may not be used to create, or enable the creation or redistribution of,
  7789  // unlawful or unlicensed copies of an Apple operating system, or to
  7790  // circumvent, violate, or enable the circumvention or violation of, any
  7791  // terms of an Apple operating system software license agreement.
  7792  //
  7793  // Please obtain a copy of the License at
  7794  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7795  //
  7796  // The Original Code and all software distributed under the License are
  7797  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7798  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7799  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7800  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7801  // Please see the License for the specific language governing rights and
  7802  // limitations under the License.
  7803  //
  7804  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7805  // Copyright (c) 2012 Apple Inc. All rights reserved.
  7806  //
  7807  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7808  //
  7809  // This file contains Original Code and/or Modifications of Original Code
  7810  // as defined in and that are subject to the Apple Public Source License
  7811  // Version 2.0 (the 'License'). You may not use this file except in
  7812  // compliance with the License. The rights granted to you under the License
  7813  // may not be used to create, or enable the creation or redistribution of,
  7814  // unlawful or unlicensed copies of an Apple operating system, or to
  7815  // circumvent, violate, or enable the circumvention or violation of, any
  7816  // terms of an Apple operating system software license agreement.
  7817  //
  7818  // Please obtain a copy of the License at
  7819  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7820  //
  7821  // The Original Code and all software distributed under the License are
  7822  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7823  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7824  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7825  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7826  // Please see the License for the specific language governing rights and
  7827  // limitations under the License.
  7828  //
  7829  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7830  
  7831  type Uint64_t = uint64 /* _uint64_t.h:31:28 */
  7832  // Copyright (c) 2012 Apple Inc. All rights reserved.
  7833  //
  7834  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7835  //
  7836  // This file contains Original Code and/or Modifications of Original Code
  7837  // as defined in and that are subject to the Apple Public Source License
  7838  // Version 2.0 (the 'License'). You may not use this file except in
  7839  // compliance with the License. The rights granted to you under the License
  7840  // may not be used to create, or enable the creation or redistribution of,
  7841  // unlawful or unlicensed copies of an Apple operating system, or to
  7842  // circumvent, violate, or enable the circumvention or violation of, any
  7843  // terms of an Apple operating system software license agreement.
  7844  //
  7845  // Please obtain a copy of the License at
  7846  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7847  //
  7848  // The Original Code and all software distributed under the License are
  7849  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7850  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7851  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7852  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7853  // Please see the License for the specific language governing rights and
  7854  // limitations under the License.
  7855  //
  7856  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7857  
  7858  type Uint32_t = uint32 /* _uint32_t.h:31:22 */
  7859  
  7860  // Darwin extensions
  7861  
  7862  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  7863  //
  7864  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7865  //
  7866  // This file contains Original Code and/or Modifications of Original Code
  7867  // as defined in and that are subject to the Apple Public Source License
  7868  // Version 2.0 (the 'License'). You may not use this file except in
  7869  // compliance with the License. The rights granted to you under the License
  7870  // may not be used to create, or enable the creation or redistribution of,
  7871  // unlawful or unlicensed copies of an Apple operating system, or to
  7872  // circumvent, violate, or enable the circumvention or violation of, any
  7873  // terms of an Apple operating system software license agreement.
  7874  //
  7875  // Please obtain a copy of the License at
  7876  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7877  //
  7878  // The Original Code and all software distributed under the License are
  7879  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7880  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7881  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7882  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7883  // Please see the License for the specific language governing rights and
  7884  // limitations under the License.
  7885  //
  7886  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7887  // Copyright (c) 1992, 1993
  7888  //	The Regents of the University of California.  All rights reserved.
  7889  //
  7890  // Redistribution and use in source and binary forms, with or without
  7891  // modification, are permitted provided that the following conditions
  7892  // are met:
  7893  // 1. Redistributions of source code must retain the above copyright
  7894  //    notice, this list of conditions and the following disclaimer.
  7895  // 2. Redistributions in binary form must reproduce the above copyright
  7896  //    notice, this list of conditions and the following disclaimer in the
  7897  //    documentation and/or other materials provided with the distribution.
  7898  // 3. All advertising materials mentioning features or use of this software
  7899  //    must display the following acknowledgement:
  7900  //	This product includes software developed by the University of
  7901  //	California, Berkeley and its contributors.
  7902  // 4. Neither the name of the University nor the names of its contributors
  7903  //    may be used to endorse or promote products derived from this software
  7904  //    without specific prior written permission.
  7905  //
  7906  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7907  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7908  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7909  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7910  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7911  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7912  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7913  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7914  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7915  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7916  // SUCH DAMAGE.
  7917  //
  7918  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  7919  
  7920  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  7921  //
  7922  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7923  //
  7924  // This file contains Original Code and/or Modifications of Original Code
  7925  // as defined in and that are subject to the Apple Public Source License
  7926  // Version 2.0 (the 'License'). You may not use this file except in
  7927  // compliance with the License. The rights granted to you under the License
  7928  // may not be used to create, or enable the creation or redistribution of,
  7929  // unlawful or unlicensed copies of an Apple operating system, or to
  7930  // circumvent, violate, or enable the circumvention or violation of, any
  7931  // terms of an Apple operating system software license agreement.
  7932  //
  7933  // Please obtain a copy of the License at
  7934  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7935  //
  7936  // The Original Code and all software distributed under the License are
  7937  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7938  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7939  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7940  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7941  // Please see the License for the specific language governing rights and
  7942  // limitations under the License.
  7943  //
  7944  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7945  
  7946  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7947  //
  7948  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7949  //
  7950  // This file contains Original Code and/or Modifications of Original Code
  7951  // as defined in and that are subject to the Apple Public Source License
  7952  // Version 2.0 (the 'License'). You may not use this file except in
  7953  // compliance with the License. The rights granted to you under the License
  7954  // may not be used to create, or enable the creation or redistribution of,
  7955  // unlawful or unlicensed copies of an Apple operating system, or to
  7956  // circumvent, violate, or enable the circumvention or violation of, any
  7957  // terms of an Apple operating system software license agreement.
  7958  //
  7959  // Please obtain a copy of the License at
  7960  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7961  //
  7962  // The Original Code and all software distributed under the License are
  7963  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7964  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7965  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7966  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7967  // Please see the License for the specific language governing rights and
  7968  // limitations under the License.
  7969  //
  7970  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7971  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7972  // Copyright (c) 1991, 1993
  7973  //	The Regents of the University of California.  All rights reserved.
  7974  //
  7975  // This code is derived from software contributed to Berkeley by
  7976  // Berkeley Software Design, Inc.
  7977  //
  7978  // Redistribution and use in source and binary forms, with or without
  7979  // modification, are permitted provided that the following conditions
  7980  // are met:
  7981  // 1. Redistributions of source code must retain the above copyright
  7982  //    notice, this list of conditions and the following disclaimer.
  7983  // 2. Redistributions in binary form must reproduce the above copyright
  7984  //    notice, this list of conditions and the following disclaimer in the
  7985  //    documentation and/or other materials provided with the distribution.
  7986  // 3. All advertising materials mentioning features or use of this software
  7987  //    must display the following acknowledgement:
  7988  //	This product includes software developed by the University of
  7989  //	California, Berkeley and its contributors.
  7990  // 4. Neither the name of the University nor the names of its contributors
  7991  //    may be used to endorse or promote products derived from this software
  7992  //    without specific prior written permission.
  7993  //
  7994  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7995  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7996  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7997  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7998  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7999  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  8000  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  8001  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  8002  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  8003  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  8004  // SUCH DAMAGE.
  8005  //
  8006  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  8007  
  8008  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  8009  //
  8010  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8011  //
  8012  // This file contains Original Code and/or Modifications of Original Code
  8013  // as defined in and that are subject to the Apple Public Source License
  8014  // Version 2.0 (the 'License'). You may not use this file except in
  8015  // compliance with the License. The rights granted to you under the License
  8016  // may not be used to create, or enable the creation or redistribution of,
  8017  // unlawful or unlicensed copies of an Apple operating system, or to
  8018  // circumvent, violate, or enable the circumvention or violation of, any
  8019  // terms of an Apple operating system software license agreement.
  8020  //
  8021  // Please obtain a copy of the License at
  8022  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8023  //
  8024  // The Original Code and all software distributed under the License are
  8025  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8026  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8027  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8028  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8029  // Please see the License for the specific language governing rights and
  8030  // limitations under the License.
  8031  //
  8032  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8033  
  8034  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  8035  // The timespec structure shall be defined as described in <time.h>
  8036  // The <sys/select.h> header shall define the timeval structure.
  8037  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8038  //
  8039  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8040  //
  8041  // This file contains Original Code and/or Modifications of Original Code
  8042  // as defined in and that are subject to the Apple Public Source License
  8043  // Version 2.0 (the 'License'). You may not use this file except in
  8044  // compliance with the License. The rights granted to you under the License
  8045  // may not be used to create, or enable the creation or redistribution of,
  8046  // unlawful or unlicensed copies of an Apple operating system, or to
  8047  // circumvent, violate, or enable the circumvention or violation of, any
  8048  // terms of an Apple operating system software license agreement.
  8049  //
  8050  // Please obtain a copy of the License at
  8051  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8052  //
  8053  // The Original Code and all software distributed under the License are
  8054  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8055  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8056  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8057  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8058  // Please see the License for the specific language governing rights and
  8059  // limitations under the License.
  8060  //
  8061  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8062  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8063  //
  8064  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8065  //
  8066  // This file contains Original Code and/or Modifications of Original Code
  8067  // as defined in and that are subject to the Apple Public Source License
  8068  // Version 2.0 (the 'License'). You may not use this file except in
  8069  // compliance with the License. The rights granted to you under the License
  8070  // may not be used to create, or enable the creation or redistribution of,
  8071  // unlawful or unlicensed copies of an Apple operating system, or to
  8072  // circumvent, violate, or enable the circumvention or violation of, any
  8073  // terms of an Apple operating system software license agreement.
  8074  //
  8075  // Please obtain a copy of the License at
  8076  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8077  //
  8078  // The Original Code and all software distributed under the License are
  8079  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8080  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8081  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8082  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8083  // Please see the License for the specific language governing rights and
  8084  // limitations under the License.
  8085  //
  8086  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8087  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8088  //
  8089  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8090  //
  8091  // This file contains Original Code and/or Modifications of Original Code
  8092  // as defined in and that are subject to the Apple Public Source License
  8093  // Version 2.0 (the 'License'). You may not use this file except in
  8094  // compliance with the License. The rights granted to you under the License
  8095  // may not be used to create, or enable the creation or redistribution of,
  8096  // unlawful or unlicensed copies of an Apple operating system, or to
  8097  // circumvent, violate, or enable the circumvention or violation of, any
  8098  // terms of an Apple operating system software license agreement.
  8099  //
  8100  // Please obtain a copy of the License at
  8101  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8102  //
  8103  // The Original Code and all software distributed under the License are
  8104  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8105  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8106  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8107  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8108  // Please see the License for the specific language governing rights and
  8109  // limitations under the License.
  8110  //
  8111  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8112  
  8113  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  8114  //
  8115  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8116  //
  8117  // This file contains Original Code and/or Modifications of Original Code
  8118  // as defined in and that are subject to the Apple Public Source License
  8119  // Version 2.0 (the 'License'). You may not use this file except in
  8120  // compliance with the License. The rights granted to you under the License
  8121  // may not be used to create, or enable the creation or redistribution of,
  8122  // unlawful or unlicensed copies of an Apple operating system, or to
  8123  // circumvent, violate, or enable the circumvention or violation of, any
  8124  // terms of an Apple operating system software license agreement.
  8125  //
  8126  // Please obtain a copy of the License at
  8127  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8128  //
  8129  // The Original Code and all software distributed under the License are
  8130  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8131  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8132  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8133  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8134  // Please see the License for the specific language governing rights and
  8135  // limitations under the License.
  8136  //
  8137  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8138  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  8139  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  8140  //
  8141  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8142  //
  8143  // This file contains Original Code and/or Modifications of Original Code
  8144  // as defined in and that are subject to the Apple Public Source License
  8145  // Version 2.0 (the 'License'). You may not use this file except in
  8146  // compliance with the License. The rights granted to you under the License
  8147  // may not be used to create, or enable the creation or redistribution of,
  8148  // unlawful or unlicensed copies of an Apple operating system, or to
  8149  // circumvent, violate, or enable the circumvention or violation of, any
  8150  // terms of an Apple operating system software license agreement.
  8151  //
  8152  // Please obtain a copy of the License at
  8153  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8154  //
  8155  // The Original Code and all software distributed under the License are
  8156  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8157  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8158  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8159  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8160  // Please see the License for the specific language governing rights and
  8161  // limitations under the License.
  8162  //
  8163  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8164  
  8165  type Timeval = struct {
  8166  	Ftv_sec      X__darwin_time_t
  8167  	Ftv_usec     X__darwin_suseconds_t
  8168  	F__ccgo_pad1 [4]byte
  8169  } /* _timeval.h:34:1 */
  8170  
  8171  // The time_t and suseconds_t types shall be defined as described in
  8172  // <sys/types.h>
  8173  // The sigset_t type shall be defined as described in <signal.h>
  8174  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8175  //
  8176  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8177  //
  8178  // This file contains Original Code and/or Modifications of Original Code
  8179  // as defined in and that are subject to the Apple Public Source License
  8180  // Version 2.0 (the 'License'). You may not use this file except in
  8181  // compliance with the License. The rights granted to you under the License
  8182  // may not be used to create, or enable the creation or redistribution of,
  8183  // unlawful or unlicensed copies of an Apple operating system, or to
  8184  // circumvent, violate, or enable the circumvention or violation of, any
  8185  // terms of an Apple operating system software license agreement.
  8186  //
  8187  // Please obtain a copy of the License at
  8188  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8189  //
  8190  // The Original Code and all software distributed under the License are
  8191  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8192  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8193  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8194  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8195  // Please see the License for the specific language governing rights and
  8196  // limitations under the License.
  8197  //
  8198  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8199  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8200  //
  8201  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8202  //
  8203  // This file contains Original Code and/or Modifications of Original Code
  8204  // as defined in and that are subject to the Apple Public Source License
  8205  // Version 2.0 (the 'License'). You may not use this file except in
  8206  // compliance with the License. The rights granted to you under the License
  8207  // may not be used to create, or enable the creation or redistribution of,
  8208  // unlawful or unlicensed copies of an Apple operating system, or to
  8209  // circumvent, violate, or enable the circumvention or violation of, any
  8210  // terms of an Apple operating system software license agreement.
  8211  //
  8212  // Please obtain a copy of the License at
  8213  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8214  //
  8215  // The Original Code and all software distributed under the License are
  8216  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8217  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8218  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8219  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8220  // Please see the License for the specific language governing rights and
  8221  // limitations under the License.
  8222  //
  8223  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8224  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8225  //
  8226  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8227  //
  8228  // This file contains Original Code and/or Modifications of Original Code
  8229  // as defined in and that are subject to the Apple Public Source License
  8230  // Version 2.0 (the 'License'). You may not use this file except in
  8231  // compliance with the License. The rights granted to you under the License
  8232  // may not be used to create, or enable the creation or redistribution of,
  8233  // unlawful or unlicensed copies of an Apple operating system, or to
  8234  // circumvent, violate, or enable the circumvention or violation of, any
  8235  // terms of an Apple operating system software license agreement.
  8236  //
  8237  // Please obtain a copy of the License at
  8238  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8239  //
  8240  // The Original Code and all software distributed under the License are
  8241  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8242  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8243  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8244  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8245  // Please see the License for the specific language governing rights and
  8246  // limitations under the License.
  8247  //
  8248  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8249  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  8250  //
  8251  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8252  //
  8253  // This file contains Original Code and/or Modifications of Original Code
  8254  // as defined in and that are subject to the Apple Public Source License
  8255  // Version 2.0 (the 'License'). You may not use this file except in
  8256  // compliance with the License. The rights granted to you under the License
  8257  // may not be used to create, or enable the creation or redistribution of,
  8258  // unlawful or unlicensed copies of an Apple operating system, or to
  8259  // circumvent, violate, or enable the circumvention or violation of, any
  8260  // terms of an Apple operating system software license agreement.
  8261  //
  8262  // Please obtain a copy of the License at
  8263  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8264  //
  8265  // The Original Code and all software distributed under the License are
  8266  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8267  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8268  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8269  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8270  // Please see the License for the specific language governing rights and
  8271  // limitations under the License.
  8272  //
  8273  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8274  
  8275  type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
  8276  
  8277  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8278  //
  8279  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8280  //
  8281  // This file contains Original Code and/or Modifications of Original Code
  8282  // as defined in and that are subject to the Apple Public Source License
  8283  // Version 2.0 (the 'License'). You may not use this file except in
  8284  // compliance with the License. The rights granted to you under the License
  8285  // may not be used to create, or enable the creation or redistribution of,
  8286  // unlawful or unlicensed copies of an Apple operating system, or to
  8287  // circumvent, violate, or enable the circumvention or violation of, any
  8288  // terms of an Apple operating system software license agreement.
  8289  //
  8290  // Please obtain a copy of the License at
  8291  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8292  //
  8293  // The Original Code and all software distributed under the License are
  8294  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8295  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8296  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8297  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8298  // Please see the License for the specific language governing rights and
  8299  // limitations under the License.
  8300  //
  8301  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8302  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8303  //
  8304  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8305  //
  8306  // This file contains Original Code and/or Modifications of Original Code
  8307  // as defined in and that are subject to the Apple Public Source License
  8308  // Version 2.0 (the 'License'). You may not use this file except in
  8309  // compliance with the License. The rights granted to you under the License
  8310  // may not be used to create, or enable the creation or redistribution of,
  8311  // unlawful or unlicensed copies of an Apple operating system, or to
  8312  // circumvent, violate, or enable the circumvention or violation of, any
  8313  // terms of an Apple operating system software license agreement.
  8314  //
  8315  // Please obtain a copy of the License at
  8316  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8317  //
  8318  // The Original Code and all software distributed under the License are
  8319  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8320  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8321  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8322  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8323  // Please see the License for the specific language governing rights and
  8324  // limitations under the License.
  8325  //
  8326  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8327  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8328  //
  8329  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8330  //
  8331  // This file contains Original Code and/or Modifications of Original Code
  8332  // as defined in and that are subject to the Apple Public Source License
  8333  // Version 2.0 (the 'License'). You may not use this file except in
  8334  // compliance with the License. The rights granted to you under the License
  8335  // may not be used to create, or enable the creation or redistribution of,
  8336  // unlawful or unlicensed copies of an Apple operating system, or to
  8337  // circumvent, violate, or enable the circumvention or violation of, any
  8338  // terms of an Apple operating system software license agreement.
  8339  //
  8340  // Please obtain a copy of the License at
  8341  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8342  //
  8343  // The Original Code and all software distributed under the License are
  8344  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8345  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8346  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8347  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8348  // Please see the License for the specific language governing rights and
  8349  // limitations under the License.
  8350  //
  8351  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8352  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  8353  //
  8354  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8355  //
  8356  // This file contains Original Code and/or Modifications of Original Code
  8357  // as defined in and that are subject to the Apple Public Source License
  8358  // Version 2.0 (the 'License'). You may not use this file except in
  8359  // compliance with the License. The rights granted to you under the License
  8360  // may not be used to create, or enable the creation or redistribution of,
  8361  // unlawful or unlicensed copies of an Apple operating system, or to
  8362  // circumvent, violate, or enable the circumvention or violation of, any
  8363  // terms of an Apple operating system software license agreement.
  8364  //
  8365  // Please obtain a copy of the License at
  8366  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8367  //
  8368  // The Original Code and all software distributed under the License are
  8369  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8370  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8371  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8372  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8373  // Please see the License for the specific language governing rights and
  8374  // limitations under the License.
  8375  //
  8376  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8377  
  8378  type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */
  8379  
  8380  // Get struct timeval and struct tm
  8381  
  8382  // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  8383  //
  8384  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8385  //
  8386  // This file contains Original Code and/or Modifications of Original Code
  8387  // as defined in and that are subject to the Apple Public Source License
  8388  // Version 2.0 (the 'License'). You may not use this file except in
  8389  // compliance with the License. The rights granted to you under the License
  8390  // may not be used to create, or enable the creation or redistribution of,
  8391  // unlawful or unlicensed copies of an Apple operating system, or to
  8392  // circumvent, violate, or enable the circumvention or violation of, any
  8393  // terms of an Apple operating system software license agreement.
  8394  //
  8395  // Please obtain a copy of the License at
  8396  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8397  //
  8398  // The Original Code and all software distributed under the License are
  8399  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8400  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8401  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8402  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8403  // Please see the License for the specific language governing rights and
  8404  // limitations under the License.
  8405  //
  8406  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8407  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  8408  // Copyright (c) 1982, 1986, 1993
  8409  //	The Regents of the University of California.  All rights reserved.
  8410  //
  8411  // Redistribution and use in source and binary forms, with or without
  8412  // modification, are permitted provided that the following conditions
  8413  // are met:
  8414  // 1. Redistributions of source code must retain the above copyright
  8415  //    notice, this list of conditions and the following disclaimer.
  8416  // 2. Redistributions in binary form must reproduce the above copyright
  8417  //    notice, this list of conditions and the following disclaimer in the
  8418  //    documentation and/or other materials provided with the distribution.
  8419  // 3. All advertising materials mentioning features or use of this software
  8420  //    must display the following acknowledgement:
  8421  //	This product includes software developed by the University of
  8422  //	California, Berkeley and its contributors.
  8423  // 4. Neither the name of the University nor the names of its contributors
  8424  //    may be used to endorse or promote products derived from this software
  8425  //    without specific prior written permission.
  8426  //
  8427  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  8428  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  8429  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  8430  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  8431  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  8432  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  8433  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  8434  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  8435  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  8436  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  8437  // SUCH DAMAGE.
  8438  //
  8439  //	@(#)time.h	8.2 (Berkeley) 7/10/94
  8440  
  8441  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  8442  //
  8443  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8444  //
  8445  // This file contains Original Code and/or Modifications of Original Code
  8446  // as defined in and that are subject to the Apple Public Source License
  8447  // Version 2.0 (the 'License'). You may not use this file except in
  8448  // compliance with the License. The rights granted to you under the License
  8449  // may not be used to create, or enable the creation or redistribution of,
  8450  // unlawful or unlicensed copies of an Apple operating system, or to
  8451  // circumvent, violate, or enable the circumvention or violation of, any
  8452  // terms of an Apple operating system software license agreement.
  8453  //
  8454  // Please obtain a copy of the License at
  8455  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8456  //
  8457  // The Original Code and all software distributed under the License are
  8458  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8459  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8460  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8461  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8462  // Please see the License for the specific language governing rights and
  8463  // limitations under the License.
  8464  //
  8465  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8466  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  8467  // Copyright (c) 1991, 1993
  8468  //	The Regents of the University of California.  All rights reserved.
  8469  //
  8470  // This code is derived from software contributed to Berkeley by
  8471  // Berkeley Software Design, Inc.
  8472  //
  8473  // Redistribution and use in source and binary forms, with or without
  8474  // modification, are permitted provided that the following conditions
  8475  // are met:
  8476  // 1. Redistributions of source code must retain the above copyright
  8477  //    notice, this list of conditions and the following disclaimer.
  8478  // 2. Redistributions in binary form must reproduce the above copyright
  8479  //    notice, this list of conditions and the following disclaimer in the
  8480  //    documentation and/or other materials provided with the distribution.
  8481  // 3. All advertising materials mentioning features or use of this software
  8482  //    must display the following acknowledgement:
  8483  //	This product includes software developed by the University of
  8484  //	California, Berkeley and its contributors.
  8485  // 4. Neither the name of the University nor the names of its contributors
  8486  //    may be used to endorse or promote products derived from this software
  8487  //    without specific prior written permission.
  8488  //
  8489  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  8490  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  8491  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  8492  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  8493  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  8494  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  8495  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  8496  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  8497  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  8498  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  8499  // SUCH DAMAGE.
  8500  //
  8501  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  8502  
  8503  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  8504  //
  8505  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8506  //
  8507  // This file contains Original Code and/or Modifications of Original Code
  8508  // as defined in and that are subject to the Apple Public Source License
  8509  // Version 2.0 (the 'License'). You may not use this file except in
  8510  // compliance with the License. The rights granted to you under the License
  8511  // may not be used to create, or enable the creation or redistribution of,
  8512  // unlawful or unlicensed copies of an Apple operating system, or to
  8513  // circumvent, violate, or enable the circumvention or violation of, any
  8514  // terms of an Apple operating system software license agreement.
  8515  //
  8516  // Please obtain a copy of the License at
  8517  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8518  //
  8519  // The Original Code and all software distributed under the License are
  8520  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8521  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8522  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8523  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8524  // Please see the License for the specific language governing rights and
  8525  // limitations under the License.
  8526  //
  8527  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8528  
  8529  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  8530  //
  8531  // @APPLE_LICENSE_HEADER_START@
  8532  //
  8533  // This file contains Original Code and/or Modifications of Original Code
  8534  // as defined in and that are subject to the Apple Public Source License
  8535  // Version 2.0 (the 'License'). You may not use this file except in
  8536  // compliance with the License. Please obtain a copy of the License at
  8537  // http://www.opensource.apple.com/apsl/ and read it before using this
  8538  // file.
  8539  //
  8540  // The Original Code and all software distributed under the License are
  8541  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8542  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8543  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8544  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8545  // Please see the License for the specific language governing rights and
  8546  // limitations under the License.
  8547  //
  8548  // @APPLE_LICENSE_HEADER_END@
  8549  
  8550  // [XSI] The fd_set type shall be defined as described in <sys/select.h>.
  8551  // The timespec structure shall be defined as described in <time.h>
  8552  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8553  //
  8554  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8555  //
  8556  // This file contains Original Code and/or Modifications of Original Code
  8557  // as defined in and that are subject to the Apple Public Source License
  8558  // Version 2.0 (the 'License'). You may not use this file except in
  8559  // compliance with the License. The rights granted to you under the License
  8560  // may not be used to create, or enable the creation or redistribution of,
  8561  // unlawful or unlicensed copies of an Apple operating system, or to
  8562  // circumvent, violate, or enable the circumvention or violation of, any
  8563  // terms of an Apple operating system software license agreement.
  8564  //
  8565  // Please obtain a copy of the License at
  8566  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8567  //
  8568  // The Original Code and all software distributed under the License are
  8569  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8570  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8571  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8572  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8573  // Please see the License for the specific language governing rights and
  8574  // limitations under the License.
  8575  //
  8576  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8577  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8578  //
  8579  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8580  //
  8581  // This file contains Original Code and/or Modifications of Original Code
  8582  // as defined in and that are subject to the Apple Public Source License
  8583  // Version 2.0 (the 'License'). You may not use this file except in
  8584  // compliance with the License. The rights granted to you under the License
  8585  // may not be used to create, or enable the creation or redistribution of,
  8586  // unlawful or unlicensed copies of an Apple operating system, or to
  8587  // circumvent, violate, or enable the circumvention or violation of, any
  8588  // terms of an Apple operating system software license agreement.
  8589  //
  8590  // Please obtain a copy of the License at
  8591  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8592  //
  8593  // The Original Code and all software distributed under the License are
  8594  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8595  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8596  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8597  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8598  // Please see the License for the specific language governing rights and
  8599  // limitations under the License.
  8600  //
  8601  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8602  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8603  //
  8604  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8605  //
  8606  // This file contains Original Code and/or Modifications of Original Code
  8607  // as defined in and that are subject to the Apple Public Source License
  8608  // Version 2.0 (the 'License'). You may not use this file except in
  8609  // compliance with the License. The rights granted to you under the License
  8610  // may not be used to create, or enable the creation or redistribution of,
  8611  // unlawful or unlicensed copies of an Apple operating system, or to
  8612  // circumvent, violate, or enable the circumvention or violation of, any
  8613  // terms of an Apple operating system software license agreement.
  8614  //
  8615  // Please obtain a copy of the License at
  8616  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8617  //
  8618  // The Original Code and all software distributed under the License are
  8619  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8620  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8621  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8622  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8623  // Please see the License for the specific language governing rights and
  8624  // limitations under the License.
  8625  //
  8626  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8627  
  8628  // Copyright (c) 2015 Apple Inc. All rights reserved.
  8629  //
  8630  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8631  //
  8632  // This file contains Original Code and/or Modifications of Original Code
  8633  // as defined in and that are subject to the Apple Public Source License
  8634  // Version 2.0 (the 'License'). You may not use this file except in
  8635  // compliance with the License. The rights granted to you under the License
  8636  // may not be used to create, or enable the creation or redistribution of,
  8637  // unlawful or unlicensed copies of an Apple operating system, or to
  8638  // circumvent, violate, or enable the circumvention or violation of, any
  8639  // terms of an Apple operating system software license agreement.
  8640  //
  8641  // Please obtain a copy of the License at
  8642  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8643  //
  8644  // The Original Code and all software distributed under the License are
  8645  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8646  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8647  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8648  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8649  // Please see the License for the specific language governing rights and
  8650  // limitations under the License.
  8651  //
  8652  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8653  
  8654  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  8655  //
  8656  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8657  //
  8658  // This file contains Original Code and/or Modifications of Original Code
  8659  // as defined in and that are subject to the Apple Public Source License
  8660  // Version 2.0 (the 'License'). You may not use this file except in
  8661  // compliance with the License. The rights granted to you under the License
  8662  // may not be used to create, or enable the creation or redistribution of,
  8663  // unlawful or unlicensed copies of an Apple operating system, or to
  8664  // circumvent, violate, or enable the circumvention or violation of, any
  8665  // terms of an Apple operating system software license agreement.
  8666  //
  8667  // Please obtain a copy of the License at
  8668  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8669  //
  8670  // The Original Code and all software distributed under the License are
  8671  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8672  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8673  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8674  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8675  // Please see the License for the specific language governing rights and
  8676  // limitations under the License.
  8677  //
  8678  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8679  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  8680  
  8681  type Timeval64 = struct {
  8682  	Ftv_sec  X__int64_t
  8683  	Ftv_usec X__int64_t
  8684  } /* _timeval64.h:34:1 */
  8685  
  8686  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8687  //
  8688  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8689  //
  8690  // This file contains Original Code and/or Modifications of Original Code
  8691  // as defined in and that are subject to the Apple Public Source License
  8692  // Version 2.0 (the 'License'). You may not use this file except in
  8693  // compliance with the License. The rights granted to you under the License
  8694  // may not be used to create, or enable the creation or redistribution of,
  8695  // unlawful or unlicensed copies of an Apple operating system, or to
  8696  // circumvent, violate, or enable the circumvention or violation of, any
  8697  // terms of an Apple operating system software license agreement.
  8698  //
  8699  // Please obtain a copy of the License at
  8700  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8701  //
  8702  // The Original Code and all software distributed under the License are
  8703  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8704  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8705  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8706  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8707  // Please see the License for the specific language governing rights and
  8708  // limitations under the License.
  8709  //
  8710  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8711  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8712  //
  8713  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8714  //
  8715  // This file contains Original Code and/or Modifications of Original Code
  8716  // as defined in and that are subject to the Apple Public Source License
  8717  // Version 2.0 (the 'License'). You may not use this file except in
  8718  // compliance with the License. The rights granted to you under the License
  8719  // may not be used to create, or enable the creation or redistribution of,
  8720  // unlawful or unlicensed copies of an Apple operating system, or to
  8721  // circumvent, violate, or enable the circumvention or violation of, any
  8722  // terms of an Apple operating system software license agreement.
  8723  //
  8724  // Please obtain a copy of the License at
  8725  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8726  //
  8727  // The Original Code and all software distributed under the License are
  8728  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8729  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8730  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8731  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8732  // Please see the License for the specific language governing rights and
  8733  // limitations under the License.
  8734  //
  8735  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8736  
  8737  // Structure used as a parameter by getitimer(2) and setitimer(2) system
  8738  // calls.
  8739  type Itimerval = struct {
  8740  	Fit_interval struct {
  8741  		Ftv_sec      X__darwin_time_t
  8742  		Ftv_usec     X__darwin_suseconds_t
  8743  		F__ccgo_pad1 [4]byte
  8744  	}
  8745  	Fit_value struct {
  8746  		Ftv_sec      X__darwin_time_t
  8747  		Ftv_usec     X__darwin_suseconds_t
  8748  		F__ccgo_pad1 [4]byte
  8749  	}
  8750  } /* time.h:91:1 */
  8751  
  8752  // Names of the interval timers, and structure
  8753  // defining a timer setting.
  8754  
  8755  // Select uses bit masks of file descriptors in longs.  These macros
  8756  // manipulate such bit fields (the filesystem macros use chars).  The
  8757  // extra protection here is to permit application redefinition above
  8758  // the default size.
  8759  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8760  //
  8761  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8762  //
  8763  // This file contains Original Code and/or Modifications of Original Code
  8764  // as defined in and that are subject to the Apple Public Source License
  8765  // Version 2.0 (the 'License'). You may not use this file except in
  8766  // compliance with the License. The rights granted to you under the License
  8767  // may not be used to create, or enable the creation or redistribution of,
  8768  // unlawful or unlicensed copies of an Apple operating system, or to
  8769  // circumvent, violate, or enable the circumvention or violation of, any
  8770  // terms of an Apple operating system software license agreement.
  8771  //
  8772  // Please obtain a copy of the License at
  8773  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8774  //
  8775  // The Original Code and all software distributed under the License are
  8776  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8777  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8778  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8779  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8780  // Please see the License for the specific language governing rights and
  8781  // limitations under the License.
  8782  //
  8783  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8784  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8785  //
  8786  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8787  //
  8788  // This file contains Original Code and/or Modifications of Original Code
  8789  // as defined in and that are subject to the Apple Public Source License
  8790  // Version 2.0 (the 'License'). You may not use this file except in
  8791  // compliance with the License. The rights granted to you under the License
  8792  // may not be used to create, or enable the creation or redistribution of,
  8793  // unlawful or unlicensed copies of an Apple operating system, or to
  8794  // circumvent, violate, or enable the circumvention or violation of, any
  8795  // terms of an Apple operating system software license agreement.
  8796  //
  8797  // Please obtain a copy of the License at
  8798  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8799  //
  8800  // The Original Code and all software distributed under the License are
  8801  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8802  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8803  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8804  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8805  // Please see the License for the specific language governing rights and
  8806  // limitations under the License.
  8807  //
  8808  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8809  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8810  //
  8811  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8812  //
  8813  // This file contains Original Code and/or Modifications of Original Code
  8814  // as defined in and that are subject to the Apple Public Source License
  8815  // Version 2.0 (the 'License'). You may not use this file except in
  8816  // compliance with the License. The rights granted to you under the License
  8817  // may not be used to create, or enable the creation or redistribution of,
  8818  // unlawful or unlicensed copies of an Apple operating system, or to
  8819  // circumvent, violate, or enable the circumvention or violation of, any
  8820  // terms of an Apple operating system software license agreement.
  8821  //
  8822  // Please obtain a copy of the License at
  8823  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8824  //
  8825  // The Original Code and all software distributed under the License are
  8826  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8827  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8828  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8829  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8830  // Please see the License for the specific language governing rights and
  8831  // limitations under the License.
  8832  //
  8833  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8834  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8835  //
  8836  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8837  //
  8838  // This file contains Original Code and/or Modifications of Original Code
  8839  // as defined in and that are subject to the Apple Public Source License
  8840  // Version 2.0 (the 'License'). You may not use this file except in
  8841  // compliance with the License. The rights granted to you under the License
  8842  // may not be used to create, or enable the creation or redistribution of,
  8843  // unlawful or unlicensed copies of an Apple operating system, or to
  8844  // circumvent, violate, or enable the circumvention or violation of, any
  8845  // terms of an Apple operating system software license agreement.
  8846  //
  8847  // Please obtain a copy of the License at
  8848  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8849  //
  8850  // The Original Code and all software distributed under the License are
  8851  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8852  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8853  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8854  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8855  // Please see the License for the specific language governing rights and
  8856  // limitations under the License.
  8857  //
  8858  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8859  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8860  //
  8861  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8862  //
  8863  // This file contains Original Code and/or Modifications of Original Code
  8864  // as defined in and that are subject to the Apple Public Source License
  8865  // Version 2.0 (the 'License'). You may not use this file except in
  8866  // compliance with the License. The rights granted to you under the License
  8867  // may not be used to create, or enable the creation or redistribution of,
  8868  // unlawful or unlicensed copies of an Apple operating system, or to
  8869  // circumvent, violate, or enable the circumvention or violation of, any
  8870  // terms of an Apple operating system software license agreement.
  8871  //
  8872  // Please obtain a copy of the License at
  8873  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8874  //
  8875  // The Original Code and all software distributed under the License are
  8876  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8877  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8878  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8879  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8880  // Please see the License for the specific language governing rights and
  8881  // limitations under the License.
  8882  //
  8883  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8884  
  8885  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8886  //
  8887  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8888  //
  8889  // This file contains Original Code and/or Modifications of Original Code
  8890  // as defined in and that are subject to the Apple Public Source License
  8891  // Version 2.0 (the 'License'). You may not use this file except in
  8892  // compliance with the License. The rights granted to you under the License
  8893  // may not be used to create, or enable the creation or redistribution of,
  8894  // unlawful or unlicensed copies of an Apple operating system, or to
  8895  // circumvent, violate, or enable the circumvention or violation of, any
  8896  // terms of an Apple operating system software license agreement.
  8897  //
  8898  // Please obtain a copy of the License at
  8899  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8900  //
  8901  // The Original Code and all software distributed under the License are
  8902  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8903  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8904  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8905  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8906  // Please see the License for the specific language governing rights and
  8907  // limitations under the License.
  8908  //
  8909  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8910  
  8911  type Timezone = struct {
  8912  	Ftz_minuteswest int32
  8913  	Ftz_dsttime     int32
  8914  } /* time.h:129:1 */
  8915  
  8916  // Operations on timevals.
  8917  
  8918  // Getkerninfo clock information structure
  8919  type Clockinfo = struct {
  8920  	Fhz      int32
  8921  	Ftick    int32
  8922  	Ftickadj int32
  8923  	Fstathz  int32
  8924  	Fprofhz  int32
  8925  } /* time.h:172:1 */
  8926  
  8927  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  8928  //
  8929  // @APPLE_LICENSE_HEADER_START@
  8930  //
  8931  // This file contains Original Code and/or Modifications of Original Code
  8932  // as defined in and that are subject to the Apple Public Source License
  8933  // Version 2.0 (the 'License'). You may not use this file except in
  8934  // compliance with the License. Please obtain a copy of the License at
  8935  // http://www.opensource.apple.com/apsl/ and read it before using this
  8936  // file.
  8937  //
  8938  // The Original Code and all software distributed under the License are
  8939  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8940  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8941  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8942  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8943  // Please see the License for the specific language governing rights and
  8944  // limitations under the License.
  8945  //
  8946  // @APPLE_LICENSE_HEADER_END@
  8947  // Copyright (c) 1989, 1993
  8948  //	The Regents of the University of California.  All rights reserved.
  8949  // (c) UNIX System Laboratories, Inc.
  8950  // All or some portions of this file are derived from material licensed
  8951  // to the University of California by American Telephone and Telegraph
  8952  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  8953  // the permission of UNIX System Laboratories, Inc.
  8954  //
  8955  // Redistribution and use in source and binary forms, with or without
  8956  // modification, are permitted provided that the following conditions
  8957  // are met:
  8958  // 1. Redistributions of source code must retain the above copyright
  8959  //    notice, this list of conditions and the following disclaimer.
  8960  // 2. Redistributions in binary form must reproduce the above copyright
  8961  //    notice, this list of conditions and the following disclaimer in the
  8962  //    documentation and/or other materials provided with the distribution.
  8963  // 3. All advertising materials mentioning features or use of this software
  8964  //    must display the following acknowledgement:
  8965  //	This product includes software developed by the University of
  8966  //	California, Berkeley and its contributors.
  8967  // 4. Neither the name of the University nor the names of its contributors
  8968  //    may be used to endorse or promote products derived from this software
  8969  //    without specific prior written permission.
  8970  //
  8971  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  8972  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  8973  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  8974  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  8975  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  8976  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  8977  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  8978  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  8979  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  8980  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  8981  // SUCH DAMAGE.
  8982  //
  8983  //	@(#)time.h	8.3 (Berkeley) 1/21/94
  8984  
  8985  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  8986  //
  8987  // @APPLE_LICENSE_HEADER_START@
  8988  //
  8989  // This file contains Original Code and/or Modifications of Original Code
  8990  // as defined in and that are subject to the Apple Public Source License
  8991  // Version 2.0 (the 'License'). You may not use this file except in
  8992  // compliance with the License. Please obtain a copy of the License at
  8993  // http://www.opensource.apple.com/apsl/ and read it before using this
  8994  // file.
  8995  //
  8996  // The Original Code and all software distributed under the License are
  8997  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8998  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8999  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9000  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9001  // Please see the License for the specific language governing rights and
  9002  // limitations under the License.
  9003  //
  9004  // @APPLE_LICENSE_HEADER_END@
  9005  
  9006  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  9007  //
  9008  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9009  //
  9010  // This file contains Original Code and/or Modifications of Original Code
  9011  // as defined in and that are subject to the Apple Public Source License
  9012  // Version 2.0 (the 'License'). You may not use this file except in
  9013  // compliance with the License. The rights granted to you under the License
  9014  // may not be used to create, or enable the creation or redistribution of,
  9015  // unlawful or unlicensed copies of an Apple operating system, or to
  9016  // circumvent, violate, or enable the circumvention or violation of, any
  9017  // terms of an Apple operating system software license agreement.
  9018  //
  9019  // Please obtain a copy of the License at
  9020  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9021  //
  9022  // The Original Code and all software distributed under the License are
  9023  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9024  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9025  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9026  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9027  // Please see the License for the specific language governing rights and
  9028  // limitations under the License.
  9029  //
  9030  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9031  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9032  // Copyright (c) 1991, 1993
  9033  //	The Regents of the University of California.  All rights reserved.
  9034  //
  9035  // This code is derived from software contributed to Berkeley by
  9036  // Berkeley Software Design, Inc.
  9037  //
  9038  // Redistribution and use in source and binary forms, with or without
  9039  // modification, are permitted provided that the following conditions
  9040  // are met:
  9041  // 1. Redistributions of source code must retain the above copyright
  9042  //    notice, this list of conditions and the following disclaimer.
  9043  // 2. Redistributions in binary form must reproduce the above copyright
  9044  //    notice, this list of conditions and the following disclaimer in the
  9045  //    documentation and/or other materials provided with the distribution.
  9046  // 3. All advertising materials mentioning features or use of this software
  9047  //    must display the following acknowledgement:
  9048  //	This product includes software developed by the University of
  9049  //	California, Berkeley and its contributors.
  9050  // 4. Neither the name of the University nor the names of its contributors
  9051  //    may be used to endorse or promote products derived from this software
  9052  //    without specific prior written permission.
  9053  //
  9054  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9055  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9056  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9057  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9058  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9059  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9060  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9061  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9062  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9063  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9064  // SUCH DAMAGE.
  9065  //
  9066  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  9067  
  9068  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  9069  //
  9070  // @APPLE_LICENSE_HEADER_START@
  9071  //
  9072  // This file contains Original Code and/or Modifications of Original Code
  9073  // as defined in and that are subject to the Apple Public Source License
  9074  // Version 2.0 (the 'License'). You may not use this file except in
  9075  // compliance with the License. Please obtain a copy of the License at
  9076  // http://www.opensource.apple.com/apsl/ and read it before using this
  9077  // file.
  9078  //
  9079  // The Original Code and all software distributed under the License are
  9080  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9081  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9082  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9083  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9084  // Please see the License for the specific language governing rights and
  9085  // limitations under the License.
  9086  //
  9087  // @APPLE_LICENSE_HEADER_END@
  9088  
  9089  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9090  //
  9091  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9092  //
  9093  // This file contains Original Code and/or Modifications of Original Code
  9094  // as defined in and that are subject to the Apple Public Source License
  9095  // Version 2.0 (the 'License'). You may not use this file except in
  9096  // compliance with the License. The rights granted to you under the License
  9097  // may not be used to create, or enable the creation or redistribution of,
  9098  // unlawful or unlicensed copies of an Apple operating system, or to
  9099  // circumvent, violate, or enable the circumvention or violation of, any
  9100  // terms of an Apple operating system software license agreement.
  9101  //
  9102  // Please obtain a copy of the License at
  9103  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9104  //
  9105  // The Original Code and all software distributed under the License are
  9106  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9107  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9108  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9109  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9110  // Please see the License for the specific language governing rights and
  9111  // limitations under the License.
  9112  //
  9113  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9114  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9115  //
  9116  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9117  //
  9118  // This file contains Original Code and/or Modifications of Original Code
  9119  // as defined in and that are subject to the Apple Public Source License
  9120  // Version 2.0 (the 'License'). You may not use this file except in
  9121  // compliance with the License. The rights granted to you under the License
  9122  // may not be used to create, or enable the creation or redistribution of,
  9123  // unlawful or unlicensed copies of an Apple operating system, or to
  9124  // circumvent, violate, or enable the circumvention or violation of, any
  9125  // terms of an Apple operating system software license agreement.
  9126  //
  9127  // Please obtain a copy of the License at
  9128  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9129  //
  9130  // The Original Code and all software distributed under the License are
  9131  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9132  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9133  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9134  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9135  // Please see the License for the specific language governing rights and
  9136  // limitations under the License.
  9137  //
  9138  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9139  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9140  //
  9141  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9142  //
  9143  // This file contains Original Code and/or Modifications of Original Code
  9144  // as defined in and that are subject to the Apple Public Source License
  9145  // Version 2.0 (the 'License'). You may not use this file except in
  9146  // compliance with the License. The rights granted to you under the License
  9147  // may not be used to create, or enable the creation or redistribution of,
  9148  // unlawful or unlicensed copies of an Apple operating system, or to
  9149  // circumvent, violate, or enable the circumvention or violation of, any
  9150  // terms of an Apple operating system software license agreement.
  9151  //
  9152  // Please obtain a copy of the License at
  9153  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9154  //
  9155  // The Original Code and all software distributed under the License are
  9156  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9157  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9158  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9159  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9160  // Please see the License for the specific language governing rights and
  9161  // limitations under the License.
  9162  //
  9163  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9164  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9165  //
  9166  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9167  //
  9168  // This file contains Original Code and/or Modifications of Original Code
  9169  // as defined in and that are subject to the Apple Public Source License
  9170  // Version 2.0 (the 'License'). You may not use this file except in
  9171  // compliance with the License. The rights granted to you under the License
  9172  // may not be used to create, or enable the creation or redistribution of,
  9173  // unlawful or unlicensed copies of an Apple operating system, or to
  9174  // circumvent, violate, or enable the circumvention or violation of, any
  9175  // terms of an Apple operating system software license agreement.
  9176  //
  9177  // Please obtain a copy of the License at
  9178  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9179  //
  9180  // The Original Code and all software distributed under the License are
  9181  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9182  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9183  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9184  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9185  // Please see the License for the specific language governing rights and
  9186  // limitations under the License.
  9187  //
  9188  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9189  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9190  //
  9191  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9192  //
  9193  // This file contains Original Code and/or Modifications of Original Code
  9194  // as defined in and that are subject to the Apple Public Source License
  9195  // Version 2.0 (the 'License'). You may not use this file except in
  9196  // compliance with the License. The rights granted to you under the License
  9197  // may not be used to create, or enable the creation or redistribution of,
  9198  // unlawful or unlicensed copies of an Apple operating system, or to
  9199  // circumvent, violate, or enable the circumvention or violation of, any
  9200  // terms of an Apple operating system software license agreement.
  9201  //
  9202  // Please obtain a copy of the License at
  9203  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9204  //
  9205  // The Original Code and all software distributed under the License are
  9206  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9207  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9208  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9209  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9210  // Please see the License for the specific language governing rights and
  9211  // limitations under the License.
  9212  //
  9213  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9214  
  9215  type Tm = struct {
  9216  	Ftm_sec      int32
  9217  	Ftm_min      int32
  9218  	Ftm_hour     int32
  9219  	Ftm_mday     int32
  9220  	Ftm_mon      int32
  9221  	Ftm_year     int32
  9222  	Ftm_wday     int32
  9223  	Ftm_yday     int32
  9224  	Ftm_isdst    int32
  9225  	F__ccgo_pad1 [4]byte
  9226  	Ftm_gmtoff   int64
  9227  	Ftm_zone     uintptr
  9228  } /* time.h:75:1 */
  9229  
  9230  type Clockid_t = uint32 /* time.h:172:3 */
  9231  
  9232  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  9233  //
  9234  // @APPLE_LICENSE_HEADER_START@
  9235  //
  9236  // This file contains Original Code and/or Modifications of Original Code
  9237  // as defined in and that are subject to the Apple Public Source License
  9238  // Version 2.0 (the 'License'). You may not use this file except in
  9239  // compliance with the License. Please obtain a copy of the License at
  9240  // http://www.opensource.apple.com/apsl/ and read it before using this
  9241  // file.
  9242  //
  9243  // The Original Code and all software distributed under the License are
  9244  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9245  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9246  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9247  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9248  // Please see the License for the specific language governing rights and
  9249  // limitations under the License.
  9250  //
  9251  // @APPLE_LICENSE_HEADER_END@
  9252  // Copyright (c) 1989, 1993
  9253  //	The Regents of the University of California.  All rights reserved.
  9254  // (c) UNIX System Laboratories, Inc.
  9255  // All or some portions of this file are derived from material licensed
  9256  // to the University of California by American Telephone and Telegraph
  9257  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  9258  // the permission of UNIX System Laboratories, Inc.
  9259  //
  9260  // Redistribution and use in source and binary forms, with or without
  9261  // modification, are permitted provided that the following conditions
  9262  // are met:
  9263  // 1. Redistributions of source code must retain the above copyright
  9264  //    notice, this list of conditions and the following disclaimer.
  9265  // 2. Redistributions in binary form must reproduce the above copyright
  9266  //    notice, this list of conditions and the following disclaimer in the
  9267  //    documentation and/or other materials provided with the distribution.
  9268  // 3. All advertising materials mentioning features or use of this software
  9269  //    must display the following acknowledgement:
  9270  //	This product includes software developed by the University of
  9271  //	California, Berkeley and its contributors.
  9272  // 4. Neither the name of the University nor the names of its contributors
  9273  //    may be used to endorse or promote products derived from this software
  9274  //    without specific prior written permission.
  9275  //
  9276  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9277  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9278  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9279  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9280  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9281  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9282  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9283  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9284  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9285  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9286  // SUCH DAMAGE.
  9287  //
  9288  //	@(#)time.h	8.3 (Berkeley) 1/21/94
  9289  
  9290  // define X_GETTIMEOFDAY macro, a portable gettimeofday()
  9291  
  9292  // use POSIX name for signal
  9293  
  9294  // Copyright 1997 Metro Link Incorporated
  9295  //
  9296  //                           All Rights Reserved
  9297  //
  9298  // Permission to use, copy, modify, distribute, and sell this software and its
  9299  // documentation for any purpose is hereby granted without fee, provided that
  9300  // the above copyright notice appear in all copies and that both that
  9301  // copyright notice and this permission notice appear in supporting
  9302  // documentation, and that the names of the above listed copyright holder(s)
  9303  // not be used in advertising or publicity pertaining to distribution of
  9304  // the software without specific, written prior permission.  The above listed
  9305  // copyright holder(s) make(s) no representations about the suitability of
  9306  // this software for any purpose.  It is provided "as is" without express or
  9307  // implied warranty.
  9308  //
  9309  // THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD
  9310  // TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9311  // AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
  9312  // LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
  9313  // DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
  9314  // IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  9315  // OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  9316  
  9317  // Determine the machine's byte order.
  9318  
  9319  // See if it is set in the imake config first
  9320  
  9321  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  9322  //
  9323  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9324  //
  9325  // This file contains Original Code and/or Modifications of Original Code
  9326  // as defined in and that are subject to the Apple Public Source License
  9327  // Version 2.0 (the 'License'). You may not use this file except in
  9328  // compliance with the License. The rights granted to you under the License
  9329  // may not be used to create, or enable the creation or redistribution of,
  9330  // unlawful or unlicensed copies of an Apple operating system, or to
  9331  // circumvent, violate, or enable the circumvention or violation of, any
  9332  // terms of an Apple operating system software license agreement.
  9333  //
  9334  // Please obtain a copy of the License at
  9335  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9336  //
  9337  // The Original Code and all software distributed under the License are
  9338  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9339  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9340  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9341  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9342  // Please see the License for the specific language governing rights and
  9343  // limitations under the License.
  9344  //
  9345  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9346  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9347  
  9348  // Definitions for the X window system likely to be used by applications
  9349  
  9350  //**********************************************************
  9351  //
  9352  // Copyright 1987, 1998  The Open Group
  9353  //
  9354  // Permission to use, copy, modify, distribute, and sell this software and its
  9355  // documentation for any purpose is hereby granted without fee, provided that
  9356  // the above copyright notice appear in all copies and that both that
  9357  // copyright notice and this permission notice appear in supporting
  9358  // documentation.
  9359  //
  9360  // The above copyright notice and this permission notice shall be included in
  9361  // all copies or substantial portions of the Software.
  9362  //
  9363  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  9364  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  9365  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  9366  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  9367  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  9368  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  9369  //
  9370  // Except as contained in this notice, the name of The Open Group shall not be
  9371  // used in advertising or otherwise to promote the sale, use or other dealings
  9372  // in this Software without prior written authorization from The Open Group.
  9373  //
  9374  //
  9375  // Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  9376  //
  9377  //                         All Rights Reserved
  9378  //
  9379  // Permission to use, copy, modify, and distribute this software and its
  9380  // documentation for any purpose and without fee is hereby granted,
  9381  // provided that the above copyright notice appear in all copies and that
  9382  // both that copyright notice and this permission notice appear in
  9383  // supporting documentation, and that the name of Digital not be
  9384  // used in advertising or publicity pertaining to distribution of the
  9385  // software without specific, written prior permission.
  9386  //
  9387  // DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  9388  // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  9389  // DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  9390  // ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  9391  // WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  9392  // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  9393  // SOFTWARE.
  9394  //
  9395  // *****************************************************************
  9396  
  9397  // Resources
  9398  
  9399  // _XSERVER64 must ONLY be defined when compiling X server sources on
  9400  // systems where unsigned long is not 32 bits, must NOT be used in
  9401  // client or library code.
  9402  type XID = uint64      /* X.h:66:23 */
  9403  type Mask = uint64     /* X.h:70:23 */
  9404  type Atom = uint64     /* X.h:74:23 */ // Also in Xdefs.h
  9405  type VisualID = uint64 /* X.h:76:23 */
  9406  type Time = uint64     /* X.h:77:23 */
  9407  
  9408  type Window = XID   /* X.h:96:13 */
  9409  type Drawable = XID /* X.h:97:13 */
  9410  type Font = XID     /* X.h:100:13 */
  9411  type Pixmap = XID   /* X.h:102:13 */
  9412  type Cursor = XID   /* X.h:103:13 */
  9413  type Colormap = XID /* X.h:104:13 */
  9414  type GContext = XID /* X.h:105:13 */
  9415  type KeySym = XID   /* X.h:106:13 */
  9416  
  9417  type KeyCode = uint8 /* X.h:108:23 */
  9418  
  9419  // ****************************************************************
  9420  //
  9421  // RESERVED RESOURCE AND CONSTANT DEFINITIONS
  9422  //
  9423  
  9424  // ****************************************************************
  9425  //
  9426  // EVENT DEFINITIONS
  9427  //
  9428  
  9429  // Input Event Masks. Used as event-mask window attribute and as arguments
  9430  //    to Grab requests.  Not to be confused with event names.
  9431  
  9432  // Event names.  Used in "type" field in XEvent structures.  Not to be
  9433  // confused with event masks above.  They start from 2 because 0 and 1
  9434  // are reserved in the protocol for errors and replies.
  9435  
  9436  // Key masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer,
  9437  //    state in various key-, mouse-, and button-related events.
  9438  
  9439  // modifier names.  Used to build a SetModifierMapping request or
  9440  //    to read a GetModifierMapping request.  These correspond to the
  9441  //    masks defined above.
  9442  
  9443  // button masks.  Used in same manner as Key masks above. Not to be confused
  9444  //    with button names below.
  9445  
  9446  // button names. Used as arguments to GrabButton and as detail in ButtonPress
  9447  //    and ButtonRelease events.  Not to be confused with button masks above.
  9448  //    Note that 0 is already defined above as "AnyButton".
  9449  
  9450  // Notify modes
  9451  
  9452  // Notify detail
  9453  
  9454  // Visibility notify
  9455  
  9456  // Circulation request
  9457  
  9458  // protocol families
  9459  
  9460  // authentication families not tied to a specific protocol
  9461  
  9462  // Property notification
  9463  
  9464  // Color Map notification
  9465  
  9466  // GrabPointer, GrabButton, GrabKeyboard, GrabKey Modes
  9467  
  9468  // GrabPointer, GrabKeyboard reply status
  9469  
  9470  // AllowEvents modes
  9471  
  9472  // Used in SetInputFocus, GetInputFocus
  9473  
  9474  // ****************************************************************
  9475  //
  9476  // ERROR CODES
  9477  //
  9478  
  9479  // ****************************************************************
  9480  //
  9481  // WINDOW DEFINITIONS
  9482  //
  9483  
  9484  // Window classes used by CreateWindow
  9485  // Note that CopyFromParent is already defined as 0 above
  9486  
  9487  // Window attributes for CreateWindow and ChangeWindowAttributes
  9488  
  9489  // ConfigureWindow structure
  9490  
  9491  // Bit Gravity
  9492  
  9493  // Window gravity + bit gravity above
  9494  
  9495  // Used in CreateWindow for backing-store hint
  9496  
  9497  // Used in GetWindowAttributes reply
  9498  
  9499  // Used in ChangeSaveSet
  9500  
  9501  // Used in ChangeCloseDownMode
  9502  
  9503  // Window stacking method (in configureWindow)
  9504  
  9505  // Circulation direction
  9506  
  9507  // Property modes
  9508  
  9509  // ****************************************************************
  9510  //
  9511  // GRAPHICS DEFINITIONS
  9512  //
  9513  
  9514  // graphics functions, as in GC.alu
  9515  
  9516  // LineStyle
  9517  
  9518  // capStyle
  9519  
  9520  // joinStyle
  9521  
  9522  // fillStyle
  9523  
  9524  // fillRule
  9525  
  9526  // subwindow mode
  9527  
  9528  // SetClipRectangles ordering
  9529  
  9530  // CoordinateMode for drawing routines
  9531  
  9532  // Polygon shapes
  9533  
  9534  // Arc modes for PolyFillArc
  9535  
  9536  // GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into
  9537  //    GC.stateChanges
  9538  
  9539  // ****************************************************************
  9540  //
  9541  // FONTS
  9542  //
  9543  
  9544  // used in QueryFont -- draw direction
  9545  
  9546  // ****************************************************************
  9547  //
  9548  //  IMAGING
  9549  //
  9550  
  9551  // ImageFormat -- PutImage, GetImage
  9552  
  9553  // ****************************************************************
  9554  //
  9555  //  COLOR MAP STUFF
  9556  //
  9557  
  9558  // For CreateColormap
  9559  
  9560  // Flags used in StoreNamedColor, StoreColors
  9561  
  9562  // ****************************************************************
  9563  //
  9564  // CURSOR STUFF
  9565  //
  9566  
  9567  // QueryBestSize Class
  9568  
  9569  // ****************************************************************
  9570  //
  9571  // KEYBOARD/POINTER STUFF
  9572  //
  9573  
  9574  // masks for ChangeKeyboardControl
  9575  
  9576  // ****************************************************************
  9577  //
  9578  // SCREEN SAVER STUFF
  9579  //
  9580  
  9581  // for ForceScreenSaver
  9582  
  9583  // ****************************************************************
  9584  //
  9585  // HOSTS AND CONNECTIONS
  9586  //
  9587  
  9588  // for ChangeHosts
  9589  
  9590  // for ChangeAccessControl
  9591  
  9592  // Display classes  used in opening the connection
  9593  // Note that the statically allocated ones are even numbered and the
  9594  // dynamically changeable ones are odd numbered
  9595  
  9596  // Byte order  used in imageByteOrder and bitmapBitOrder
  9597  
  9598  //**********************************************************
  9599  //
  9600  // Copyright 1987, 1998  The Open Group
  9601  //
  9602  // Permission to use, copy, modify, distribute, and sell this software and its
  9603  // documentation for any purpose is hereby granted without fee, provided that
  9604  // the above copyright notice appear in all copies and that both that
  9605  // copyright notice and this permission notice appear in supporting
  9606  // documentation.
  9607  //
  9608  // The above copyright notice and this permission notice shall be included in
  9609  // all copies or substantial portions of the Software.
  9610  //
  9611  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  9612  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  9613  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  9614  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  9615  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  9616  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  9617  //
  9618  // Except as contained in this notice, the name of The Open Group shall not be
  9619  // used in advertising or otherwise to promote the sale, use or other dealings
  9620  // in this Software without prior written authorization from The Open Group.
  9621  //
  9622  //
  9623  // Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  9624  //
  9625  //                         All Rights Reserved
  9626  //
  9627  // Permission to use, copy, modify, and distribute this software and its
  9628  // documentation for any purpose and without fee is hereby granted,
  9629  // provided that the above copyright notice appear in all copies and that
  9630  // both that copyright notice and this permission notice appear in
  9631  // supporting documentation, and that the name of Digital not be
  9632  // used in advertising or publicity pertaining to distribution of the
  9633  // software without specific, written prior permission.
  9634  //
  9635  // DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  9636  // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  9637  // DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  9638  // ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  9639  // WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  9640  // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  9641  // SOFTWARE.
  9642  //
  9643  // *****************************************************************
  9644  //  Xmd.h: MACHINE DEPENDENT DECLARATIONS.
  9645  
  9646  // Special per-machine configuration flags.
  9647  
  9648  // Definition of macro used to set constants for size of network structures;
  9649  // machines with preprocessors that can't handle all of the sz_ symbols
  9650  // can define this macro to be sizeof(x) if and only if their compiler doesn't
  9651  // pad out structures (esp. the xTextElt structure which contains only two
  9652  // one-byte fields).  Network structures should always define sz_symbols.
  9653  //
  9654  // The sz_ prefix is used instead of something more descriptive so that the
  9655  // symbols are no more than 32 characters long (which causes problems for some
  9656  // compilers and preprocessors).
  9657  //
  9658  // The extra indirection is to get macro arguments to expand correctly before
  9659  // the concatenation, rather than afterward.
  9660  
  9661  // Bitfield suffixes for the protocol structure elements, if you
  9662  // need them.  Note that bitfields are not guaranteed to be signed
  9663  // (or even unsigned) according to ANSI C.
  9664  type INT64 = int64 /* Xmd.h:101:14 */
  9665  type INT32 = int32 /* Xmd.h:102:13 */
  9666  type INT16 = int16 /* Xmd.h:106:15 */
  9667  
  9668  type INT8 = int8 /* Xmd.h:108:24 */
  9669  
  9670  type CARD64 = uint64 /* Xmd.h:111:23 */
  9671  type CARD32 = uint32 /* Xmd.h:112:22 */
  9672  type CARD16 = uint16 /* Xmd.h:117:24 */
  9673  type CARD8 = uint8   /* Xmd.h:118:24 */
  9674  
  9675  type BITS32 = CARD32 /* Xmd.h:120:17 */
  9676  type BITS16 = CARD16 /* Xmd.h:121:17 */
  9677  
  9678  type BYTE = CARD8 /* Xmd.h:123:16 */
  9679  type BOOL = CARD8 /* Xmd.h:124:16 */
  9680  
  9681  // was definitions for sign-extending bitfields on architectures without
  9682  // native types smaller than 64-bit, now just backwards compatibility
  9683  
  9684  // this version should leave result of type (t *), but that should only be
  9685  // used when not in MUSTCOPY
  9686  
  9687  // Copyright 1989 Network Computing Devices, Inc., Mountain View, California.
  9688  //
  9689  // Permission to use, copy, modify, and distribute this software and its
  9690  // documentation for any purpose and without fee is hereby granted, provided
  9691  // that the above copyright notice appear in all copies and that both that
  9692  // copyright notice and this permission notice appear in supporting
  9693  // documentation, and that the name of N.C.D. not be used in advertising or
  9694  // publicity pertaining to distribution of the software without specific,
  9695  // written prior permission.  N.C.D. makes no representations about the
  9696  // suitability of this software for any purpose.  It is provided "as is"
  9697  // without express or implied warranty.
  9698  //
  9699  
  9700  //**********************************************************
  9701  //
  9702  // Copyright 1987, 1998  The Open Group
  9703  //
  9704  // Permission to use, copy, modify, distribute, and sell this software and its
  9705  // documentation for any purpose is hereby granted without fee, provided that
  9706  // the above copyright notice appear in all copies and that both that
  9707  // copyright notice and this permission notice appear in supporting
  9708  // documentation.
  9709  //
  9710  // The above copyright notice and this permission notice shall be included in
  9711  // all copies or substantial portions of the Software.
  9712  //
  9713  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  9714  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  9715  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  9716  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  9717  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  9718  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  9719  //
  9720  // Except as contained in this notice, the name of The Open Group shall not be
  9721  // used in advertising or otherwise to promote the sale, use or other dealings
  9722  // in this Software without prior written authorization from The Open Group.
  9723  //
  9724  //
  9725  // Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  9726  //
  9727  //                         All Rights Reserved
  9728  //
  9729  // Permission to use, copy, modify, and distribute this software and its
  9730  // documentation for any purpose and without fee is hereby granted,
  9731  // provided that the above copyright notice appear in all copies and that
  9732  // both that copyright notice and this permission notice appear in
  9733  // supporting documentation, and that the name of Digital not be
  9734  // used in advertising or publicity pertaining to distribution of the
  9735  // software without specific, written prior permission.
  9736  //
  9737  // DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  9738  // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  9739  // DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  9740  // ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  9741  // WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  9742  // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  9743  // SOFTWARE.
  9744  //
  9745  // *****************************************************************
  9746  
  9747  //
  9748  //
  9749  // Copyright 1989, 1991, 1998  The Open Group
  9750  //
  9751  // Permission to use, copy, modify, distribute, and sell this software and its
  9752  // documentation for any purpose is hereby granted without fee, provided that
  9753  // the above copyright notice appear in all copies and that both that
  9754  // copyright notice and this permission notice appear in supporting
  9755  // documentation.
  9756  //
  9757  // The above copyright notice and this permission notice shall be included in
  9758  // all copies or substantial portions of the Software.
  9759  //
  9760  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  9761  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  9762  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  9763  // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  9764  // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  9765  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  9766  //
  9767  // Except as contained in this notice, the name of The Open Group shall not be
  9768  // used in advertising or otherwise to promote the sale, use or other dealings
  9769  // in this Software without prior written authorization from The Open Group.
  9770  //  *
  9771  //
  9772  
  9773  // Definitions to make function prototypes manageable
  9774  
  9775  // Function prototype configuration (see configure for more info)
  9776  
  9777  // http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute
  9778  
  9779  // Added in X11R6.9, so available in any version of modular xproto
  9780  
  9781  // Added in X11R6.9, so available in any version of modular xproto
  9782  
  9783  // Branch prediction hints for individual conditionals
  9784  // requires xproto >= 7.0.9
  9785  
  9786  // Bulk branch prediction hints via marking error path functions as "cold"
  9787  // requires xproto >= 7.0.25
  9788  
  9789  // Added in X11R6.9, so available in any version of modular xproto
  9790  
  9791  // requires xproto >= 7.0.30
  9792  
  9793  // requires xproto >= 7.0.17
  9794  
  9795  // Added in X11R6.9, so available in any version of modular xproto
  9796  
  9797  // requires xproto >= 7.0.22 - since this uses either gcc or C99 variable
  9798  //    argument macros, must be only used inside #ifdef _X_NONNULL guards, as
  9799  //    many legacy X clients are compiled in C89 mode still.
  9800  
  9801  // requires xproto >= 7.0.22
  9802  
  9803  // C99 keyword "inline" or equivalent extensions in pre-C99 compilers
  9804  // requires xproto >= 7.0.9
  9805  //    (introduced in 7.0.8 but didn't support all compilers until 7.0.9)
  9806  
  9807  // C99 keyword "restrict" or equivalent extensions in pre-C99 compilers
  9808  // requires xproto >= 7.0.21
  9809  
  9810  // requires xproto >= 7.0.30
  9811  
  9812  // Mark a char array/pointer as not containing a NUL-terminated string
  9813  // requires xproto >= 7.0.33
  9814  
  9815  // IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
  9816  // multicast addresses for XDMCP, where X in the prefix may be replaced
  9817  // by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
  9818  // 5 for Site-Local, and so on.  We set the default here to the Link-Local
  9819  // version to most closely match the old IPv4 subnet broadcast behavior.
  9820  // Both xdm and X -query allow specifying a different address if a different
  9821  // scope is defined.
  9822  
  9823  type XdmOpCode = uint32 /* Xdmcp.h:50:3 */
  9824  
  9825  type Xdmcp_states = uint32 /* Xdmcp.h:62:3 */
  9826  
  9827  type CARD8Ptr = uintptr  /* Xdmcp.h:76:15 */
  9828  type CARD16Ptr = uintptr /* Xdmcp.h:77:16 */
  9829  type CARD32Ptr = uintptr /* Xdmcp.h:78:16 */
  9830  
  9831  type X_ARRAY8 = struct {
  9832  	Flength      CARD16
  9833  	F__ccgo_pad1 [6]byte
  9834  	Fdata        CARD8Ptr
  9835  } /* Xdmcp.h:80:9 */
  9836  
  9837  type ARRAY8 = X_ARRAY8   /* Xdmcp.h:83:3 */
  9838  type ARRAY8Ptr = uintptr /* Xdmcp.h:83:11 */
  9839  
  9840  type X_ARRAY16 = struct {
  9841  	Flength      CARD8
  9842  	F__ccgo_pad1 [7]byte
  9843  	Fdata        CARD16Ptr
  9844  } /* Xdmcp.h:85:9 */
  9845  
  9846  type ARRAY16 = X_ARRAY16  /* Xdmcp.h:88:3 */
  9847  type ARRAY16Ptr = uintptr /* Xdmcp.h:88:12 */
  9848  
  9849  type X_ARRAY32 = struct {
  9850  	Flength      CARD8
  9851  	F__ccgo_pad1 [7]byte
  9852  	Fdata        CARD32Ptr
  9853  } /* Xdmcp.h:90:9 */
  9854  
  9855  type ARRAY32 = X_ARRAY32  /* Xdmcp.h:93:3 */
  9856  type ARRAY32Ptr = uintptr /* Xdmcp.h:93:12 */
  9857  
  9858  type X_ARRAYofARRAY8 = struct {
  9859  	Flength      CARD8
  9860  	F__ccgo_pad1 [7]byte
  9861  	Fdata        ARRAY8Ptr
  9862  } /* Xdmcp.h:95:9 */
  9863  
  9864  type ARRAYofARRAY8 = X_ARRAYofARRAY8 /* Xdmcp.h:98:3 */
  9865  type ARRAYofARRAY8Ptr = uintptr      /* Xdmcp.h:98:18 */
  9866  
  9867  type X_XdmcpHeader = struct {
  9868  	Fversion CARD16
  9869  	Fopcode  CARD16
  9870  	Flength  CARD16
  9871  } /* Xdmcp.h:100:9 */
  9872  
  9873  type XdmcpHeader = X_XdmcpHeader /* Xdmcp.h:102:3 */
  9874  type XdmcpHeaderPtr = uintptr    /* Xdmcp.h:102:16 */
  9875  
  9876  type X_XdmcpBuffer = struct {
  9877  	Fdata        uintptr
  9878  	Fsize        int32
  9879  	Fpointer     int32
  9880  	Fcount       int32
  9881  	F__ccgo_pad1 [4]byte
  9882  } /* Xdmcp.h:104:9 */
  9883  
  9884  type XdmcpBuffer = X_XdmcpBuffer /* Xdmcp.h:109:3 */
  9885  type XdmcpBufferPtr = uintptr    /* Xdmcp.h:109:16 */
  9886  
  9887  type X_XdmAuthKey = struct{ Fdata [8]BYTE } /* Xdmcp.h:111:9 */
  9888  
  9889  type XdmAuthKeyRec = X_XdmAuthKey /* Xdmcp.h:113:3 */
  9890  type XdmAuthKeyPtr = uintptr      /* Xdmcp.h:113:18 */
  9891  
  9892  // implementation-independent network address structure.
  9893  //    Equiv to sockaddr* for sockets.
  9894  
  9895  type XdmcpNetaddr = uintptr /* Xdmcp.h:119:14 */
  9896  
  9897  //  DO NOT EDIT THIS FILE.
  9898  //
  9899  //     It has been auto-edited by fixincludes from:
  9900  //
  9901  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h"
  9902  //
  9903  //     This had to be done to correct non-standard usages in the
  9904  //     original, manufacturer supplied header file.
  9905  
  9906  // Copyright (c) 2000-2010 Apple Inc.
  9907  // All rights reserved.
  9908  
  9909  // from ISO/IEC 988:1999 spec
  9910  
  9911  // 7.18.1.1 Exact-width integer types
  9912  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9913  //
  9914  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9915  //
  9916  // This file contains Original Code and/or Modifications of Original Code
  9917  // as defined in and that are subject to the Apple Public Source License
  9918  // Version 2.0 (the 'License'). You may not use this file except in
  9919  // compliance with the License. The rights granted to you under the License
  9920  // may not be used to create, or enable the creation or redistribution of,
  9921  // unlawful or unlicensed copies of an Apple operating system, or to
  9922  // circumvent, violate, or enable the circumvention or violation of, any
  9923  // terms of an Apple operating system software license agreement.
  9924  //
  9925  // Please obtain a copy of the License at
  9926  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9927  //
  9928  // The Original Code and all software distributed under the License are
  9929  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9930  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9931  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9932  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9933  // Please see the License for the specific language governing rights and
  9934  // limitations under the License.
  9935  //
  9936  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9937  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9938  //
  9939  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9940  //
  9941  // This file contains Original Code and/or Modifications of Original Code
  9942  // as defined in and that are subject to the Apple Public Source License
  9943  // Version 2.0 (the 'License'). You may not use this file except in
  9944  // compliance with the License. The rights granted to you under the License
  9945  // may not be used to create, or enable the creation or redistribution of,
  9946  // unlawful or unlicensed copies of an Apple operating system, or to
  9947  // circumvent, violate, or enable the circumvention or violation of, any
  9948  // terms of an Apple operating system software license agreement.
  9949  //
  9950  // Please obtain a copy of the License at
  9951  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9952  //
  9953  // The Original Code and all software distributed under the License are
  9954  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9955  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9956  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9957  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9958  // Please see the License for the specific language governing rights and
  9959  // limitations under the License.
  9960  //
  9961  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9962  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9963  //
  9964  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9965  //
  9966  // This file contains Original Code and/or Modifications of Original Code
  9967  // as defined in and that are subject to the Apple Public Source License
  9968  // Version 2.0 (the 'License'). You may not use this file except in
  9969  // compliance with the License. The rights granted to you under the License
  9970  // may not be used to create, or enable the creation or redistribution of,
  9971  // unlawful or unlicensed copies of an Apple operating system, or to
  9972  // circumvent, violate, or enable the circumvention or violation of, any
  9973  // terms of an Apple operating system software license agreement.
  9974  //
  9975  // Please obtain a copy of the License at
  9976  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9977  //
  9978  // The Original Code and all software distributed under the License are
  9979  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9980  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9981  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9982  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9983  // Please see the License for the specific language governing rights and
  9984  // limitations under the License.
  9985  //
  9986  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9987  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9988  //
  9989  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9990  //
  9991  // This file contains Original Code and/or Modifications of Original Code
  9992  // as defined in and that are subject to the Apple Public Source License
  9993  // Version 2.0 (the 'License'). You may not use this file except in
  9994  // compliance with the License. The rights granted to you under the License
  9995  // may not be used to create, or enable the creation or redistribution of,
  9996  // unlawful or unlicensed copies of an Apple operating system, or to
  9997  // circumvent, violate, or enable the circumvention or violation of, any
  9998  // terms of an Apple operating system software license agreement.
  9999  //
 10000  // Please obtain a copy of the License at
 10001  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10002  //
 10003  // The Original Code and all software distributed under the License are
 10004  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10005  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10006  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10007  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10008  // Please see the License for the specific language governing rights and
 10009  // limitations under the License.
 10010  //
 10011  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10012  
 10013  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10014  //
 10015  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10016  //
 10017  // This file contains Original Code and/or Modifications of Original Code
 10018  // as defined in and that are subject to the Apple Public Source License
 10019  // Version 2.0 (the 'License'). You may not use this file except in
 10020  // compliance with the License. The rights granted to you under the License
 10021  // may not be used to create, or enable the creation or redistribution of,
 10022  // unlawful or unlicensed copies of an Apple operating system, or to
 10023  // circumvent, violate, or enable the circumvention or violation of, any
 10024  // terms of an Apple operating system software license agreement.
 10025  //
 10026  // Please obtain a copy of the License at
 10027  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10028  //
 10029  // The Original Code and all software distributed under the License are
 10030  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10031  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10032  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10033  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10034  // Please see the License for the specific language governing rights and
 10035  // limitations under the License.
 10036  //
 10037  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10038  
 10039  type Uint8_t = uint8 /* _uint8_t.h:31:23 */
 10040  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10041  //
 10042  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10043  //
 10044  // This file contains Original Code and/or Modifications of Original Code
 10045  // as defined in and that are subject to the Apple Public Source License
 10046  // Version 2.0 (the 'License'). You may not use this file except in
 10047  // compliance with the License. The rights granted to you under the License
 10048  // may not be used to create, or enable the creation or redistribution of,
 10049  // unlawful or unlicensed copies of an Apple operating system, or to
 10050  // circumvent, violate, or enable the circumvention or violation of, any
 10051  // terms of an Apple operating system software license agreement.
 10052  //
 10053  // Please obtain a copy of the License at
 10054  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10055  //
 10056  // The Original Code and all software distributed under the License are
 10057  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10058  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10059  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10060  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10061  // Please see the License for the specific language governing rights and
 10062  // limitations under the License.
 10063  //
 10064  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10065  
 10066  type Uint16_t = uint16 /* _uint16_t.h:31:24 */
 10067  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10068  //
 10069  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10070  //
 10071  // This file contains Original Code and/or Modifications of Original Code
 10072  // as defined in and that are subject to the Apple Public Source License
 10073  // Version 2.0 (the 'License'). You may not use this file except in
 10074  // compliance with the License. The rights granted to you under the License
 10075  // may not be used to create, or enable the creation or redistribution of,
 10076  // unlawful or unlicensed copies of an Apple operating system, or to
 10077  // circumvent, violate, or enable the circumvention or violation of, any
 10078  // terms of an Apple operating system software license agreement.
 10079  //
 10080  // Please obtain a copy of the License at
 10081  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10082  //
 10083  // The Original Code and all software distributed under the License are
 10084  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10085  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10086  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10087  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10088  // Please see the License for the specific language governing rights and
 10089  // limitations under the License.
 10090  //
 10091  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10092  
 10093  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10094  //
 10095  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10096  //
 10097  // This file contains Original Code and/or Modifications of Original Code
 10098  // as defined in and that are subject to the Apple Public Source License
 10099  // Version 2.0 (the 'License'). You may not use this file except in
 10100  // compliance with the License. The rights granted to you under the License
 10101  // may not be used to create, or enable the creation or redistribution of,
 10102  // unlawful or unlicensed copies of an Apple operating system, or to
 10103  // circumvent, violate, or enable the circumvention or violation of, any
 10104  // terms of an Apple operating system software license agreement.
 10105  //
 10106  // Please obtain a copy of the License at
 10107  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10108  //
 10109  // The Original Code and all software distributed under the License are
 10110  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10111  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10112  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10113  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10114  // Please see the License for the specific language governing rights and
 10115  // limitations under the License.
 10116  //
 10117  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10118  
 10119  // 7.18.1.2 Minimum-width integer types
 10120  type Int_least8_t = Int8_t     /* stdint.h:38:26 */
 10121  type Int_least16_t = Int16_t   /* stdint.h:39:25 */
 10122  type Int_least32_t = Int32_t   /* stdint.h:40:25 */
 10123  type Int_least64_t = Int64_t   /* stdint.h:41:25 */
 10124  type Uint_least8_t = Uint8_t   /* stdint.h:42:25 */
 10125  type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
 10126  type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
 10127  type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
 10128  
 10129  // 7.18.1.3 Fastest-width integer types
 10130  type Int_fast8_t = Int8_t     /* stdint.h:49:27 */
 10131  type Int_fast16_t = Int16_t   /* stdint.h:50:26 */
 10132  type Int_fast32_t = Int32_t   /* stdint.h:51:26 */
 10133  type Int_fast64_t = Int64_t   /* stdint.h:52:26 */
 10134  type Uint_fast8_t = Uint8_t   /* stdint.h:53:26 */
 10135  type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
 10136  type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
 10137  type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
 10138  
 10139  // 7.18.1.4 Integer types capable of holding object pointers
 10140  
 10141  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 10142  //
 10143  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10144  //
 10145  // This file contains Original Code and/or Modifications of Original Code
 10146  // as defined in and that are subject to the Apple Public Source License
 10147  // Version 2.0 (the 'License'). You may not use this file except in
 10148  // compliance with the License. The rights granted to you under the License
 10149  // may not be used to create, or enable the creation or redistribution of,
 10150  // unlawful or unlicensed copies of an Apple operating system, or to
 10151  // circumvent, violate, or enable the circumvention or violation of, any
 10152  // terms of an Apple operating system software license agreement.
 10153  //
 10154  // Please obtain a copy of the License at
 10155  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10156  //
 10157  // The Original Code and all software distributed under the License are
 10158  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10159  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10160  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10161  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10162  // Please see the License for the specific language governing rights and
 10163  // limitations under the License.
 10164  //
 10165  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10166  
 10167  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10168  //
 10169  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10170  //
 10171  // This file contains Original Code and/or Modifications of Original Code
 10172  // as defined in and that are subject to the Apple Public Source License
 10173  // Version 2.0 (the 'License'). You may not use this file except in
 10174  // compliance with the License. The rights granted to you under the License
 10175  // may not be used to create, or enable the creation or redistribution of,
 10176  // unlawful or unlicensed copies of an Apple operating system, or to
 10177  // circumvent, violate, or enable the circumvention or violation of, any
 10178  // terms of an Apple operating system software license agreement.
 10179  //
 10180  // Please obtain a copy of the License at
 10181  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10182  //
 10183  // The Original Code and all software distributed under the License are
 10184  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10185  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10186  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10187  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10188  // Please see the License for the specific language governing rights and
 10189  // limitations under the License.
 10190  //
 10191  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10192  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10193  //
 10194  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10195  //
 10196  // This file contains Original Code and/or Modifications of Original Code
 10197  // as defined in and that are subject to the Apple Public Source License
 10198  // Version 2.0 (the 'License'). You may not use this file except in
 10199  // compliance with the License. The rights granted to you under the License
 10200  // may not be used to create, or enable the creation or redistribution of,
 10201  // unlawful or unlicensed copies of an Apple operating system, or to
 10202  // circumvent, violate, or enable the circumvention or violation of, any
 10203  // terms of an Apple operating system software license agreement.
 10204  //
 10205  // Please obtain a copy of the License at
 10206  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10207  //
 10208  // The Original Code and all software distributed under the License are
 10209  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10210  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10211  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10212  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10213  // Please see the License for the specific language governing rights and
 10214  // limitations under the License.
 10215  //
 10216  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10217  
 10218  // 7.18.1.5 Greatest-width integer types
 10219  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10220  //
 10221  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10222  //
 10223  // This file contains Original Code and/or Modifications of Original Code
 10224  // as defined in and that are subject to the Apple Public Source License
 10225  // Version 2.0 (the 'License'). You may not use this file except in
 10226  // compliance with the License. The rights granted to you under the License
 10227  // may not be used to create, or enable the creation or redistribution of,
 10228  // unlawful or unlicensed copies of an Apple operating system, or to
 10229  // circumvent, violate, or enable the circumvention or violation of, any
 10230  // terms of an Apple operating system software license agreement.
 10231  //
 10232  // Please obtain a copy of the License at
 10233  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10234  //
 10235  // The Original Code and all software distributed under the License are
 10236  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10237  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10238  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10239  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10240  // Please see the License for the specific language governing rights and
 10241  // limitations under the License.
 10242  //
 10243  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10244  
 10245  type Intmax_t = int64 /* _intmax_t.h:32:25 */
 10246  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10247  //
 10248  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10249  //
 10250  // This file contains Original Code and/or Modifications of Original Code
 10251  // as defined in and that are subject to the Apple Public Source License
 10252  // Version 2.0 (the 'License'). You may not use this file except in
 10253  // compliance with the License. The rights granted to you under the License
 10254  // may not be used to create, or enable the creation or redistribution of,
 10255  // unlawful or unlicensed copies of an Apple operating system, or to
 10256  // circumvent, violate, or enable the circumvention or violation of, any
 10257  // terms of an Apple operating system software license agreement.
 10258  //
 10259  // Please obtain a copy of the License at
 10260  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10261  //
 10262  // The Original Code and all software distributed under the License are
 10263  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10264  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10265  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10266  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10267  // Please see the License for the specific language governing rights and
 10268  // limitations under the License.
 10269  //
 10270  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10271  
 10272  type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
 10273  
 10274  // 7.18.4 Macros for integer constants
 10275  
 10276  // 7.18.2 Limits of specified-width integer types:
 10277  //   These #defines specify the minimum and maximum limits
 10278  //   of each of the types declared above.
 10279  //
 10280  //   They must have "the same type as would an expression that is an
 10281  //   object of the corresponding type converted according to the integer
 10282  //   promotion".
 10283  
 10284  // 7.18.2.1 Limits of exact-width integer types
 10285  
 10286  //
 10287  //       Note:  the literal "most negative int" cannot be written in C --
 10288  //       the rules in the standard (section 6.4.4.1 in C99) will give it
 10289  //       an unsigned type, so INT32_MIN (and the most negative member of
 10290  //       any larger signed type) must be written via a constant expression.
 10291  //
 10292  
 10293  // 7.18.2.2 Limits of minimum-width integer types
 10294  
 10295  // 7.18.2.3 Limits of fastest minimum-width integer types
 10296  
 10297  // 7.18.2.4 Limits of integer types capable of holding object pointers
 10298  
 10299  // 7.18.2.5 Limits of greatest-width integer types
 10300  
 10301  // 7.18.3 "Other"
 10302  
 10303  // WCHAR_MIN should be 0 if wchar_t is an unsigned type and
 10304  //    (-WCHAR_MAX-1) if wchar_t is a signed type.  Unfortunately,
 10305  //    it turns out that -fshort-wchar changes the signedness of
 10306  //    the type.
 10307  
 10308  // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
 10309  //
 10310  // @APPLE_LICENSE_HEADER_START@
 10311  //
 10312  // This file contains Original Code and/or Modifications of Original Code
 10313  // as defined in and that are subject to the Apple Public Source License
 10314  // Version 2.0 (the 'License'). You may not use this file except in
 10315  // compliance with the License. Please obtain a copy of the License at
 10316  // http://www.opensource.apple.com/apsl/ and read it before using this
 10317  // file.
 10318  //
 10319  // The Original Code and all software distributed under the License are
 10320  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10321  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10322  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10323  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10324  // Please see the License for the specific language governing rights and
 10325  // limitations under the License.
 10326  //
 10327  // @APPLE_LICENSE_HEADER_END@
 10328  // -
 10329  // Copyright (c) 1990, 1993
 10330  //	The Regents of the University of California.  All rights reserved.
 10331  //
 10332  // Redistribution and use in source and binary forms, with or without
 10333  // modification, are permitted provided that the following conditions
 10334  // are met:
 10335  // 1. Redistributions of source code must retain the above copyright
 10336  //    notice, this list of conditions and the following disclaimer.
 10337  // 2. Redistributions in binary form must reproduce the above copyright
 10338  //    notice, this list of conditions and the following disclaimer in the
 10339  //    documentation and/or other materials provided with the distribution.
 10340  // 3. All advertising materials mentioning features or use of this software
 10341  //    must display the following acknowledgement:
 10342  //	This product includes software developed by the University of
 10343  //	California, Berkeley and its contributors.
 10344  // 4. Neither the name of the University nor the names of its contributors
 10345  //    may be used to endorse or promote products derived from this software
 10346  //    without specific prior written permission.
 10347  //
 10348  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10349  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10350  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10351  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10352  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10353  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10354  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10355  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10356  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10357  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10358  // SUCH DAMAGE.
 10359  //
 10360  //	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
 10361  
 10362  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
 10363  //
 10364  // @APPLE_LICENSE_HEADER_START@
 10365  //
 10366  // This file contains Original Code and/or Modifications of Original Code
 10367  // as defined in and that are subject to the Apple Public Source License
 10368  // Version 2.0 (the 'License'). You may not use this file except in
 10369  // compliance with the License. Please obtain a copy of the License at
 10370  // http://www.opensource.apple.com/apsl/ and read it before using this
 10371  // file.
 10372  //
 10373  // The Original Code and all software distributed under the License are
 10374  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10375  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10376  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10377  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10378  // Please see the License for the specific language governing rights and
 10379  // limitations under the License.
 10380  //
 10381  // @APPLE_LICENSE_HEADER_END@
 10382  
 10383  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 10384  //
 10385  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10386  //
 10387  // This file contains Original Code and/or Modifications of Original Code
 10388  // as defined in and that are subject to the Apple Public Source License
 10389  // Version 2.0 (the 'License'). You may not use this file except in
 10390  // compliance with the License. The rights granted to you under the License
 10391  // may not be used to create, or enable the creation or redistribution of,
 10392  // unlawful or unlicensed copies of an Apple operating system, or to
 10393  // circumvent, violate, or enable the circumvention or violation of, any
 10394  // terms of an Apple operating system software license agreement.
 10395  //
 10396  // Please obtain a copy of the License at
 10397  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10398  //
 10399  // The Original Code and all software distributed under the License are
 10400  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10401  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10402  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10403  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10404  // Please see the License for the specific language governing rights and
 10405  // limitations under the License.
 10406  //
 10407  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10408  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 10409  // Copyright (c) 1991, 1993
 10410  //	The Regents of the University of California.  All rights reserved.
 10411  //
 10412  // This code is derived from software contributed to Berkeley by
 10413  // Berkeley Software Design, Inc.
 10414  //
 10415  // Redistribution and use in source and binary forms, with or without
 10416  // modification, are permitted provided that the following conditions
 10417  // are met:
 10418  // 1. Redistributions of source code must retain the above copyright
 10419  //    notice, this list of conditions and the following disclaimer.
 10420  // 2. Redistributions in binary form must reproduce the above copyright
 10421  //    notice, this list of conditions and the following disclaimer in the
 10422  //    documentation and/or other materials provided with the distribution.
 10423  // 3. All advertising materials mentioning features or use of this software
 10424  //    must display the following acknowledgement:
 10425  //	This product includes software developed by the University of
 10426  //	California, Berkeley and its contributors.
 10427  // 4. Neither the name of the University nor the names of its contributors
 10428  //    may be used to endorse or promote products derived from this software
 10429  //    without specific prior written permission.
 10430  //
 10431  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10432  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10433  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10434  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10435  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10436  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10437  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10438  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10439  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10440  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10441  // SUCH DAMAGE.
 10442  //
 10443  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 10444  
 10445  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
 10446  //
 10447  // @APPLE_LICENSE_HEADER_START@
 10448  //
 10449  // This file contains Original Code and/or Modifications of Original Code
 10450  // as defined in and that are subject to the Apple Public Source License
 10451  // Version 2.0 (the 'License'). You may not use this file except in
 10452  // compliance with the License. Please obtain a copy of the License at
 10453  // http://www.opensource.apple.com/apsl/ and read it before using this
 10454  // file.
 10455  //
 10456  // The Original Code and all software distributed under the License are
 10457  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10458  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10459  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10460  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10461  // Please see the License for the specific language governing rights and
 10462  // limitations under the License.
 10463  //
 10464  // @APPLE_LICENSE_HEADER_END@
 10465  
 10466  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
 10467  //
 10468  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10469  //
 10470  // This file contains Original Code and/or Modifications of Original Code
 10471  // as defined in and that are subject to the Apple Public Source License
 10472  // Version 2.0 (the 'License'). You may not use this file except in
 10473  // compliance with the License. The rights granted to you under the License
 10474  // may not be used to create, or enable the creation or redistribution of,
 10475  // unlawful or unlicensed copies of an Apple operating system, or to
 10476  // circumvent, violate, or enable the circumvention or violation of, any
 10477  // terms of an Apple operating system software license agreement.
 10478  //
 10479  // Please obtain a copy of the License at
 10480  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10481  //
 10482  // The Original Code and all software distributed under the License are
 10483  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10484  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10485  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10486  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10487  // Please see the License for the specific language governing rights and
 10488  // limitations under the License.
 10489  //
 10490  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10491  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
 10492  // Copyright (c) 1982, 1986, 1989, 1993, 1994
 10493  //	The Regents of the University of California.  All rights reserved.
 10494  //
 10495  // Redistribution and use in source and binary forms, with or without
 10496  // modification, are permitted provided that the following conditions
 10497  // are met:
 10498  // 1. Redistributions of source code must retain the above copyright
 10499  //    notice, this list of conditions and the following disclaimer.
 10500  // 2. Redistributions in binary form must reproduce the above copyright
 10501  //    notice, this list of conditions and the following disclaimer in the
 10502  //    documentation and/or other materials provided with the distribution.
 10503  // 3. All advertising materials mentioning features or use of this software
 10504  //    must display the following acknowledgement:
 10505  //	This product includes software developed by the University of
 10506  //	California, Berkeley and its contributors.
 10507  // 4. Neither the name of the University nor the names of its contributors
 10508  //    may be used to endorse or promote products derived from this software
 10509  //    without specific prior written permission.
 10510  //
 10511  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10512  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10513  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10514  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10515  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10516  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10517  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10518  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10519  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10520  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10521  // SUCH DAMAGE.
 10522  //
 10523  //	@(#)wait.h	8.2 (Berkeley) 7/10/94
 10524  
 10525  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 10526  //
 10527  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10528  //
 10529  // This file contains Original Code and/or Modifications of Original Code
 10530  // as defined in and that are subject to the Apple Public Source License
 10531  // Version 2.0 (the 'License'). You may not use this file except in
 10532  // compliance with the License. The rights granted to you under the License
 10533  // may not be used to create, or enable the creation or redistribution of,
 10534  // unlawful or unlicensed copies of an Apple operating system, or to
 10535  // circumvent, violate, or enable the circumvention or violation of, any
 10536  // terms of an Apple operating system software license agreement.
 10537  //
 10538  // Please obtain a copy of the License at
 10539  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10540  //
 10541  // The Original Code and all software distributed under the License are
 10542  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10543  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10544  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10545  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10546  // Please see the License for the specific language governing rights and
 10547  // limitations under the License.
 10548  //
 10549  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10550  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 10551  // Copyright (c) 1991, 1993
 10552  //	The Regents of the University of California.  All rights reserved.
 10553  //
 10554  // This code is derived from software contributed to Berkeley by
 10555  // Berkeley Software Design, Inc.
 10556  //
 10557  // Redistribution and use in source and binary forms, with or without
 10558  // modification, are permitted provided that the following conditions
 10559  // are met:
 10560  // 1. Redistributions of source code must retain the above copyright
 10561  //    notice, this list of conditions and the following disclaimer.
 10562  // 2. Redistributions in binary form must reproduce the above copyright
 10563  //    notice, this list of conditions and the following disclaimer in the
 10564  //    documentation and/or other materials provided with the distribution.
 10565  // 3. All advertising materials mentioning features or use of this software
 10566  //    must display the following acknowledgement:
 10567  //	This product includes software developed by the University of
 10568  //	California, Berkeley and its contributors.
 10569  // 4. Neither the name of the University nor the names of its contributors
 10570  //    may be used to endorse or promote products derived from this software
 10571  //    without specific prior written permission.
 10572  //
 10573  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10574  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10575  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10576  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10577  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10578  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10579  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10580  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10581  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10582  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10583  // SUCH DAMAGE.
 10584  //
 10585  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 10586  
 10587  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 10588  //
 10589  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10590  //
 10591  // This file contains Original Code and/or Modifications of Original Code
 10592  // as defined in and that are subject to the Apple Public Source License
 10593  // Version 2.0 (the 'License'). You may not use this file except in
 10594  // compliance with the License. The rights granted to you under the License
 10595  // may not be used to create, or enable the creation or redistribution of,
 10596  // unlawful or unlicensed copies of an Apple operating system, or to
 10597  // circumvent, violate, or enable the circumvention or violation of, any
 10598  // terms of an Apple operating system software license agreement.
 10599  //
 10600  // Please obtain a copy of the License at
 10601  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10602  //
 10603  // The Original Code and all software distributed under the License are
 10604  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10605  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10606  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10607  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10608  // Please see the License for the specific language governing rights and
 10609  // limitations under the License.
 10610  //
 10611  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10612  
 10613  // This file holds definitions relevent to the wait4 system call
 10614  // and the alternate interfaces that use it (wait, wait3, waitpid).
 10615  
 10616  // [XSI] The type idtype_t shall be defined as an enumeration type whose
 10617  // possible values shall include at least P_ALL, P_PID, and P_PGID.
 10618  type Idtype_t = uint32 /* wait.h:83:3 */
 10619  
 10620  // [XSI] The id_t and pid_t types shall be defined as described
 10621  // in <sys/types.h>
 10622  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10623  //
 10624  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10625  //
 10626  // This file contains Original Code and/or Modifications of Original Code
 10627  // as defined in and that are subject to the Apple Public Source License
 10628  // Version 2.0 (the 'License'). You may not use this file except in
 10629  // compliance with the License. The rights granted to you under the License
 10630  // may not be used to create, or enable the creation or redistribution of,
 10631  // unlawful or unlicensed copies of an Apple operating system, or to
 10632  // circumvent, violate, or enable the circumvention or violation of, any
 10633  // terms of an Apple operating system software license agreement.
 10634  //
 10635  // Please obtain a copy of the License at
 10636  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10637  //
 10638  // The Original Code and all software distributed under the License are
 10639  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10640  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10641  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10642  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10643  // Please see the License for the specific language governing rights and
 10644  // limitations under the License.
 10645  //
 10646  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10647  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10648  //
 10649  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10650  //
 10651  // This file contains Original Code and/or Modifications of Original Code
 10652  // as defined in and that are subject to the Apple Public Source License
 10653  // Version 2.0 (the 'License'). You may not use this file except in
 10654  // compliance with the License. The rights granted to you under the License
 10655  // may not be used to create, or enable the creation or redistribution of,
 10656  // unlawful or unlicensed copies of an Apple operating system, or to
 10657  // circumvent, violate, or enable the circumvention or violation of, any
 10658  // terms of an Apple operating system software license agreement.
 10659  //
 10660  // Please obtain a copy of the License at
 10661  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10662  //
 10663  // The Original Code and all software distributed under the License are
 10664  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10665  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10666  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10667  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10668  // Please see the License for the specific language governing rights and
 10669  // limitations under the License.
 10670  //
 10671  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10672  
 10673  // [XSI] The siginfo_t type shall be defined as described in <signal.h>
 10674  // [XSI] The rusage structure shall be defined as described in <sys/resource.h>
 10675  // [XSI] Inclusion of the <sys/wait.h> header may also make visible all
 10676  // symbols from <signal.h> and <sys/resource.h>
 10677  //
 10678  // NOTE:	This requirement is currently being satisfied by the direct
 10679  //		inclusion of <sys/signal.h> and <sys/resource.h>, below.
 10680  //
 10681  //		Software should not depend on the exposure of anything other
 10682  //		than the types siginfo_t and struct rusage as a result of
 10683  //		this inclusion.  If you depend on any types or manifest
 10684  //		values othe than siginfo_t and struct rusage from either of
 10685  //		those files, you should explicitly include them yourself, as
 10686  //		well, or in future releases your stware may not compile
 10687  //		without modification.
 10688  // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
 10689  //
 10690  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10691  //
 10692  // This file contains Original Code and/or Modifications of Original Code
 10693  // as defined in and that are subject to the Apple Public Source License
 10694  // Version 2.0 (the 'License'). You may not use this file except in
 10695  // compliance with the License. The rights granted to you under the License
 10696  // may not be used to create, or enable the creation or redistribution of,
 10697  // unlawful or unlicensed copies of an Apple operating system, or to
 10698  // circumvent, violate, or enable the circumvention or violation of, any
 10699  // terms of an Apple operating system software license agreement.
 10700  //
 10701  // Please obtain a copy of the License at
 10702  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10703  //
 10704  // The Original Code and all software distributed under the License are
 10705  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10706  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10707  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10708  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10709  // Please see the License for the specific language governing rights and
 10710  // limitations under the License.
 10711  //
 10712  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10713  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
 10714  // Copyright (c) 1982, 1986, 1989, 1991, 1993
 10715  //	The Regents of the University of California.  All rights reserved.
 10716  // (c) UNIX System Laboratories, Inc.
 10717  // All or some portions of this file are derived from material licensed
 10718  // to the University of California by American Telephone and Telegraph
 10719  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
 10720  // the permission of UNIX System Laboratories, Inc.
 10721  //
 10722  // Redistribution and use in source and binary forms, with or without
 10723  // modification, are permitted provided that the following conditions
 10724  // are met:
 10725  // 1. Redistributions of source code must retain the above copyright
 10726  //    notice, this list of conditions and the following disclaimer.
 10727  // 2. Redistributions in binary form must reproduce the above copyright
 10728  //    notice, this list of conditions and the following disclaimer in the
 10729  //    documentation and/or other materials provided with the distribution.
 10730  // 3. All advertising materials mentioning features or use of this software
 10731  //    must display the following acknowledgement:
 10732  //	This product includes software developed by the University of
 10733  //	California, Berkeley and its contributors.
 10734  // 4. Neither the name of the University nor the names of its contributors
 10735  //    may be used to endorse or promote products derived from this software
 10736  //    without specific prior written permission.
 10737  //
 10738  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10739  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10740  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10741  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10742  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10743  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10744  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10745  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10746  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10747  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10748  // SUCH DAMAGE.
 10749  //
 10750  //	@(#)signal.h	8.2 (Berkeley) 1/21/94
 10751  
 10752  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 10753  //
 10754  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10755  //
 10756  // This file contains Original Code and/or Modifications of Original Code
 10757  // as defined in and that are subject to the Apple Public Source License
 10758  // Version 2.0 (the 'License'). You may not use this file except in
 10759  // compliance with the License. The rights granted to you under the License
 10760  // may not be used to create, or enable the creation or redistribution of,
 10761  // unlawful or unlicensed copies of an Apple operating system, or to
 10762  // circumvent, violate, or enable the circumvention or violation of, any
 10763  // terms of an Apple operating system software license agreement.
 10764  //
 10765  // Please obtain a copy of the License at
 10766  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10767  //
 10768  // The Original Code and all software distributed under the License are
 10769  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10770  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10771  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10772  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10773  // Please see the License for the specific language governing rights and
 10774  // limitations under the License.
 10775  //
 10776  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10777  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 10778  // Copyright (c) 1991, 1993
 10779  //	The Regents of the University of California.  All rights reserved.
 10780  //
 10781  // This code is derived from software contributed to Berkeley by
 10782  // Berkeley Software Design, Inc.
 10783  //
 10784  // Redistribution and use in source and binary forms, with or without
 10785  // modification, are permitted provided that the following conditions
 10786  // are met:
 10787  // 1. Redistributions of source code must retain the above copyright
 10788  //    notice, this list of conditions and the following disclaimer.
 10789  // 2. Redistributions in binary form must reproduce the above copyright
 10790  //    notice, this list of conditions and the following disclaimer in the
 10791  //    documentation and/or other materials provided with the distribution.
 10792  // 3. All advertising materials mentioning features or use of this software
 10793  //    must display the following acknowledgement:
 10794  //	This product includes software developed by the University of
 10795  //	California, Berkeley and its contributors.
 10796  // 4. Neither the name of the University nor the names of its contributors
 10797  //    may be used to endorse or promote products derived from this software
 10798  //    without specific prior written permission.
 10799  //
 10800  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10801  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10802  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10803  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10804  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10805  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10806  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10807  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10808  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10809  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10810  // SUCH DAMAGE.
 10811  //
 10812  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 10813  
 10814  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
 10815  //
 10816  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10817  //
 10818  // This file contains Original Code and/or Modifications of Original Code
 10819  // as defined in and that are subject to the Apple Public Source License
 10820  // Version 2.0 (the 'License'). You may not use this file except in
 10821  // compliance with the License. The rights granted to you under the License
 10822  // may not be used to create, or enable the creation or redistribution of,
 10823  // unlawful or unlicensed copies of an Apple operating system, or to
 10824  // circumvent, violate, or enable the circumvention or violation of, any
 10825  // terms of an Apple operating system software license agreement.
 10826  //
 10827  // Please obtain a copy of the License at
 10828  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10829  //
 10830  // The Original Code and all software distributed under the License are
 10831  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10832  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10833  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10834  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10835  // Please see the License for the specific language governing rights and
 10836  // limitations under the License.
 10837  //
 10838  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10839  
 10840  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
 10841  //
 10842  // @APPLE_LICENSE_HEADER_START@
 10843  //
 10844  // This file contains Original Code and/or Modifications of Original Code
 10845  // as defined in and that are subject to the Apple Public Source License
 10846  // Version 2.0 (the 'License'). You may not use this file except in
 10847  // compliance with the License. Please obtain a copy of the License at
 10848  // http://www.opensource.apple.com/apsl/ and read it before using this
 10849  // file.
 10850  //
 10851  // The Original Code and all software distributed under the License are
 10852  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10853  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10854  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10855  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10856  // Please see the License for the specific language governing rights and
 10857  // limitations under the License.
 10858  //
 10859  // @APPLE_LICENSE_HEADER_END@
 10860  
 10861  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 10862  //
 10863  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10864  //
 10865  // This file contains Original Code and/or Modifications of Original Code
 10866  // as defined in and that are subject to the Apple Public Source License
 10867  // Version 2.0 (the 'License'). You may not use this file except in
 10868  // compliance with the License. The rights granted to you under the License
 10869  // may not be used to create, or enable the creation or redistribution of,
 10870  // unlawful or unlicensed copies of an Apple operating system, or to
 10871  // circumvent, violate, or enable the circumvention or violation of, any
 10872  // terms of an Apple operating system software license agreement.
 10873  //
 10874  // Please obtain a copy of the License at
 10875  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10876  //
 10877  // The Original Code and all software distributed under the License are
 10878  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10879  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10880  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10881  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10882  // Please see the License for the specific language governing rights and
 10883  // limitations under the License.
 10884  //
 10885  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10886  
 10887  // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
 10888  //
 10889  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10890  //
 10891  // This file contains Original Code and/or Modifications of Original Code
 10892  // as defined in and that are subject to the Apple Public Source License
 10893  // Version 2.0 (the 'License'). You may not use this file except in
 10894  // compliance with the License. The rights granted to you under the License
 10895  // may not be used to create, or enable the creation or redistribution of,
 10896  // unlawful or unlicensed copies of an Apple operating system, or to
 10897  // circumvent, violate, or enable the circumvention or violation of, any
 10898  // terms of an Apple operating system software license agreement.
 10899  //
 10900  // Please obtain a copy of the License at
 10901  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10902  //
 10903  // The Original Code and all software distributed under the License are
 10904  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10905  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10906  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10907  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10908  // Please see the License for the specific language governing rights and
 10909  // limitations under the License.
 10910  //
 10911  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10912  // Copyright (c) 1992 NeXT Computer, Inc.
 10913  //
 10914  
 10915  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 10916  //
 10917  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10918  //
 10919  // This file contains Original Code and/or Modifications of Original Code
 10920  // as defined in and that are subject to the Apple Public Source License
 10921  // Version 2.0 (the 'License'). You may not use this file except in
 10922  // compliance with the License. The rights granted to you under the License
 10923  // may not be used to create, or enable the creation or redistribution of,
 10924  // unlawful or unlicensed copies of an Apple operating system, or to
 10925  // circumvent, violate, or enable the circumvention or violation of, any
 10926  // terms of an Apple operating system software license agreement.
 10927  //
 10928  // Please obtain a copy of the License at
 10929  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10930  //
 10931  // The Original Code and all software distributed under the License are
 10932  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10933  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10934  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10935  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10936  // Please see the License for the specific language governing rights and
 10937  // limitations under the License.
 10938  //
 10939  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10940  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 10941  // Copyright (c) 1991, 1993
 10942  //	The Regents of the University of California.  All rights reserved.
 10943  //
 10944  // This code is derived from software contributed to Berkeley by
 10945  // Berkeley Software Design, Inc.
 10946  //
 10947  // Redistribution and use in source and binary forms, with or without
 10948  // modification, are permitted provided that the following conditions
 10949  // are met:
 10950  // 1. Redistributions of source code must retain the above copyright
 10951  //    notice, this list of conditions and the following disclaimer.
 10952  // 2. Redistributions in binary form must reproduce the above copyright
 10953  //    notice, this list of conditions and the following disclaimer in the
 10954  //    documentation and/or other materials provided with the distribution.
 10955  // 3. All advertising materials mentioning features or use of this software
 10956  //    must display the following acknowledgement:
 10957  //	This product includes software developed by the University of
 10958  //	California, Berkeley and its contributors.
 10959  // 4. Neither the name of the University nor the names of its contributors
 10960  //    may be used to endorse or promote products derived from this software
 10961  //    without specific prior written permission.
 10962  //
 10963  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 10964  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 10965  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 10966  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 10967  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 10968  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 10969  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 10970  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 10971  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 10972  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 10973  // SUCH DAMAGE.
 10974  //
 10975  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 10976  
 10977  type Sig_atomic_t = int32 /* signal.h:39:13 */
 10978  
 10979  // Language spec sez we must list exactly one parameter, even though we
 10980  // actually supply three.  Ugh!
 10981  // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h>
 10982  
 10983  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 10984  //
 10985  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10986  //
 10987  // This file contains Original Code and/or Modifications of Original Code
 10988  // as defined in and that are subject to the Apple Public Source License
 10989  // Version 2.0 (the 'License'). You may not use this file except in
 10990  // compliance with the License. The rights granted to you under the License
 10991  // may not be used to create, or enable the creation or redistribution of,
 10992  // unlawful or unlicensed copies of an Apple operating system, or to
 10993  // circumvent, violate, or enable the circumvention or violation of, any
 10994  // terms of an Apple operating system software license agreement.
 10995  //
 10996  // Please obtain a copy of the License at
 10997  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10998  //
 10999  // The Original Code and all software distributed under the License are
 11000  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11001  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11002  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11003  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11004  // Please see the License for the specific language governing rights and
 11005  // limitations under the License.
 11006  //
 11007  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11008  
 11009  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 11010  //
 11011  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11012  //
 11013  // This file contains Original Code and/or Modifications of Original Code
 11014  // as defined in and that are subject to the Apple Public Source License
 11015  // Version 2.0 (the 'License'). You may not use this file except in
 11016  // compliance with the License. The rights granted to you under the License
 11017  // may not be used to create, or enable the creation or redistribution of,
 11018  // unlawful or unlicensed copies of an Apple operating system, or to
 11019  // circumvent, violate, or enable the circumvention or violation of, any
 11020  // terms of an Apple operating system software license agreement.
 11021  //
 11022  // Please obtain a copy of the License at
 11023  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11024  //
 11025  // The Original Code and all software distributed under the License are
 11026  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11027  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11028  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11029  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11030  // Please see the License for the specific language governing rights and
 11031  // limitations under the License.
 11032  //
 11033  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11034  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 11035  //
 11036  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11037  //
 11038  // This file contains Original Code and/or Modifications of Original Code
 11039  // as defined in and that are subject to the Apple Public Source License
 11040  // Version 2.0 (the 'License'). You may not use this file except in
 11041  // compliance with the License. The rights granted to you under the License
 11042  // may not be used to create, or enable the creation or redistribution of,
 11043  // unlawful or unlicensed copies of an Apple operating system, or to
 11044  // circumvent, violate, or enable the circumvention or violation of, any
 11045  // terms of an Apple operating system software license agreement.
 11046  //
 11047  // Please obtain a copy of the License at
 11048  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11049  //
 11050  // The Original Code and all software distributed under the License are
 11051  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11052  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11053  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11054  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11055  // Please see the License for the specific language governing rights and
 11056  // limitations under the License.
 11057  //
 11058  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11059  
 11060  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 11061  //
 11062  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11063  //
 11064  // This file contains Original Code and/or Modifications of Original Code
 11065  // as defined in and that are subject to the Apple Public Source License
 11066  // Version 2.0 (the 'License'). You may not use this file except in
 11067  // compliance with the License. The rights granted to you under the License
 11068  // may not be used to create, or enable the creation or redistribution of,
 11069  // unlawful or unlicensed copies of an Apple operating system, or to
 11070  // circumvent, violate, or enable the circumvention or violation of, any
 11071  // terms of an Apple operating system software license agreement.
 11072  //
 11073  // Please obtain a copy of the License at
 11074  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11075  //
 11076  // The Original Code and all software distributed under the License are
 11077  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11078  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11079  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11080  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11081  // Please see the License for the specific language governing rights and
 11082  // limitations under the License.
 11083  //
 11084  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11085  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 11086  // Copyright (c) 1991, 1993
 11087  //	The Regents of the University of California.  All rights reserved.
 11088  //
 11089  // This code is derived from software contributed to Berkeley by
 11090  // Berkeley Software Design, Inc.
 11091  //
 11092  // Redistribution and use in source and binary forms, with or without
 11093  // modification, are permitted provided that the following conditions
 11094  // are met:
 11095  // 1. Redistributions of source code must retain the above copyright
 11096  //    notice, this list of conditions and the following disclaimer.
 11097  // 2. Redistributions in binary form must reproduce the above copyright
 11098  //    notice, this list of conditions and the following disclaimer in the
 11099  //    documentation and/or other materials provided with the distribution.
 11100  // 3. All advertising materials mentioning features or use of this software
 11101  //    must display the following acknowledgement:
 11102  //	This product includes software developed by the University of
 11103  //	California, Berkeley and its contributors.
 11104  // 4. Neither the name of the University nor the names of its contributors
 11105  //    may be used to endorse or promote products derived from this software
 11106  //    without specific prior written permission.
 11107  //
 11108  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 11109  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 11110  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 11111  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 11112  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 11113  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 11114  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 11115  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 11116  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 11117  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 11118  // SUCH DAMAGE.
 11119  //
 11120  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 11121  
 11122  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
 11123  //
 11124  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11125  //
 11126  // This file contains Original Code and/or Modifications of Original Code
 11127  // as defined in and that are subject to the Apple Public Source License
 11128  // Version 2.0 (the 'License'). You may not use this file except in
 11129  // compliance with the License. The rights granted to you under the License
 11130  // may not be used to create, or enable the creation or redistribution of,
 11131  // unlawful or unlicensed copies of an Apple operating system, or to
 11132  // circumvent, violate, or enable the circumvention or violation of, any
 11133  // terms of an Apple operating system software license agreement.
 11134  //
 11135  // Please obtain a copy of the License at
 11136  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11137  //
 11138  // The Original Code and all software distributed under the License are
 11139  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11140  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11141  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11142  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11143  // Please see the License for the specific language governing rights and
 11144  // limitations under the License.
 11145  //
 11146  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11147  
 11148  // Copyright (c) 2017 Apple Inc. All rights reserved.
 11149  //
 11150  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11151  //
 11152  // This file contains Original Code and/or Modifications of Original Code
 11153  // as defined in and that are subject to the Apple Public Source License
 11154  // Version 2.0 (the 'License'). You may not use this file except in
 11155  // compliance with the License. The rights granted to you under the License
 11156  // may not be used to create, or enable the creation or redistribution of,
 11157  // unlawful or unlicensed copies of an Apple operating system, or to
 11158  // circumvent, violate, or enable the circumvention or violation of, any
 11159  // terms of an Apple operating system software license agreement.
 11160  //
 11161  // Please obtain a copy of the License at
 11162  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11163  //
 11164  // The Original Code and all software distributed under the License are
 11165  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11166  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11167  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11168  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11169  // Please see the License for the specific language governing rights and
 11170  // limitations under the License.
 11171  //
 11172  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11173  
 11174  // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
 11175  //
 11176  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11177  //
 11178  // This file contains Original Code and/or Modifications of Original Code
 11179  // as defined in and that are subject to the Apple Public Source License
 11180  // Version 2.0 (the 'License'). You may not use this file except in
 11181  // compliance with the License. The rights granted to you under the License
 11182  // may not be used to create, or enable the creation or redistribution of,
 11183  // unlawful or unlicensed copies of an Apple operating system, or to
 11184  // circumvent, violate, or enable the circumvention or violation of, any
 11185  // terms of an Apple operating system software license agreement.
 11186  //
 11187  // Please obtain a copy of the License at
 11188  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11189  //
 11190  // The Original Code and all software distributed under the License are
 11191  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11192  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11193  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11194  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11195  // Please see the License for the specific language governing rights and
 11196  // limitations under the License.
 11197  //
 11198  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11199  // @OSF_COPYRIGHT@
 11200  
 11201  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 11202  //
 11203  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11204  //
 11205  // This file contains Original Code and/or Modifications of Original Code
 11206  // as defined in and that are subject to the Apple Public Source License
 11207  // Version 2.0 (the 'License'). You may not use this file except in
 11208  // compliance with the License. The rights granted to you under the License
 11209  // may not be used to create, or enable the creation or redistribution of,
 11210  // unlawful or unlicensed copies of an Apple operating system, or to
 11211  // circumvent, violate, or enable the circumvention or violation of, any
 11212  // terms of an Apple operating system software license agreement.
 11213  //
 11214  // Please obtain a copy of the License at
 11215  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11216  //
 11217  // The Original Code and all software distributed under the License are
 11218  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11219  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11220  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11221  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11222  // Please see the License for the specific language governing rights and
 11223  // limitations under the License.
 11224  //
 11225  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11226  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 11227  // Copyright (c) 1991, 1993
 11228  //	The Regents of the University of California.  All rights reserved.
 11229  //
 11230  // This code is derived from software contributed to Berkeley by
 11231  // Berkeley Software Design, Inc.
 11232  //
 11233  // Redistribution and use in source and binary forms, with or without
 11234  // modification, are permitted provided that the following conditions
 11235  // are met:
 11236  // 1. Redistributions of source code must retain the above copyright
 11237  //    notice, this list of conditions and the following disclaimer.
 11238  // 2. Redistributions in binary form must reproduce the above copyright
 11239  //    notice, this list of conditions and the following disclaimer in the
 11240  //    documentation and/or other materials provided with the distribution.
 11241  // 3. All advertising materials mentioning features or use of this software
 11242  //    must display the following acknowledgement:
 11243  //	This product includes software developed by the University of
 11244  //	California, Berkeley and its contributors.
 11245  // 4. Neither the name of the University nor the names of its contributors
 11246  //    may be used to endorse or promote products derived from this software
 11247  //    without specific prior written permission.
 11248  //
 11249  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 11250  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 11251  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 11252  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 11253  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 11254  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 11255  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 11256  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 11257  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 11258  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 11259  // SUCH DAMAGE.
 11260  //
 11261  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 11262  
 11263  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 11264  //
 11265  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 11266  //
 11267  // This file contains Original Code and/or Modifications of Original Code
 11268  // as defined in and that are subject to the Apple Public Source License
 11269  // Version 2.0 (the 'License'). You may not use this file except in
 11270  // compliance with the License. The rights granted to you under the License
 11271  // may not be used to create, or enable the creation or redistribution of,
 11272  // unlawful or unlicensed copies of an Apple operating system, or to
 11273  // circumvent, violate, or enable the circumvention or violation of, any
 11274  // terms of an Apple operating system software license agreement.
 11275  //
 11276  // Please obtain a copy of the License at
 11277  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 11278  //
 11279  // The Original Code and all software distributed under the License are
 11280  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 11281  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 11282  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 11283  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 11284  // Please see the License for the specific language governing rights and
 11285  // limitations under the License.
 11286  //
 11287  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 11288  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 11289  
 11290  // i386 is the structure that is exported to user threads for
 11291  // use in status/mutate calls.  This structure should never change.
 11292  //
 11293  
 11294  type X__darwin_i386_thread_state = struct {
 11295  	F__eax    uint32
 11296  	F__ebx    uint32
 11297  	F__ecx    uint32
 11298  	F__edx    uint32
 11299  	F__edi    uint32
 11300  	F__esi    uint32
 11301  	F__ebp    uint32
 11302  	F__esp    uint32
 11303  	F__ss     uint32
 11304  	F__eflags uint32
 11305  	F__eip    uint32
 11306  	F__cs     uint32
 11307  	F__ds     uint32
 11308  	F__es     uint32
 11309  	F__fs     uint32
 11310  	F__gs     uint32
 11311  } /* _structs.h:46:1 */
 11312  
 11313  // This structure should be double-word aligned for performance
 11314  
 11315  type X__darwin_fp_control = struct {
 11316  	F__ccgo_pad1 [0]uint16
 11317  	F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11318  } /* _structs.h:92:1 */
 11319  
 11320  type X__darwin_fp_control_t = X__darwin_fp_control /* _structs.h:117:28 */
 11321  
 11322  // Status word.
 11323  
 11324  type X__darwin_fp_status = struct {
 11325  	F__ccgo_pad1 [0]uint16
 11326  	F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11327  } /* _structs.h:150:1 */
 11328  
 11329  type X__darwin_fp_status_t = X__darwin_fp_status /* _structs.h:167:27 */
 11330  
 11331  // defn of 80bit x87 FPU or MMX register
 11332  
 11333  type X__darwin_mmst_reg = struct {
 11334  	F__mmst_reg  [10]int8
 11335  	F__mmst_rsrv [6]int8
 11336  } /* _structs.h:194:1 */
 11337  
 11338  // defn of 128 bit XMM regs
 11339  
 11340  type X__darwin_xmm_reg = struct{ F__xmm_reg [16]int8 } /* _structs.h:213:1 */
 11341  
 11342  // defn of 256 bit YMM regs
 11343  
 11344  type X__darwin_ymm_reg = struct{ F__ymm_reg [32]int8 } /* _structs.h:229:1 */
 11345  
 11346  // defn of 512 bit ZMM regs
 11347  
 11348  type X__darwin_zmm_reg = struct{ F__zmm_reg [64]int8 } /* _structs.h:245:1 */
 11349  
 11350  type X__darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1 */
 11351  
 11352  // Floating point state.
 11353  
 11354  type X__darwin_i386_float_state = struct {
 11355  	F__fpu_reserved [2]int32
 11356  	F__fpu_fcw      struct {
 11357  		F__ccgo_pad1 [0]uint16
 11358  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11359  	}
 11360  	F__fpu_fsw struct {
 11361  		F__ccgo_pad1 [0]uint16
 11362  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11363  	}
 11364  	F__fpu_ftw       X__uint8_t
 11365  	F__fpu_rsrv1     X__uint8_t
 11366  	F__fpu_fop       X__uint16_t
 11367  	F__fpu_ip        X__uint32_t
 11368  	F__fpu_cs        X__uint16_t
 11369  	F__fpu_rsrv2     X__uint16_t
 11370  	F__fpu_dp        X__uint32_t
 11371  	F__fpu_ds        X__uint16_t
 11372  	F__fpu_rsrv3     X__uint16_t
 11373  	F__fpu_mxcsr     X__uint32_t
 11374  	F__fpu_mxcsrmask X__uint32_t
 11375  	F__fpu_stmm0     struct {
 11376  		F__mmst_reg  [10]int8
 11377  		F__mmst_rsrv [6]int8
 11378  	}
 11379  	F__fpu_stmm1 struct {
 11380  		F__mmst_reg  [10]int8
 11381  		F__mmst_rsrv [6]int8
 11382  	}
 11383  	F__fpu_stmm2 struct {
 11384  		F__mmst_reg  [10]int8
 11385  		F__mmst_rsrv [6]int8
 11386  	}
 11387  	F__fpu_stmm3 struct {
 11388  		F__mmst_reg  [10]int8
 11389  		F__mmst_rsrv [6]int8
 11390  	}
 11391  	F__fpu_stmm4 struct {
 11392  		F__mmst_reg  [10]int8
 11393  		F__mmst_rsrv [6]int8
 11394  	}
 11395  	F__fpu_stmm5 struct {
 11396  		F__mmst_reg  [10]int8
 11397  		F__mmst_rsrv [6]int8
 11398  	}
 11399  	F__fpu_stmm6 struct {
 11400  		F__mmst_reg  [10]int8
 11401  		F__mmst_rsrv [6]int8
 11402  	}
 11403  	F__fpu_stmm7 struct {
 11404  		F__mmst_reg  [10]int8
 11405  		F__mmst_rsrv [6]int8
 11406  	}
 11407  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11408  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11409  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11410  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11411  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11412  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11413  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11414  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11415  	F__fpu_rsrv4     [224]int8
 11416  	F__fpu_reserved1 int32
 11417  } /* _structs.h:281:1 */
 11418  
 11419  type X__darwin_i386_avx_state = struct {
 11420  	F__fpu_reserved [2]int32
 11421  	F__fpu_fcw      struct {
 11422  		F__ccgo_pad1 [0]uint16
 11423  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11424  	}
 11425  	F__fpu_fsw struct {
 11426  		F__ccgo_pad1 [0]uint16
 11427  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11428  	}
 11429  	F__fpu_ftw       X__uint8_t
 11430  	F__fpu_rsrv1     X__uint8_t
 11431  	F__fpu_fop       X__uint16_t
 11432  	F__fpu_ip        X__uint32_t
 11433  	F__fpu_cs        X__uint16_t
 11434  	F__fpu_rsrv2     X__uint16_t
 11435  	F__fpu_dp        X__uint32_t
 11436  	F__fpu_ds        X__uint16_t
 11437  	F__fpu_rsrv3     X__uint16_t
 11438  	F__fpu_mxcsr     X__uint32_t
 11439  	F__fpu_mxcsrmask X__uint32_t
 11440  	F__fpu_stmm0     struct {
 11441  		F__mmst_reg  [10]int8
 11442  		F__mmst_rsrv [6]int8
 11443  	}
 11444  	F__fpu_stmm1 struct {
 11445  		F__mmst_reg  [10]int8
 11446  		F__mmst_rsrv [6]int8
 11447  	}
 11448  	F__fpu_stmm2 struct {
 11449  		F__mmst_reg  [10]int8
 11450  		F__mmst_rsrv [6]int8
 11451  	}
 11452  	F__fpu_stmm3 struct {
 11453  		F__mmst_reg  [10]int8
 11454  		F__mmst_rsrv [6]int8
 11455  	}
 11456  	F__fpu_stmm4 struct {
 11457  		F__mmst_reg  [10]int8
 11458  		F__mmst_rsrv [6]int8
 11459  	}
 11460  	F__fpu_stmm5 struct {
 11461  		F__mmst_reg  [10]int8
 11462  		F__mmst_rsrv [6]int8
 11463  	}
 11464  	F__fpu_stmm6 struct {
 11465  		F__mmst_reg  [10]int8
 11466  		F__mmst_rsrv [6]int8
 11467  	}
 11468  	F__fpu_stmm7 struct {
 11469  		F__mmst_reg  [10]int8
 11470  		F__mmst_rsrv [6]int8
 11471  	}
 11472  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11473  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11474  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11475  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11476  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11477  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11478  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11479  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11480  	F__fpu_rsrv4     [224]int8
 11481  	F__fpu_reserved1 int32
 11482  	F__avx_reserved1 [64]int8
 11483  	F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 11484  	F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 11485  	F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 11486  	F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 11487  	F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 11488  	F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 11489  	F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 11490  	F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 11491  } /* _structs.h:318:1 */
 11492  
 11493  type X__darwin_i386_avx512_state = struct {
 11494  	F__fpu_reserved [2]int32
 11495  	F__fpu_fcw      struct {
 11496  		F__ccgo_pad1 [0]uint16
 11497  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11498  	}
 11499  	F__fpu_fsw struct {
 11500  		F__ccgo_pad1 [0]uint16
 11501  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11502  	}
 11503  	F__fpu_ftw       X__uint8_t
 11504  	F__fpu_rsrv1     X__uint8_t
 11505  	F__fpu_fop       X__uint16_t
 11506  	F__fpu_ip        X__uint32_t
 11507  	F__fpu_cs        X__uint16_t
 11508  	F__fpu_rsrv2     X__uint16_t
 11509  	F__fpu_dp        X__uint32_t
 11510  	F__fpu_ds        X__uint16_t
 11511  	F__fpu_rsrv3     X__uint16_t
 11512  	F__fpu_mxcsr     X__uint32_t
 11513  	F__fpu_mxcsrmask X__uint32_t
 11514  	F__fpu_stmm0     struct {
 11515  		F__mmst_reg  [10]int8
 11516  		F__mmst_rsrv [6]int8
 11517  	}
 11518  	F__fpu_stmm1 struct {
 11519  		F__mmst_reg  [10]int8
 11520  		F__mmst_rsrv [6]int8
 11521  	}
 11522  	F__fpu_stmm2 struct {
 11523  		F__mmst_reg  [10]int8
 11524  		F__mmst_rsrv [6]int8
 11525  	}
 11526  	F__fpu_stmm3 struct {
 11527  		F__mmst_reg  [10]int8
 11528  		F__mmst_rsrv [6]int8
 11529  	}
 11530  	F__fpu_stmm4 struct {
 11531  		F__mmst_reg  [10]int8
 11532  		F__mmst_rsrv [6]int8
 11533  	}
 11534  	F__fpu_stmm5 struct {
 11535  		F__mmst_reg  [10]int8
 11536  		F__mmst_rsrv [6]int8
 11537  	}
 11538  	F__fpu_stmm6 struct {
 11539  		F__mmst_reg  [10]int8
 11540  		F__mmst_rsrv [6]int8
 11541  	}
 11542  	F__fpu_stmm7 struct {
 11543  		F__mmst_reg  [10]int8
 11544  		F__mmst_rsrv [6]int8
 11545  	}
 11546  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11547  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11548  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11549  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11550  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11551  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11552  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11553  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11554  	F__fpu_rsrv4     [224]int8
 11555  	F__fpu_reserved1 int32
 11556  	F__avx_reserved1 [64]int8
 11557  	F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 11558  	F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 11559  	F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 11560  	F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 11561  	F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 11562  	F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 11563  	F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 11564  	F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 11565  	F__fpu_k0        struct{ F__opmask_reg [8]int8 }
 11566  	F__fpu_k1        struct{ F__opmask_reg [8]int8 }
 11567  	F__fpu_k2        struct{ F__opmask_reg [8]int8 }
 11568  	F__fpu_k3        struct{ F__opmask_reg [8]int8 }
 11569  	F__fpu_k4        struct{ F__opmask_reg [8]int8 }
 11570  	F__fpu_k5        struct{ F__opmask_reg [8]int8 }
 11571  	F__fpu_k6        struct{ F__opmask_reg [8]int8 }
 11572  	F__fpu_k7        struct{ F__opmask_reg [8]int8 }
 11573  	F__fpu_zmmh0     struct{ F__ymm_reg [32]int8 }
 11574  	F__fpu_zmmh1     struct{ F__ymm_reg [32]int8 }
 11575  	F__fpu_zmmh2     struct{ F__ymm_reg [32]int8 }
 11576  	F__fpu_zmmh3     struct{ F__ymm_reg [32]int8 }
 11577  	F__fpu_zmmh4     struct{ F__ymm_reg [32]int8 }
 11578  	F__fpu_zmmh5     struct{ F__ymm_reg [32]int8 }
 11579  	F__fpu_zmmh6     struct{ F__ymm_reg [32]int8 }
 11580  	F__fpu_zmmh7     struct{ F__ymm_reg [32]int8 }
 11581  } /* _structs.h:364:1 */
 11582  
 11583  type X__darwin_i386_exception_state = struct {
 11584  	F__trapno     X__uint16_t
 11585  	F__cpu        X__uint16_t
 11586  	F__err        X__uint32_t
 11587  	F__faultvaddr X__uint32_t
 11588  } /* _structs.h:575:1 */
 11589  
 11590  type X__darwin_x86_debug_state32 = struct {
 11591  	F__dr0 uint32
 11592  	F__dr1 uint32
 11593  	F__dr2 uint32
 11594  	F__dr3 uint32
 11595  	F__dr4 uint32
 11596  	F__dr5 uint32
 11597  	F__dr6 uint32
 11598  	F__dr7 uint32
 11599  } /* _structs.h:595:1 */
 11600  
 11601  type X__x86_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:622:1 */
 11602  
 11603  // 64 bit versions of the above
 11604  
 11605  type X__darwin_x86_thread_state64 = struct {
 11606  	F__rax    X__uint64_t
 11607  	F__rbx    X__uint64_t
 11608  	F__rcx    X__uint64_t
 11609  	F__rdx    X__uint64_t
 11610  	F__rdi    X__uint64_t
 11611  	F__rsi    X__uint64_t
 11612  	F__rbp    X__uint64_t
 11613  	F__rsp    X__uint64_t
 11614  	F__r8     X__uint64_t
 11615  	F__r9     X__uint64_t
 11616  	F__r10    X__uint64_t
 11617  	F__r11    X__uint64_t
 11618  	F__r12    X__uint64_t
 11619  	F__r13    X__uint64_t
 11620  	F__r14    X__uint64_t
 11621  	F__r15    X__uint64_t
 11622  	F__rip    X__uint64_t
 11623  	F__rflags X__uint64_t
 11624  	F__cs     X__uint64_t
 11625  	F__fs     X__uint64_t
 11626  	F__gs     X__uint64_t
 11627  } /* _structs.h:633:1 */
 11628  
 11629  // 64 bit versions of the above (complete)
 11630  
 11631  type X__darwin_x86_thread_full_state64 = struct {
 11632  	F__ss64 struct {
 11633  		F__rax    X__uint64_t
 11634  		F__rbx    X__uint64_t
 11635  		F__rcx    X__uint64_t
 11636  		F__rdx    X__uint64_t
 11637  		F__rdi    X__uint64_t
 11638  		F__rsi    X__uint64_t
 11639  		F__rbp    X__uint64_t
 11640  		F__rsp    X__uint64_t
 11641  		F__r8     X__uint64_t
 11642  		F__r9     X__uint64_t
 11643  		F__r10    X__uint64_t
 11644  		F__r11    X__uint64_t
 11645  		F__r12    X__uint64_t
 11646  		F__r13    X__uint64_t
 11647  		F__r14    X__uint64_t
 11648  		F__r15    X__uint64_t
 11649  		F__rip    X__uint64_t
 11650  		F__rflags X__uint64_t
 11651  		F__cs     X__uint64_t
 11652  		F__fs     X__uint64_t
 11653  		F__gs     X__uint64_t
 11654  	}
 11655  	F__ds     X__uint64_t
 11656  	F__es     X__uint64_t
 11657  	F__ss     X__uint64_t
 11658  	F__gsbase X__uint64_t
 11659  } /* _structs.h:691:1 */
 11660  
 11661  type X__darwin_x86_float_state64 = struct {
 11662  	F__fpu_reserved [2]int32
 11663  	F__fpu_fcw      struct {
 11664  		F__ccgo_pad1 [0]uint16
 11665  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11666  	}
 11667  	F__fpu_fsw struct {
 11668  		F__ccgo_pad1 [0]uint16
 11669  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11670  	}
 11671  	F__fpu_ftw       X__uint8_t
 11672  	F__fpu_rsrv1     X__uint8_t
 11673  	F__fpu_fop       X__uint16_t
 11674  	F__fpu_ip        X__uint32_t
 11675  	F__fpu_cs        X__uint16_t
 11676  	F__fpu_rsrv2     X__uint16_t
 11677  	F__fpu_dp        X__uint32_t
 11678  	F__fpu_ds        X__uint16_t
 11679  	F__fpu_rsrv3     X__uint16_t
 11680  	F__fpu_mxcsr     X__uint32_t
 11681  	F__fpu_mxcsrmask X__uint32_t
 11682  	F__fpu_stmm0     struct {
 11683  		F__mmst_reg  [10]int8
 11684  		F__mmst_rsrv [6]int8
 11685  	}
 11686  	F__fpu_stmm1 struct {
 11687  		F__mmst_reg  [10]int8
 11688  		F__mmst_rsrv [6]int8
 11689  	}
 11690  	F__fpu_stmm2 struct {
 11691  		F__mmst_reg  [10]int8
 11692  		F__mmst_rsrv [6]int8
 11693  	}
 11694  	F__fpu_stmm3 struct {
 11695  		F__mmst_reg  [10]int8
 11696  		F__mmst_rsrv [6]int8
 11697  	}
 11698  	F__fpu_stmm4 struct {
 11699  		F__mmst_reg  [10]int8
 11700  		F__mmst_rsrv [6]int8
 11701  	}
 11702  	F__fpu_stmm5 struct {
 11703  		F__mmst_reg  [10]int8
 11704  		F__mmst_rsrv [6]int8
 11705  	}
 11706  	F__fpu_stmm6 struct {
 11707  		F__mmst_reg  [10]int8
 11708  		F__mmst_rsrv [6]int8
 11709  	}
 11710  	F__fpu_stmm7 struct {
 11711  		F__mmst_reg  [10]int8
 11712  		F__mmst_rsrv [6]int8
 11713  	}
 11714  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11715  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11716  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11717  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11718  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11719  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11720  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11721  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11722  	F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 11723  	F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 11724  	F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 11725  	F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 11726  	F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 11727  	F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 11728  	F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 11729  	F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 11730  	F__fpu_rsrv4     [96]int8
 11731  	F__fpu_reserved1 int32
 11732  } /* _structs.h:714:1 */
 11733  
 11734  type X__darwin_x86_avx_state64 = struct {
 11735  	F__fpu_reserved [2]int32
 11736  	F__fpu_fcw      struct {
 11737  		F__ccgo_pad1 [0]uint16
 11738  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11739  	}
 11740  	F__fpu_fsw struct {
 11741  		F__ccgo_pad1 [0]uint16
 11742  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11743  	}
 11744  	F__fpu_ftw       X__uint8_t
 11745  	F__fpu_rsrv1     X__uint8_t
 11746  	F__fpu_fop       X__uint16_t
 11747  	F__fpu_ip        X__uint32_t
 11748  	F__fpu_cs        X__uint16_t
 11749  	F__fpu_rsrv2     X__uint16_t
 11750  	F__fpu_dp        X__uint32_t
 11751  	F__fpu_ds        X__uint16_t
 11752  	F__fpu_rsrv3     X__uint16_t
 11753  	F__fpu_mxcsr     X__uint32_t
 11754  	F__fpu_mxcsrmask X__uint32_t
 11755  	F__fpu_stmm0     struct {
 11756  		F__mmst_reg  [10]int8
 11757  		F__mmst_rsrv [6]int8
 11758  	}
 11759  	F__fpu_stmm1 struct {
 11760  		F__mmst_reg  [10]int8
 11761  		F__mmst_rsrv [6]int8
 11762  	}
 11763  	F__fpu_stmm2 struct {
 11764  		F__mmst_reg  [10]int8
 11765  		F__mmst_rsrv [6]int8
 11766  	}
 11767  	F__fpu_stmm3 struct {
 11768  		F__mmst_reg  [10]int8
 11769  		F__mmst_rsrv [6]int8
 11770  	}
 11771  	F__fpu_stmm4 struct {
 11772  		F__mmst_reg  [10]int8
 11773  		F__mmst_rsrv [6]int8
 11774  	}
 11775  	F__fpu_stmm5 struct {
 11776  		F__mmst_reg  [10]int8
 11777  		F__mmst_rsrv [6]int8
 11778  	}
 11779  	F__fpu_stmm6 struct {
 11780  		F__mmst_reg  [10]int8
 11781  		F__mmst_rsrv [6]int8
 11782  	}
 11783  	F__fpu_stmm7 struct {
 11784  		F__mmst_reg  [10]int8
 11785  		F__mmst_rsrv [6]int8
 11786  	}
 11787  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11788  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11789  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11790  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11791  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11792  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11793  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11794  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11795  	F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 11796  	F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 11797  	F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 11798  	F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 11799  	F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 11800  	F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 11801  	F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 11802  	F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 11803  	F__fpu_rsrv4     [96]int8
 11804  	F__fpu_reserved1 int32
 11805  	F__avx_reserved1 [64]int8
 11806  	F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 11807  	F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 11808  	F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 11809  	F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 11810  	F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 11811  	F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 11812  	F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 11813  	F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 11814  	F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 11815  	F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 11816  	F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 11817  	F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 11818  	F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 11819  	F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 11820  	F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 11821  	F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 11822  } /* _structs.h:765:1 */
 11823  
 11824  type X__darwin_x86_avx512_state64 = struct {
 11825  	F__fpu_reserved [2]int32
 11826  	F__fpu_fcw      struct {
 11827  		F__ccgo_pad1 [0]uint16
 11828  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 11829  	}
 11830  	F__fpu_fsw struct {
 11831  		F__ccgo_pad1 [0]uint16
 11832  		F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 11833  	}
 11834  	F__fpu_ftw       X__uint8_t
 11835  	F__fpu_rsrv1     X__uint8_t
 11836  	F__fpu_fop       X__uint16_t
 11837  	F__fpu_ip        X__uint32_t
 11838  	F__fpu_cs        X__uint16_t
 11839  	F__fpu_rsrv2     X__uint16_t
 11840  	F__fpu_dp        X__uint32_t
 11841  	F__fpu_ds        X__uint16_t
 11842  	F__fpu_rsrv3     X__uint16_t
 11843  	F__fpu_mxcsr     X__uint32_t
 11844  	F__fpu_mxcsrmask X__uint32_t
 11845  	F__fpu_stmm0     struct {
 11846  		F__mmst_reg  [10]int8
 11847  		F__mmst_rsrv [6]int8
 11848  	}
 11849  	F__fpu_stmm1 struct {
 11850  		F__mmst_reg  [10]int8
 11851  		F__mmst_rsrv [6]int8
 11852  	}
 11853  	F__fpu_stmm2 struct {
 11854  		F__mmst_reg  [10]int8
 11855  		F__mmst_rsrv [6]int8
 11856  	}
 11857  	F__fpu_stmm3 struct {
 11858  		F__mmst_reg  [10]int8
 11859  		F__mmst_rsrv [6]int8
 11860  	}
 11861  	F__fpu_stmm4 struct {
 11862  		F__mmst_reg  [10]int8
 11863  		F__mmst_rsrv [6]int8
 11864  	}
 11865  	F__fpu_stmm5 struct {
 11866  		F__mmst_reg  [10]int8
 11867  		F__mmst_rsrv [6]int8
 11868  	}
 11869  	F__fpu_stmm6 struct {
 11870  		F__mmst_reg  [10]int8
 11871  		F__mmst_rsrv [6]int8
 11872  	}
 11873  	F__fpu_stmm7 struct {
 11874  		F__mmst_reg  [10]int8
 11875  		F__mmst_rsrv [6]int8
 11876  	}
 11877  	F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 11878  	F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 11879  	F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 11880  	F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 11881  	F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 11882  	F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 11883  	F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 11884  	F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 11885  	F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 11886  	F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 11887  	F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 11888  	F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 11889  	F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 11890  	F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 11891  	F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 11892  	F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 11893  	F__fpu_rsrv4     [96]int8
 11894  	F__fpu_reserved1 int32
 11895  	F__avx_reserved1 [64]int8
 11896  	F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 11897  	F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 11898  	F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 11899  	F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 11900  	F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 11901  	F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 11902  	F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 11903  	F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 11904  	F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 11905  	F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 11906  	F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 11907  	F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 11908  	F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 11909  	F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 11910  	F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 11911  	F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 11912  	F__fpu_k0        struct{ F__opmask_reg [8]int8 }
 11913  	F__fpu_k1        struct{ F__opmask_reg [8]int8 }
 11914  	F__fpu_k2        struct{ F__opmask_reg [8]int8 }
 11915  	F__fpu_k3        struct{ F__opmask_reg [8]int8 }
 11916  	F__fpu_k4        struct{ F__opmask_reg [8]int8 }
 11917  	F__fpu_k5        struct{ F__opmask_reg [8]int8 }
 11918  	F__fpu_k6        struct{ F__opmask_reg [8]int8 }
 11919  	F__fpu_k7        struct{ F__opmask_reg [8]int8 }
 11920  	F__fpu_zmmh0     struct{ F__ymm_reg [32]int8 }
 11921  	F__fpu_zmmh1     struct{ F__ymm_reg [32]int8 }
 11922  	F__fpu_zmmh2     struct{ F__ymm_reg [32]int8 }
 11923  	F__fpu_zmmh3     struct{ F__ymm_reg [32]int8 }
 11924  	F__fpu_zmmh4     struct{ F__ymm_reg [32]int8 }
 11925  	F__fpu_zmmh5     struct{ F__ymm_reg [32]int8 }
 11926  	F__fpu_zmmh6     struct{ F__ymm_reg [32]int8 }
 11927  	F__fpu_zmmh7     struct{ F__ymm_reg [32]int8 }
 11928  	F__fpu_zmmh8     struct{ F__ymm_reg [32]int8 }
 11929  	F__fpu_zmmh9     struct{ F__ymm_reg [32]int8 }
 11930  	F__fpu_zmmh10    struct{ F__ymm_reg [32]int8 }
 11931  	F__fpu_zmmh11    struct{ F__ymm_reg [32]int8 }
 11932  	F__fpu_zmmh12    struct{ F__ymm_reg [32]int8 }
 11933  	F__fpu_zmmh13    struct{ F__ymm_reg [32]int8 }
 11934  	F__fpu_zmmh14    struct{ F__ymm_reg [32]int8 }
 11935  	F__fpu_zmmh15    struct{ F__ymm_reg [32]int8 }
 11936  	F__fpu_zmm16     struct{ F__zmm_reg [64]int8 }
 11937  	F__fpu_zmm17     struct{ F__zmm_reg [64]int8 }
 11938  	F__fpu_zmm18     struct{ F__zmm_reg [64]int8 }
 11939  	F__fpu_zmm19     struct{ F__zmm_reg [64]int8 }
 11940  	F__fpu_zmm20     struct{ F__zmm_reg [64]int8 }
 11941  	F__fpu_zmm21     struct{ F__zmm_reg [64]int8 }
 11942  	F__fpu_zmm22     struct{ F__zmm_reg [64]int8 }
 11943  	F__fpu_zmm23     struct{ F__zmm_reg [64]int8 }
 11944  	F__fpu_zmm24     struct{ F__zmm_reg [64]int8 }
 11945  	F__fpu_zmm25     struct{ F__zmm_reg [64]int8 }
 11946  	F__fpu_zmm26     struct{ F__zmm_reg [64]int8 }
 11947  	F__fpu_zmm27     struct{ F__zmm_reg [64]int8 }
 11948  	F__fpu_zmm28     struct{ F__zmm_reg [64]int8 }
 11949  	F__fpu_zmm29     struct{ F__zmm_reg [64]int8 }
 11950  	F__fpu_zmm30     struct{ F__zmm_reg [64]int8 }
 11951  	F__fpu_zmm31     struct{ F__zmm_reg [64]int8 }
 11952  } /* _structs.h:833:1 */
 11953  
 11954  type X__darwin_x86_exception_state64 = struct {
 11955  	F__trapno     X__uint16_t
 11956  	F__cpu        X__uint16_t
 11957  	F__err        X__uint32_t
 11958  	F__faultvaddr X__uint64_t
 11959  } /* _structs.h:1172:1 */
 11960  
 11961  type X__darwin_x86_debug_state64 = struct {
 11962  	F__dr0 X__uint64_t
 11963  	F__dr1 X__uint64_t
 11964  	F__dr2 X__uint64_t
 11965  	F__dr3 X__uint64_t
 11966  	F__dr4 X__uint64_t
 11967  	F__dr5 X__uint64_t
 11968  	F__dr6 X__uint64_t
 11969  	F__dr7 X__uint64_t
 11970  } /* _structs.h:1192:1 */
 11971  
 11972  type X__darwin_x86_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:1220:1 */
 11973  
 11974  type X__darwin_mcontext32 = struct {
 11975  	F__es struct {
 11976  		F__trapno     X__uint16_t
 11977  		F__cpu        X__uint16_t
 11978  		F__err        X__uint32_t
 11979  		F__faultvaddr X__uint32_t
 11980  	}
 11981  	F__ss struct {
 11982  		F__eax    uint32
 11983  		F__ebx    uint32
 11984  		F__ecx    uint32
 11985  		F__edx    uint32
 11986  		F__edi    uint32
 11987  		F__esi    uint32
 11988  		F__ebp    uint32
 11989  		F__esp    uint32
 11990  		F__ss     uint32
 11991  		F__eflags uint32
 11992  		F__eip    uint32
 11993  		F__cs     uint32
 11994  		F__ds     uint32
 11995  		F__es     uint32
 11996  		F__fs     uint32
 11997  		F__gs     uint32
 11998  	}
 11999  	F__fs struct {
 12000  		F__fpu_reserved [2]int32
 12001  		F__fpu_fcw      struct {
 12002  			F__ccgo_pad1 [0]uint16
 12003  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12004  		}
 12005  		F__fpu_fsw struct {
 12006  			F__ccgo_pad1 [0]uint16
 12007  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12008  		}
 12009  		F__fpu_ftw       X__uint8_t
 12010  		F__fpu_rsrv1     X__uint8_t
 12011  		F__fpu_fop       X__uint16_t
 12012  		F__fpu_ip        X__uint32_t
 12013  		F__fpu_cs        X__uint16_t
 12014  		F__fpu_rsrv2     X__uint16_t
 12015  		F__fpu_dp        X__uint32_t
 12016  		F__fpu_ds        X__uint16_t
 12017  		F__fpu_rsrv3     X__uint16_t
 12018  		F__fpu_mxcsr     X__uint32_t
 12019  		F__fpu_mxcsrmask X__uint32_t
 12020  		F__fpu_stmm0     struct {
 12021  			F__mmst_reg  [10]int8
 12022  			F__mmst_rsrv [6]int8
 12023  		}
 12024  		F__fpu_stmm1 struct {
 12025  			F__mmst_reg  [10]int8
 12026  			F__mmst_rsrv [6]int8
 12027  		}
 12028  		F__fpu_stmm2 struct {
 12029  			F__mmst_reg  [10]int8
 12030  			F__mmst_rsrv [6]int8
 12031  		}
 12032  		F__fpu_stmm3 struct {
 12033  			F__mmst_reg  [10]int8
 12034  			F__mmst_rsrv [6]int8
 12035  		}
 12036  		F__fpu_stmm4 struct {
 12037  			F__mmst_reg  [10]int8
 12038  			F__mmst_rsrv [6]int8
 12039  		}
 12040  		F__fpu_stmm5 struct {
 12041  			F__mmst_reg  [10]int8
 12042  			F__mmst_rsrv [6]int8
 12043  		}
 12044  		F__fpu_stmm6 struct {
 12045  			F__mmst_reg  [10]int8
 12046  			F__mmst_rsrv [6]int8
 12047  		}
 12048  		F__fpu_stmm7 struct {
 12049  			F__mmst_reg  [10]int8
 12050  			F__mmst_rsrv [6]int8
 12051  		}
 12052  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12053  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12054  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12055  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12056  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12057  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12058  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12059  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12060  		F__fpu_rsrv4     [224]int8
 12061  		F__fpu_reserved1 int32
 12062  	}
 12063  } /* _mcontext.h:39:1 */
 12064  
 12065  type X__darwin_mcontext_avx32 = struct {
 12066  	F__es struct {
 12067  		F__trapno     X__uint16_t
 12068  		F__cpu        X__uint16_t
 12069  		F__err        X__uint32_t
 12070  		F__faultvaddr X__uint32_t
 12071  	}
 12072  	F__ss struct {
 12073  		F__eax    uint32
 12074  		F__ebx    uint32
 12075  		F__ecx    uint32
 12076  		F__edx    uint32
 12077  		F__edi    uint32
 12078  		F__esi    uint32
 12079  		F__ebp    uint32
 12080  		F__esp    uint32
 12081  		F__ss     uint32
 12082  		F__eflags uint32
 12083  		F__eip    uint32
 12084  		F__cs     uint32
 12085  		F__ds     uint32
 12086  		F__es     uint32
 12087  		F__fs     uint32
 12088  		F__gs     uint32
 12089  	}
 12090  	F__fs struct {
 12091  		F__fpu_reserved [2]int32
 12092  		F__fpu_fcw      struct {
 12093  			F__ccgo_pad1 [0]uint16
 12094  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12095  		}
 12096  		F__fpu_fsw struct {
 12097  			F__ccgo_pad1 [0]uint16
 12098  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12099  		}
 12100  		F__fpu_ftw       X__uint8_t
 12101  		F__fpu_rsrv1     X__uint8_t
 12102  		F__fpu_fop       X__uint16_t
 12103  		F__fpu_ip        X__uint32_t
 12104  		F__fpu_cs        X__uint16_t
 12105  		F__fpu_rsrv2     X__uint16_t
 12106  		F__fpu_dp        X__uint32_t
 12107  		F__fpu_ds        X__uint16_t
 12108  		F__fpu_rsrv3     X__uint16_t
 12109  		F__fpu_mxcsr     X__uint32_t
 12110  		F__fpu_mxcsrmask X__uint32_t
 12111  		F__fpu_stmm0     struct {
 12112  			F__mmst_reg  [10]int8
 12113  			F__mmst_rsrv [6]int8
 12114  		}
 12115  		F__fpu_stmm1 struct {
 12116  			F__mmst_reg  [10]int8
 12117  			F__mmst_rsrv [6]int8
 12118  		}
 12119  		F__fpu_stmm2 struct {
 12120  			F__mmst_reg  [10]int8
 12121  			F__mmst_rsrv [6]int8
 12122  		}
 12123  		F__fpu_stmm3 struct {
 12124  			F__mmst_reg  [10]int8
 12125  			F__mmst_rsrv [6]int8
 12126  		}
 12127  		F__fpu_stmm4 struct {
 12128  			F__mmst_reg  [10]int8
 12129  			F__mmst_rsrv [6]int8
 12130  		}
 12131  		F__fpu_stmm5 struct {
 12132  			F__mmst_reg  [10]int8
 12133  			F__mmst_rsrv [6]int8
 12134  		}
 12135  		F__fpu_stmm6 struct {
 12136  			F__mmst_reg  [10]int8
 12137  			F__mmst_rsrv [6]int8
 12138  		}
 12139  		F__fpu_stmm7 struct {
 12140  			F__mmst_reg  [10]int8
 12141  			F__mmst_rsrv [6]int8
 12142  		}
 12143  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12144  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12145  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12146  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12147  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12148  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12149  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12150  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12151  		F__fpu_rsrv4     [224]int8
 12152  		F__fpu_reserved1 int32
 12153  		F__avx_reserved1 [64]int8
 12154  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 12155  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 12156  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 12157  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 12158  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 12159  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 12160  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 12161  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 12162  	}
 12163  } /* _mcontext.h:47:1 */
 12164  
 12165  type X__darwin_mcontext_avx512_32 = struct {
 12166  	F__es struct {
 12167  		F__trapno     X__uint16_t
 12168  		F__cpu        X__uint16_t
 12169  		F__err        X__uint32_t
 12170  		F__faultvaddr X__uint32_t
 12171  	}
 12172  	F__ss struct {
 12173  		F__eax    uint32
 12174  		F__ebx    uint32
 12175  		F__ecx    uint32
 12176  		F__edx    uint32
 12177  		F__edi    uint32
 12178  		F__esi    uint32
 12179  		F__ebp    uint32
 12180  		F__esp    uint32
 12181  		F__ss     uint32
 12182  		F__eflags uint32
 12183  		F__eip    uint32
 12184  		F__cs     uint32
 12185  		F__ds     uint32
 12186  		F__es     uint32
 12187  		F__fs     uint32
 12188  		F__gs     uint32
 12189  	}
 12190  	F__fs struct {
 12191  		F__fpu_reserved [2]int32
 12192  		F__fpu_fcw      struct {
 12193  			F__ccgo_pad1 [0]uint16
 12194  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12195  		}
 12196  		F__fpu_fsw struct {
 12197  			F__ccgo_pad1 [0]uint16
 12198  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12199  		}
 12200  		F__fpu_ftw       X__uint8_t
 12201  		F__fpu_rsrv1     X__uint8_t
 12202  		F__fpu_fop       X__uint16_t
 12203  		F__fpu_ip        X__uint32_t
 12204  		F__fpu_cs        X__uint16_t
 12205  		F__fpu_rsrv2     X__uint16_t
 12206  		F__fpu_dp        X__uint32_t
 12207  		F__fpu_ds        X__uint16_t
 12208  		F__fpu_rsrv3     X__uint16_t
 12209  		F__fpu_mxcsr     X__uint32_t
 12210  		F__fpu_mxcsrmask X__uint32_t
 12211  		F__fpu_stmm0     struct {
 12212  			F__mmst_reg  [10]int8
 12213  			F__mmst_rsrv [6]int8
 12214  		}
 12215  		F__fpu_stmm1 struct {
 12216  			F__mmst_reg  [10]int8
 12217  			F__mmst_rsrv [6]int8
 12218  		}
 12219  		F__fpu_stmm2 struct {
 12220  			F__mmst_reg  [10]int8
 12221  			F__mmst_rsrv [6]int8
 12222  		}
 12223  		F__fpu_stmm3 struct {
 12224  			F__mmst_reg  [10]int8
 12225  			F__mmst_rsrv [6]int8
 12226  		}
 12227  		F__fpu_stmm4 struct {
 12228  			F__mmst_reg  [10]int8
 12229  			F__mmst_rsrv [6]int8
 12230  		}
 12231  		F__fpu_stmm5 struct {
 12232  			F__mmst_reg  [10]int8
 12233  			F__mmst_rsrv [6]int8
 12234  		}
 12235  		F__fpu_stmm6 struct {
 12236  			F__mmst_reg  [10]int8
 12237  			F__mmst_rsrv [6]int8
 12238  		}
 12239  		F__fpu_stmm7 struct {
 12240  			F__mmst_reg  [10]int8
 12241  			F__mmst_rsrv [6]int8
 12242  		}
 12243  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12244  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12245  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12246  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12247  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12248  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12249  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12250  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12251  		F__fpu_rsrv4     [224]int8
 12252  		F__fpu_reserved1 int32
 12253  		F__avx_reserved1 [64]int8
 12254  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 12255  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 12256  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 12257  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 12258  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 12259  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 12260  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 12261  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 12262  		F__fpu_k0        struct{ F__opmask_reg [8]int8 }
 12263  		F__fpu_k1        struct{ F__opmask_reg [8]int8 }
 12264  		F__fpu_k2        struct{ F__opmask_reg [8]int8 }
 12265  		F__fpu_k3        struct{ F__opmask_reg [8]int8 }
 12266  		F__fpu_k4        struct{ F__opmask_reg [8]int8 }
 12267  		F__fpu_k5        struct{ F__opmask_reg [8]int8 }
 12268  		F__fpu_k6        struct{ F__opmask_reg [8]int8 }
 12269  		F__fpu_k7        struct{ F__opmask_reg [8]int8 }
 12270  		F__fpu_zmmh0     struct{ F__ymm_reg [32]int8 }
 12271  		F__fpu_zmmh1     struct{ F__ymm_reg [32]int8 }
 12272  		F__fpu_zmmh2     struct{ F__ymm_reg [32]int8 }
 12273  		F__fpu_zmmh3     struct{ F__ymm_reg [32]int8 }
 12274  		F__fpu_zmmh4     struct{ F__ymm_reg [32]int8 }
 12275  		F__fpu_zmmh5     struct{ F__ymm_reg [32]int8 }
 12276  		F__fpu_zmmh6     struct{ F__ymm_reg [32]int8 }
 12277  		F__fpu_zmmh7     struct{ F__ymm_reg [32]int8 }
 12278  	}
 12279  } /* _mcontext.h:56:1 */
 12280  
 12281  type X__darwin_mcontext64 = struct {
 12282  	F__es struct {
 12283  		F__trapno     X__uint16_t
 12284  		F__cpu        X__uint16_t
 12285  		F__err        X__uint32_t
 12286  		F__faultvaddr X__uint64_t
 12287  	}
 12288  	F__ss struct {
 12289  		F__rax    X__uint64_t
 12290  		F__rbx    X__uint64_t
 12291  		F__rcx    X__uint64_t
 12292  		F__rdx    X__uint64_t
 12293  		F__rdi    X__uint64_t
 12294  		F__rsi    X__uint64_t
 12295  		F__rbp    X__uint64_t
 12296  		F__rsp    X__uint64_t
 12297  		F__r8     X__uint64_t
 12298  		F__r9     X__uint64_t
 12299  		F__r10    X__uint64_t
 12300  		F__r11    X__uint64_t
 12301  		F__r12    X__uint64_t
 12302  		F__r13    X__uint64_t
 12303  		F__r14    X__uint64_t
 12304  		F__r15    X__uint64_t
 12305  		F__rip    X__uint64_t
 12306  		F__rflags X__uint64_t
 12307  		F__cs     X__uint64_t
 12308  		F__fs     X__uint64_t
 12309  		F__gs     X__uint64_t
 12310  	}
 12311  	F__fs struct {
 12312  		F__fpu_reserved [2]int32
 12313  		F__fpu_fcw      struct {
 12314  			F__ccgo_pad1 [0]uint16
 12315  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12316  		}
 12317  		F__fpu_fsw struct {
 12318  			F__ccgo_pad1 [0]uint16
 12319  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12320  		}
 12321  		F__fpu_ftw       X__uint8_t
 12322  		F__fpu_rsrv1     X__uint8_t
 12323  		F__fpu_fop       X__uint16_t
 12324  		F__fpu_ip        X__uint32_t
 12325  		F__fpu_cs        X__uint16_t
 12326  		F__fpu_rsrv2     X__uint16_t
 12327  		F__fpu_dp        X__uint32_t
 12328  		F__fpu_ds        X__uint16_t
 12329  		F__fpu_rsrv3     X__uint16_t
 12330  		F__fpu_mxcsr     X__uint32_t
 12331  		F__fpu_mxcsrmask X__uint32_t
 12332  		F__fpu_stmm0     struct {
 12333  			F__mmst_reg  [10]int8
 12334  			F__mmst_rsrv [6]int8
 12335  		}
 12336  		F__fpu_stmm1 struct {
 12337  			F__mmst_reg  [10]int8
 12338  			F__mmst_rsrv [6]int8
 12339  		}
 12340  		F__fpu_stmm2 struct {
 12341  			F__mmst_reg  [10]int8
 12342  			F__mmst_rsrv [6]int8
 12343  		}
 12344  		F__fpu_stmm3 struct {
 12345  			F__mmst_reg  [10]int8
 12346  			F__mmst_rsrv [6]int8
 12347  		}
 12348  		F__fpu_stmm4 struct {
 12349  			F__mmst_reg  [10]int8
 12350  			F__mmst_rsrv [6]int8
 12351  		}
 12352  		F__fpu_stmm5 struct {
 12353  			F__mmst_reg  [10]int8
 12354  			F__mmst_rsrv [6]int8
 12355  		}
 12356  		F__fpu_stmm6 struct {
 12357  			F__mmst_reg  [10]int8
 12358  			F__mmst_rsrv [6]int8
 12359  		}
 12360  		F__fpu_stmm7 struct {
 12361  			F__mmst_reg  [10]int8
 12362  			F__mmst_rsrv [6]int8
 12363  		}
 12364  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12365  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12366  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12367  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12368  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12369  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12370  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12371  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12372  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 12373  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 12374  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 12375  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 12376  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 12377  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 12378  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 12379  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 12380  		F__fpu_rsrv4     [96]int8
 12381  		F__fpu_reserved1 int32
 12382  	}
 12383  	F__ccgo_pad1 [4]byte
 12384  } /* _mcontext.h:97:1 */
 12385  
 12386  type X__darwin_mcontext64_full = struct {
 12387  	F__es struct {
 12388  		F__trapno     X__uint16_t
 12389  		F__cpu        X__uint16_t
 12390  		F__err        X__uint32_t
 12391  		F__faultvaddr X__uint64_t
 12392  	}
 12393  	F__ss struct {
 12394  		F__ss64 struct {
 12395  			F__rax    X__uint64_t
 12396  			F__rbx    X__uint64_t
 12397  			F__rcx    X__uint64_t
 12398  			F__rdx    X__uint64_t
 12399  			F__rdi    X__uint64_t
 12400  			F__rsi    X__uint64_t
 12401  			F__rbp    X__uint64_t
 12402  			F__rsp    X__uint64_t
 12403  			F__r8     X__uint64_t
 12404  			F__r9     X__uint64_t
 12405  			F__r10    X__uint64_t
 12406  			F__r11    X__uint64_t
 12407  			F__r12    X__uint64_t
 12408  			F__r13    X__uint64_t
 12409  			F__r14    X__uint64_t
 12410  			F__r15    X__uint64_t
 12411  			F__rip    X__uint64_t
 12412  			F__rflags X__uint64_t
 12413  			F__cs     X__uint64_t
 12414  			F__fs     X__uint64_t
 12415  			F__gs     X__uint64_t
 12416  		}
 12417  		F__ds     X__uint64_t
 12418  		F__es     X__uint64_t
 12419  		F__ss     X__uint64_t
 12420  		F__gsbase X__uint64_t
 12421  	}
 12422  	F__fs struct {
 12423  		F__fpu_reserved [2]int32
 12424  		F__fpu_fcw      struct {
 12425  			F__ccgo_pad1 [0]uint16
 12426  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12427  		}
 12428  		F__fpu_fsw struct {
 12429  			F__ccgo_pad1 [0]uint16
 12430  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12431  		}
 12432  		F__fpu_ftw       X__uint8_t
 12433  		F__fpu_rsrv1     X__uint8_t
 12434  		F__fpu_fop       X__uint16_t
 12435  		F__fpu_ip        X__uint32_t
 12436  		F__fpu_cs        X__uint16_t
 12437  		F__fpu_rsrv2     X__uint16_t
 12438  		F__fpu_dp        X__uint32_t
 12439  		F__fpu_ds        X__uint16_t
 12440  		F__fpu_rsrv3     X__uint16_t
 12441  		F__fpu_mxcsr     X__uint32_t
 12442  		F__fpu_mxcsrmask X__uint32_t
 12443  		F__fpu_stmm0     struct {
 12444  			F__mmst_reg  [10]int8
 12445  			F__mmst_rsrv [6]int8
 12446  		}
 12447  		F__fpu_stmm1 struct {
 12448  			F__mmst_reg  [10]int8
 12449  			F__mmst_rsrv [6]int8
 12450  		}
 12451  		F__fpu_stmm2 struct {
 12452  			F__mmst_reg  [10]int8
 12453  			F__mmst_rsrv [6]int8
 12454  		}
 12455  		F__fpu_stmm3 struct {
 12456  			F__mmst_reg  [10]int8
 12457  			F__mmst_rsrv [6]int8
 12458  		}
 12459  		F__fpu_stmm4 struct {
 12460  			F__mmst_reg  [10]int8
 12461  			F__mmst_rsrv [6]int8
 12462  		}
 12463  		F__fpu_stmm5 struct {
 12464  			F__mmst_reg  [10]int8
 12465  			F__mmst_rsrv [6]int8
 12466  		}
 12467  		F__fpu_stmm6 struct {
 12468  			F__mmst_reg  [10]int8
 12469  			F__mmst_rsrv [6]int8
 12470  		}
 12471  		F__fpu_stmm7 struct {
 12472  			F__mmst_reg  [10]int8
 12473  			F__mmst_rsrv [6]int8
 12474  		}
 12475  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12476  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12477  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12478  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12479  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12480  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12481  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12482  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12483  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 12484  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 12485  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 12486  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 12487  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 12488  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 12489  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 12490  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 12491  		F__fpu_rsrv4     [96]int8
 12492  		F__fpu_reserved1 int32
 12493  	}
 12494  	F__ccgo_pad1 [4]byte
 12495  } /* _mcontext.h:105:1 */
 12496  
 12497  type X__darwin_mcontext_avx64 = struct {
 12498  	F__es struct {
 12499  		F__trapno     X__uint16_t
 12500  		F__cpu        X__uint16_t
 12501  		F__err        X__uint32_t
 12502  		F__faultvaddr X__uint64_t
 12503  	}
 12504  	F__ss struct {
 12505  		F__rax    X__uint64_t
 12506  		F__rbx    X__uint64_t
 12507  		F__rcx    X__uint64_t
 12508  		F__rdx    X__uint64_t
 12509  		F__rdi    X__uint64_t
 12510  		F__rsi    X__uint64_t
 12511  		F__rbp    X__uint64_t
 12512  		F__rsp    X__uint64_t
 12513  		F__r8     X__uint64_t
 12514  		F__r9     X__uint64_t
 12515  		F__r10    X__uint64_t
 12516  		F__r11    X__uint64_t
 12517  		F__r12    X__uint64_t
 12518  		F__r13    X__uint64_t
 12519  		F__r14    X__uint64_t
 12520  		F__r15    X__uint64_t
 12521  		F__rip    X__uint64_t
 12522  		F__rflags X__uint64_t
 12523  		F__cs     X__uint64_t
 12524  		F__fs     X__uint64_t
 12525  		F__gs     X__uint64_t
 12526  	}
 12527  	F__fs struct {
 12528  		F__fpu_reserved [2]int32
 12529  		F__fpu_fcw      struct {
 12530  			F__ccgo_pad1 [0]uint16
 12531  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12532  		}
 12533  		F__fpu_fsw struct {
 12534  			F__ccgo_pad1 [0]uint16
 12535  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12536  		}
 12537  		F__fpu_ftw       X__uint8_t
 12538  		F__fpu_rsrv1     X__uint8_t
 12539  		F__fpu_fop       X__uint16_t
 12540  		F__fpu_ip        X__uint32_t
 12541  		F__fpu_cs        X__uint16_t
 12542  		F__fpu_rsrv2     X__uint16_t
 12543  		F__fpu_dp        X__uint32_t
 12544  		F__fpu_ds        X__uint16_t
 12545  		F__fpu_rsrv3     X__uint16_t
 12546  		F__fpu_mxcsr     X__uint32_t
 12547  		F__fpu_mxcsrmask X__uint32_t
 12548  		F__fpu_stmm0     struct {
 12549  			F__mmst_reg  [10]int8
 12550  			F__mmst_rsrv [6]int8
 12551  		}
 12552  		F__fpu_stmm1 struct {
 12553  			F__mmst_reg  [10]int8
 12554  			F__mmst_rsrv [6]int8
 12555  		}
 12556  		F__fpu_stmm2 struct {
 12557  			F__mmst_reg  [10]int8
 12558  			F__mmst_rsrv [6]int8
 12559  		}
 12560  		F__fpu_stmm3 struct {
 12561  			F__mmst_reg  [10]int8
 12562  			F__mmst_rsrv [6]int8
 12563  		}
 12564  		F__fpu_stmm4 struct {
 12565  			F__mmst_reg  [10]int8
 12566  			F__mmst_rsrv [6]int8
 12567  		}
 12568  		F__fpu_stmm5 struct {
 12569  			F__mmst_reg  [10]int8
 12570  			F__mmst_rsrv [6]int8
 12571  		}
 12572  		F__fpu_stmm6 struct {
 12573  			F__mmst_reg  [10]int8
 12574  			F__mmst_rsrv [6]int8
 12575  		}
 12576  		F__fpu_stmm7 struct {
 12577  			F__mmst_reg  [10]int8
 12578  			F__mmst_rsrv [6]int8
 12579  		}
 12580  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12581  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12582  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12583  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12584  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12585  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12586  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12587  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12588  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 12589  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 12590  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 12591  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 12592  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 12593  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 12594  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 12595  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 12596  		F__fpu_rsrv4     [96]int8
 12597  		F__fpu_reserved1 int32
 12598  		F__avx_reserved1 [64]int8
 12599  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 12600  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 12601  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 12602  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 12603  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 12604  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 12605  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 12606  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 12607  		F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 12608  		F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 12609  		F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 12610  		F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 12611  		F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 12612  		F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 12613  		F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 12614  		F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 12615  	}
 12616  	F__ccgo_pad1 [4]byte
 12617  } /* _mcontext.h:113:1 */
 12618  
 12619  type X__darwin_mcontext_avx64_full = struct {
 12620  	F__es struct {
 12621  		F__trapno     X__uint16_t
 12622  		F__cpu        X__uint16_t
 12623  		F__err        X__uint32_t
 12624  		F__faultvaddr X__uint64_t
 12625  	}
 12626  	F__ss struct {
 12627  		F__ss64 struct {
 12628  			F__rax    X__uint64_t
 12629  			F__rbx    X__uint64_t
 12630  			F__rcx    X__uint64_t
 12631  			F__rdx    X__uint64_t
 12632  			F__rdi    X__uint64_t
 12633  			F__rsi    X__uint64_t
 12634  			F__rbp    X__uint64_t
 12635  			F__rsp    X__uint64_t
 12636  			F__r8     X__uint64_t
 12637  			F__r9     X__uint64_t
 12638  			F__r10    X__uint64_t
 12639  			F__r11    X__uint64_t
 12640  			F__r12    X__uint64_t
 12641  			F__r13    X__uint64_t
 12642  			F__r14    X__uint64_t
 12643  			F__r15    X__uint64_t
 12644  			F__rip    X__uint64_t
 12645  			F__rflags X__uint64_t
 12646  			F__cs     X__uint64_t
 12647  			F__fs     X__uint64_t
 12648  			F__gs     X__uint64_t
 12649  		}
 12650  		F__ds     X__uint64_t
 12651  		F__es     X__uint64_t
 12652  		F__ss     X__uint64_t
 12653  		F__gsbase X__uint64_t
 12654  	}
 12655  	F__fs struct {
 12656  		F__fpu_reserved [2]int32
 12657  		F__fpu_fcw      struct {
 12658  			F__ccgo_pad1 [0]uint16
 12659  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12660  		}
 12661  		F__fpu_fsw struct {
 12662  			F__ccgo_pad1 [0]uint16
 12663  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12664  		}
 12665  		F__fpu_ftw       X__uint8_t
 12666  		F__fpu_rsrv1     X__uint8_t
 12667  		F__fpu_fop       X__uint16_t
 12668  		F__fpu_ip        X__uint32_t
 12669  		F__fpu_cs        X__uint16_t
 12670  		F__fpu_rsrv2     X__uint16_t
 12671  		F__fpu_dp        X__uint32_t
 12672  		F__fpu_ds        X__uint16_t
 12673  		F__fpu_rsrv3     X__uint16_t
 12674  		F__fpu_mxcsr     X__uint32_t
 12675  		F__fpu_mxcsrmask X__uint32_t
 12676  		F__fpu_stmm0     struct {
 12677  			F__mmst_reg  [10]int8
 12678  			F__mmst_rsrv [6]int8
 12679  		}
 12680  		F__fpu_stmm1 struct {
 12681  			F__mmst_reg  [10]int8
 12682  			F__mmst_rsrv [6]int8
 12683  		}
 12684  		F__fpu_stmm2 struct {
 12685  			F__mmst_reg  [10]int8
 12686  			F__mmst_rsrv [6]int8
 12687  		}
 12688  		F__fpu_stmm3 struct {
 12689  			F__mmst_reg  [10]int8
 12690  			F__mmst_rsrv [6]int8
 12691  		}
 12692  		F__fpu_stmm4 struct {
 12693  			F__mmst_reg  [10]int8
 12694  			F__mmst_rsrv [6]int8
 12695  		}
 12696  		F__fpu_stmm5 struct {
 12697  			F__mmst_reg  [10]int8
 12698  			F__mmst_rsrv [6]int8
 12699  		}
 12700  		F__fpu_stmm6 struct {
 12701  			F__mmst_reg  [10]int8
 12702  			F__mmst_rsrv [6]int8
 12703  		}
 12704  		F__fpu_stmm7 struct {
 12705  			F__mmst_reg  [10]int8
 12706  			F__mmst_rsrv [6]int8
 12707  		}
 12708  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12709  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12710  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12711  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12712  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12713  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12714  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12715  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12716  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 12717  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 12718  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 12719  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 12720  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 12721  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 12722  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 12723  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 12724  		F__fpu_rsrv4     [96]int8
 12725  		F__fpu_reserved1 int32
 12726  		F__avx_reserved1 [64]int8
 12727  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 12728  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 12729  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 12730  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 12731  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 12732  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 12733  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 12734  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 12735  		F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 12736  		F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 12737  		F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 12738  		F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 12739  		F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 12740  		F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 12741  		F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 12742  		F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 12743  	}
 12744  	F__ccgo_pad1 [4]byte
 12745  } /* _mcontext.h:121:1 */
 12746  
 12747  type X__darwin_mcontext_avx512_64 = struct {
 12748  	F__es struct {
 12749  		F__trapno     X__uint16_t
 12750  		F__cpu        X__uint16_t
 12751  		F__err        X__uint32_t
 12752  		F__faultvaddr X__uint64_t
 12753  	}
 12754  	F__ss struct {
 12755  		F__rax    X__uint64_t
 12756  		F__rbx    X__uint64_t
 12757  		F__rcx    X__uint64_t
 12758  		F__rdx    X__uint64_t
 12759  		F__rdi    X__uint64_t
 12760  		F__rsi    X__uint64_t
 12761  		F__rbp    X__uint64_t
 12762  		F__rsp    X__uint64_t
 12763  		F__r8     X__uint64_t
 12764  		F__r9     X__uint64_t
 12765  		F__r10    X__uint64_t
 12766  		F__r11    X__uint64_t
 12767  		F__r12    X__uint64_t
 12768  		F__r13    X__uint64_t
 12769  		F__r14    X__uint64_t
 12770  		F__r15    X__uint64_t
 12771  		F__rip    X__uint64_t
 12772  		F__rflags X__uint64_t
 12773  		F__cs     X__uint64_t
 12774  		F__fs     X__uint64_t
 12775  		F__gs     X__uint64_t
 12776  	}
 12777  	F__fs struct {
 12778  		F__fpu_reserved [2]int32
 12779  		F__fpu_fcw      struct {
 12780  			F__ccgo_pad1 [0]uint16
 12781  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12782  		}
 12783  		F__fpu_fsw struct {
 12784  			F__ccgo_pad1 [0]uint16
 12785  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12786  		}
 12787  		F__fpu_ftw       X__uint8_t
 12788  		F__fpu_rsrv1     X__uint8_t
 12789  		F__fpu_fop       X__uint16_t
 12790  		F__fpu_ip        X__uint32_t
 12791  		F__fpu_cs        X__uint16_t
 12792  		F__fpu_rsrv2     X__uint16_t
 12793  		F__fpu_dp        X__uint32_t
 12794  		F__fpu_ds        X__uint16_t
 12795  		F__fpu_rsrv3     X__uint16_t
 12796  		F__fpu_mxcsr     X__uint32_t
 12797  		F__fpu_mxcsrmask X__uint32_t
 12798  		F__fpu_stmm0     struct {
 12799  			F__mmst_reg  [10]int8
 12800  			F__mmst_rsrv [6]int8
 12801  		}
 12802  		F__fpu_stmm1 struct {
 12803  			F__mmst_reg  [10]int8
 12804  			F__mmst_rsrv [6]int8
 12805  		}
 12806  		F__fpu_stmm2 struct {
 12807  			F__mmst_reg  [10]int8
 12808  			F__mmst_rsrv [6]int8
 12809  		}
 12810  		F__fpu_stmm3 struct {
 12811  			F__mmst_reg  [10]int8
 12812  			F__mmst_rsrv [6]int8
 12813  		}
 12814  		F__fpu_stmm4 struct {
 12815  			F__mmst_reg  [10]int8
 12816  			F__mmst_rsrv [6]int8
 12817  		}
 12818  		F__fpu_stmm5 struct {
 12819  			F__mmst_reg  [10]int8
 12820  			F__mmst_rsrv [6]int8
 12821  		}
 12822  		F__fpu_stmm6 struct {
 12823  			F__mmst_reg  [10]int8
 12824  			F__mmst_rsrv [6]int8
 12825  		}
 12826  		F__fpu_stmm7 struct {
 12827  			F__mmst_reg  [10]int8
 12828  			F__mmst_rsrv [6]int8
 12829  		}
 12830  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12831  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 12832  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 12833  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 12834  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 12835  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 12836  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 12837  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 12838  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 12839  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 12840  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 12841  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 12842  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 12843  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 12844  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 12845  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 12846  		F__fpu_rsrv4     [96]int8
 12847  		F__fpu_reserved1 int32
 12848  		F__avx_reserved1 [64]int8
 12849  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 12850  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 12851  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 12852  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 12853  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 12854  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 12855  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 12856  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 12857  		F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 12858  		F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 12859  		F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 12860  		F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 12861  		F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 12862  		F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 12863  		F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 12864  		F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 12865  		F__fpu_k0        struct{ F__opmask_reg [8]int8 }
 12866  		F__fpu_k1        struct{ F__opmask_reg [8]int8 }
 12867  		F__fpu_k2        struct{ F__opmask_reg [8]int8 }
 12868  		F__fpu_k3        struct{ F__opmask_reg [8]int8 }
 12869  		F__fpu_k4        struct{ F__opmask_reg [8]int8 }
 12870  		F__fpu_k5        struct{ F__opmask_reg [8]int8 }
 12871  		F__fpu_k6        struct{ F__opmask_reg [8]int8 }
 12872  		F__fpu_k7        struct{ F__opmask_reg [8]int8 }
 12873  		F__fpu_zmmh0     struct{ F__ymm_reg [32]int8 }
 12874  		F__fpu_zmmh1     struct{ F__ymm_reg [32]int8 }
 12875  		F__fpu_zmmh2     struct{ F__ymm_reg [32]int8 }
 12876  		F__fpu_zmmh3     struct{ F__ymm_reg [32]int8 }
 12877  		F__fpu_zmmh4     struct{ F__ymm_reg [32]int8 }
 12878  		F__fpu_zmmh5     struct{ F__ymm_reg [32]int8 }
 12879  		F__fpu_zmmh6     struct{ F__ymm_reg [32]int8 }
 12880  		F__fpu_zmmh7     struct{ F__ymm_reg [32]int8 }
 12881  		F__fpu_zmmh8     struct{ F__ymm_reg [32]int8 }
 12882  		F__fpu_zmmh9     struct{ F__ymm_reg [32]int8 }
 12883  		F__fpu_zmmh10    struct{ F__ymm_reg [32]int8 }
 12884  		F__fpu_zmmh11    struct{ F__ymm_reg [32]int8 }
 12885  		F__fpu_zmmh12    struct{ F__ymm_reg [32]int8 }
 12886  		F__fpu_zmmh13    struct{ F__ymm_reg [32]int8 }
 12887  		F__fpu_zmmh14    struct{ F__ymm_reg [32]int8 }
 12888  		F__fpu_zmmh15    struct{ F__ymm_reg [32]int8 }
 12889  		F__fpu_zmm16     struct{ F__zmm_reg [64]int8 }
 12890  		F__fpu_zmm17     struct{ F__zmm_reg [64]int8 }
 12891  		F__fpu_zmm18     struct{ F__zmm_reg [64]int8 }
 12892  		F__fpu_zmm19     struct{ F__zmm_reg [64]int8 }
 12893  		F__fpu_zmm20     struct{ F__zmm_reg [64]int8 }
 12894  		F__fpu_zmm21     struct{ F__zmm_reg [64]int8 }
 12895  		F__fpu_zmm22     struct{ F__zmm_reg [64]int8 }
 12896  		F__fpu_zmm23     struct{ F__zmm_reg [64]int8 }
 12897  		F__fpu_zmm24     struct{ F__zmm_reg [64]int8 }
 12898  		F__fpu_zmm25     struct{ F__zmm_reg [64]int8 }
 12899  		F__fpu_zmm26     struct{ F__zmm_reg [64]int8 }
 12900  		F__fpu_zmm27     struct{ F__zmm_reg [64]int8 }
 12901  		F__fpu_zmm28     struct{ F__zmm_reg [64]int8 }
 12902  		F__fpu_zmm29     struct{ F__zmm_reg [64]int8 }
 12903  		F__fpu_zmm30     struct{ F__zmm_reg [64]int8 }
 12904  		F__fpu_zmm31     struct{ F__zmm_reg [64]int8 }
 12905  	}
 12906  	F__ccgo_pad1 [4]byte
 12907  } /* _mcontext.h:130:1 */
 12908  
 12909  type X__darwin_mcontext_avx512_64_full = struct {
 12910  	F__es struct {
 12911  		F__trapno     X__uint16_t
 12912  		F__cpu        X__uint16_t
 12913  		F__err        X__uint32_t
 12914  		F__faultvaddr X__uint64_t
 12915  	}
 12916  	F__ss struct {
 12917  		F__ss64 struct {
 12918  			F__rax    X__uint64_t
 12919  			F__rbx    X__uint64_t
 12920  			F__rcx    X__uint64_t
 12921  			F__rdx    X__uint64_t
 12922  			F__rdi    X__uint64_t
 12923  			F__rsi    X__uint64_t
 12924  			F__rbp    X__uint64_t
 12925  			F__rsp    X__uint64_t
 12926  			F__r8     X__uint64_t
 12927  			F__r9     X__uint64_t
 12928  			F__r10    X__uint64_t
 12929  			F__r11    X__uint64_t
 12930  			F__r12    X__uint64_t
 12931  			F__r13    X__uint64_t
 12932  			F__r14    X__uint64_t
 12933  			F__r15    X__uint64_t
 12934  			F__rip    X__uint64_t
 12935  			F__rflags X__uint64_t
 12936  			F__cs     X__uint64_t
 12937  			F__fs     X__uint64_t
 12938  			F__gs     X__uint64_t
 12939  		}
 12940  		F__ds     X__uint64_t
 12941  		F__es     X__uint64_t
 12942  		F__ss     X__uint64_t
 12943  		F__gsbase X__uint64_t
 12944  	}
 12945  	F__fs struct {
 12946  		F__fpu_reserved [2]int32
 12947  		F__fpu_fcw      struct {
 12948  			F__ccgo_pad1 [0]uint16
 12949  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
 12950  		}
 12951  		F__fpu_fsw struct {
 12952  			F__ccgo_pad1 [0]uint16
 12953  			F__invalid   uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
 12954  		}
 12955  		F__fpu_ftw       X__uint8_t
 12956  		F__fpu_rsrv1     X__uint8_t
 12957  		F__fpu_fop       X__uint16_t
 12958  		F__fpu_ip        X__uint32_t
 12959  		F__fpu_cs        X__uint16_t
 12960  		F__fpu_rsrv2     X__uint16_t
 12961  		F__fpu_dp        X__uint32_t
 12962  		F__fpu_ds        X__uint16_t
 12963  		F__fpu_rsrv3     X__uint16_t
 12964  		F__fpu_mxcsr     X__uint32_t
 12965  		F__fpu_mxcsrmask X__uint32_t
 12966  		F__fpu_stmm0     struct {
 12967  			F__mmst_reg  [10]int8
 12968  			F__mmst_rsrv [6]int8
 12969  		}
 12970  		F__fpu_stmm1 struct {
 12971  			F__mmst_reg  [10]int8
 12972  			F__mmst_rsrv [6]int8
 12973  		}
 12974  		F__fpu_stmm2 struct {
 12975  			F__mmst_reg  [10]int8
 12976  			F__mmst_rsrv [6]int8
 12977  		}
 12978  		F__fpu_stmm3 struct {
 12979  			F__mmst_reg  [10]int8
 12980  			F__mmst_rsrv [6]int8
 12981  		}
 12982  		F__fpu_stmm4 struct {
 12983  			F__mmst_reg  [10]int8
 12984  			F__mmst_rsrv [6]int8
 12985  		}
 12986  		F__fpu_stmm5 struct {
 12987  			F__mmst_reg  [10]int8
 12988  			F__mmst_rsrv [6]int8
 12989  		}
 12990  		F__fpu_stmm6 struct {
 12991  			F__mmst_reg  [10]int8
 12992  			F__mmst_rsrv [6]int8
 12993  		}
 12994  		F__fpu_stmm7 struct {
 12995  			F__mmst_reg  [10]int8
 12996  			F__mmst_rsrv [6]int8
 12997  		}
 12998  		F__fpu_xmm0      struct{ F__xmm_reg [16]int8 }
 12999  		F__fpu_xmm1      struct{ F__xmm_reg [16]int8 }
 13000  		F__fpu_xmm2      struct{ F__xmm_reg [16]int8 }
 13001  		F__fpu_xmm3      struct{ F__xmm_reg [16]int8 }
 13002  		F__fpu_xmm4      struct{ F__xmm_reg [16]int8 }
 13003  		F__fpu_xmm5      struct{ F__xmm_reg [16]int8 }
 13004  		F__fpu_xmm6      struct{ F__xmm_reg [16]int8 }
 13005  		F__fpu_xmm7      struct{ F__xmm_reg [16]int8 }
 13006  		F__fpu_xmm8      struct{ F__xmm_reg [16]int8 }
 13007  		F__fpu_xmm9      struct{ F__xmm_reg [16]int8 }
 13008  		F__fpu_xmm10     struct{ F__xmm_reg [16]int8 }
 13009  		F__fpu_xmm11     struct{ F__xmm_reg [16]int8 }
 13010  		F__fpu_xmm12     struct{ F__xmm_reg [16]int8 }
 13011  		F__fpu_xmm13     struct{ F__xmm_reg [16]int8 }
 13012  		F__fpu_xmm14     struct{ F__xmm_reg [16]int8 }
 13013  		F__fpu_xmm15     struct{ F__xmm_reg [16]int8 }
 13014  		F__fpu_rsrv4     [96]int8
 13015  		F__fpu_reserved1 int32
 13016  		F__avx_reserved1 [64]int8
 13017  		F__fpu_ymmh0     struct{ F__xmm_reg [16]int8 }
 13018  		F__fpu_ymmh1     struct{ F__xmm_reg [16]int8 }
 13019  		F__fpu_ymmh2     struct{ F__xmm_reg [16]int8 }
 13020  		F__fpu_ymmh3     struct{ F__xmm_reg [16]int8 }
 13021  		F__fpu_ymmh4     struct{ F__xmm_reg [16]int8 }
 13022  		F__fpu_ymmh5     struct{ F__xmm_reg [16]int8 }
 13023  		F__fpu_ymmh6     struct{ F__xmm_reg [16]int8 }
 13024  		F__fpu_ymmh7     struct{ F__xmm_reg [16]int8 }
 13025  		F__fpu_ymmh8     struct{ F__xmm_reg [16]int8 }
 13026  		F__fpu_ymmh9     struct{ F__xmm_reg [16]int8 }
 13027  		F__fpu_ymmh10    struct{ F__xmm_reg [16]int8 }
 13028  		F__fpu_ymmh11    struct{ F__xmm_reg [16]int8 }
 13029  		F__fpu_ymmh12    struct{ F__xmm_reg [16]int8 }
 13030  		F__fpu_ymmh13    struct{ F__xmm_reg [16]int8 }
 13031  		F__fpu_ymmh14    struct{ F__xmm_reg [16]int8 }
 13032  		F__fpu_ymmh15    struct{ F__xmm_reg [16]int8 }
 13033  		F__fpu_k0        struct{ F__opmask_reg [8]int8 }
 13034  		F__fpu_k1        struct{ F__opmask_reg [8]int8 }
 13035  		F__fpu_k2        struct{ F__opmask_reg [8]int8 }
 13036  		F__fpu_k3        struct{ F__opmask_reg [8]int8 }
 13037  		F__fpu_k4        struct{ F__opmask_reg [8]int8 }
 13038  		F__fpu_k5        struct{ F__opmask_reg [8]int8 }
 13039  		F__fpu_k6        struct{ F__opmask_reg [8]int8 }
 13040  		F__fpu_k7        struct{ F__opmask_reg [8]int8 }
 13041  		F__fpu_zmmh0     struct{ F__ymm_reg [32]int8 }
 13042  		F__fpu_zmmh1     struct{ F__ymm_reg [32]int8 }
 13043  		F__fpu_zmmh2     struct{ F__ymm_reg [32]int8 }
 13044  		F__fpu_zmmh3     struct{ F__ymm_reg [32]int8 }
 13045  		F__fpu_zmmh4     struct{ F__ymm_reg [32]int8 }
 13046  		F__fpu_zmmh5     struct{ F__ymm_reg [32]int8 }
 13047  		F__fpu_zmmh6     struct{ F__ymm_reg [32]int8 }
 13048  		F__fpu_zmmh7     struct{ F__ymm_reg [32]int8 }
 13049  		F__fpu_zmmh8     struct{ F__ymm_reg [32]int8 }
 13050  		F__fpu_zmmh9     struct{ F__ymm_reg [32]int8 }
 13051  		F__fpu_zmmh10    struct{ F__ymm_reg [32]int8 }
 13052  		F__fpu_zmmh11    struct{ F__ymm_reg [32]int8 }
 13053  		F__fpu_zmmh12    struct{ F__ymm_reg [32]int8 }
 13054  		F__fpu_zmmh13    struct{ F__ymm_reg [32]int8 }
 13055  		F__fpu_zmmh14    struct{ F__ymm_reg [32]int8 }
 13056  		F__fpu_zmmh15    struct{ F__ymm_reg [32]int8 }
 13057  		F__fpu_zmm16     struct{ F__zmm_reg [64]int8 }
 13058  		F__fpu_zmm17     struct{ F__zmm_reg [64]int8 }
 13059  		F__fpu_zmm18     struct{ F__zmm_reg [64]int8 }
 13060  		F__fpu_zmm19     struct{ F__zmm_reg [64]int8 }
 13061  		F__fpu_zmm20     struct{ F__zmm_reg [64]int8 }
 13062  		F__fpu_zmm21     struct{ F__zmm_reg [64]int8 }
 13063  		F__fpu_zmm22     struct{ F__zmm_reg [64]int8 }
 13064  		F__fpu_zmm23     struct{ F__zmm_reg [64]int8 }
 13065  		F__fpu_zmm24     struct{ F__zmm_reg [64]int8 }
 13066  		F__fpu_zmm25     struct{ F__zmm_reg [64]int8 }
 13067  		F__fpu_zmm26     struct{ F__zmm_reg [64]int8 }
 13068  		F__fpu_zmm27     struct{ F__zmm_reg [64]int8 }
 13069  		F__fpu_zmm28     struct{ F__zmm_reg [64]int8 }
 13070  		F__fpu_zmm29     struct{ F__zmm_reg [64]int8 }
 13071  		F__fpu_zmm30     struct{ F__zmm_reg [64]int8 }
 13072  		F__fpu_zmm31     struct{ F__zmm_reg [64]int8 }
 13073  	}
 13074  	F__ccgo_pad1 [4]byte
 13075  } /* _mcontext.h:138:1 */
 13076  
 13077  type Mcontext_t = uintptr /* _mcontext.h:204:33 */
 13078  
 13079  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13080  //
 13081  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13082  //
 13083  // This file contains Original Code and/or Modifications of Original Code
 13084  // as defined in and that are subject to the Apple Public Source License
 13085  // Version 2.0 (the 'License'). You may not use this file except in
 13086  // compliance with the License. The rights granted to you under the License
 13087  // may not be used to create, or enable the creation or redistribution of,
 13088  // unlawful or unlicensed copies of an Apple operating system, or to
 13089  // circumvent, violate, or enable the circumvention or violation of, any
 13090  // terms of an Apple operating system software license agreement.
 13091  //
 13092  // Please obtain a copy of the License at
 13093  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13094  //
 13095  // The Original Code and all software distributed under the License are
 13096  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13097  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13098  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13099  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13100  // Please see the License for the specific language governing rights and
 13101  // limitations under the License.
 13102  //
 13103  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13104  
 13105  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13106  //
 13107  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13108  //
 13109  // This file contains Original Code and/or Modifications of Original Code
 13110  // as defined in and that are subject to the Apple Public Source License
 13111  // Version 2.0 (the 'License'). You may not use this file except in
 13112  // compliance with the License. The rights granted to you under the License
 13113  // may not be used to create, or enable the creation or redistribution of,
 13114  // unlawful or unlicensed copies of an Apple operating system, or to
 13115  // circumvent, violate, or enable the circumvention or violation of, any
 13116  // terms of an Apple operating system software license agreement.
 13117  //
 13118  // Please obtain a copy of the License at
 13119  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13120  //
 13121  // The Original Code and all software distributed under the License are
 13122  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13123  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13124  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13125  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13126  // Please see the License for the specific language governing rights and
 13127  // limitations under the License.
 13128  //
 13129  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13130  
 13131  // Structure used in sigaltstack call.
 13132  
 13133  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 13134  //
 13135  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13136  //
 13137  // This file contains Original Code and/or Modifications of Original Code
 13138  // as defined in and that are subject to the Apple Public Source License
 13139  // Version 2.0 (the 'License'). You may not use this file except in
 13140  // compliance with the License. The rights granted to you under the License
 13141  // may not be used to create, or enable the creation or redistribution of,
 13142  // unlawful or unlicensed copies of an Apple operating system, or to
 13143  // circumvent, violate, or enable the circumvention or violation of, any
 13144  // terms of an Apple operating system software license agreement.
 13145  //
 13146  // Please obtain a copy of the License at
 13147  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13148  //
 13149  // The Original Code and all software distributed under the License are
 13150  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13151  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13152  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13153  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13154  // Please see the License for the specific language governing rights and
 13155  // limitations under the License.
 13156  //
 13157  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13158  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 13159  // Copyright (c) 1991, 1993
 13160  //	The Regents of the University of California.  All rights reserved.
 13161  //
 13162  // This code is derived from software contributed to Berkeley by
 13163  // Berkeley Software Design, Inc.
 13164  //
 13165  // Redistribution and use in source and binary forms, with or without
 13166  // modification, are permitted provided that the following conditions
 13167  // are met:
 13168  // 1. Redistributions of source code must retain the above copyright
 13169  //    notice, this list of conditions and the following disclaimer.
 13170  // 2. Redistributions in binary form must reproduce the above copyright
 13171  //    notice, this list of conditions and the following disclaimer in the
 13172  //    documentation and/or other materials provided with the distribution.
 13173  // 3. All advertising materials mentioning features or use of this software
 13174  //    must display the following acknowledgement:
 13175  //	This product includes software developed by the University of
 13176  //	California, Berkeley and its contributors.
 13177  // 4. Neither the name of the University nor the names of its contributors
 13178  //    may be used to endorse or promote products derived from this software
 13179  //    without specific prior written permission.
 13180  //
 13181  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 13182  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 13183  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 13184  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 13185  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 13186  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 13187  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 13188  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 13189  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 13190  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 13191  // SUCH DAMAGE.
 13192  //
 13193  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 13194  
 13195  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 13196  //
 13197  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13198  //
 13199  // This file contains Original Code and/or Modifications of Original Code
 13200  // as defined in and that are subject to the Apple Public Source License
 13201  // Version 2.0 (the 'License'). You may not use this file except in
 13202  // compliance with the License. The rights granted to you under the License
 13203  // may not be used to create, or enable the creation or redistribution of,
 13204  // unlawful or unlicensed copies of an Apple operating system, or to
 13205  // circumvent, violate, or enable the circumvention or violation of, any
 13206  // terms of an Apple operating system software license agreement.
 13207  //
 13208  // Please obtain a copy of the License at
 13209  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13210  //
 13211  // The Original Code and all software distributed under the License are
 13212  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13213  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13214  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13215  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13216  // Please see the License for the specific language governing rights and
 13217  // limitations under the License.
 13218  //
 13219  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13220  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 13221  
 13222  type X__darwin_sigaltstack = struct {
 13223  	Fss_sp       uintptr
 13224  	Fss_size     X__darwin_size_t
 13225  	Fss_flags    int32
 13226  	F__ccgo_pad1 [4]byte
 13227  } /* _sigaltstack.h:42:1 */
 13228  
 13229  type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
 13230  
 13231  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13232  //
 13233  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13234  //
 13235  // This file contains Original Code and/or Modifications of Original Code
 13236  // as defined in and that are subject to the Apple Public Source License
 13237  // Version 2.0 (the 'License'). You may not use this file except in
 13238  // compliance with the License. The rights granted to you under the License
 13239  // may not be used to create, or enable the creation or redistribution of,
 13240  // unlawful or unlicensed copies of an Apple operating system, or to
 13241  // circumvent, violate, or enable the circumvention or violation of, any
 13242  // terms of an Apple operating system software license agreement.
 13243  //
 13244  // Please obtain a copy of the License at
 13245  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13246  //
 13247  // The Original Code and all software distributed under the License are
 13248  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13249  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13250  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13251  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13252  // Please see the License for the specific language governing rights and
 13253  // limitations under the License.
 13254  //
 13255  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13256  
 13257  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 13258  //
 13259  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13260  //
 13261  // This file contains Original Code and/or Modifications of Original Code
 13262  // as defined in and that are subject to the Apple Public Source License
 13263  // Version 2.0 (the 'License'). You may not use this file except in
 13264  // compliance with the License. The rights granted to you under the License
 13265  // may not be used to create, or enable the creation or redistribution of,
 13266  // unlawful or unlicensed copies of an Apple operating system, or to
 13267  // circumvent, violate, or enable the circumvention or violation of, any
 13268  // terms of an Apple operating system software license agreement.
 13269  //
 13270  // Please obtain a copy of the License at
 13271  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13272  //
 13273  // The Original Code and all software distributed under the License are
 13274  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13275  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13276  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13277  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13278  // Please see the License for the specific language governing rights and
 13279  // limitations under the License.
 13280  //
 13281  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13282  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 13283  // Copyright (c) 1991, 1993
 13284  //	The Regents of the University of California.  All rights reserved.
 13285  //
 13286  // This code is derived from software contributed to Berkeley by
 13287  // Berkeley Software Design, Inc.
 13288  //
 13289  // Redistribution and use in source and binary forms, with or without
 13290  // modification, are permitted provided that the following conditions
 13291  // are met:
 13292  // 1. Redistributions of source code must retain the above copyright
 13293  //    notice, this list of conditions and the following disclaimer.
 13294  // 2. Redistributions in binary form must reproduce the above copyright
 13295  //    notice, this list of conditions and the following disclaimer in the
 13296  //    documentation and/or other materials provided with the distribution.
 13297  // 3. All advertising materials mentioning features or use of this software
 13298  //    must display the following acknowledgement:
 13299  //	This product includes software developed by the University of
 13300  //	California, Berkeley and its contributors.
 13301  // 4. Neither the name of the University nor the names of its contributors
 13302  //    may be used to endorse or promote products derived from this software
 13303  //    without specific prior written permission.
 13304  //
 13305  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 13306  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 13307  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 13308  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 13309  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 13310  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 13311  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 13312  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 13313  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 13314  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 13315  // SUCH DAMAGE.
 13316  //
 13317  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 13318  
 13319  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 13320  //
 13321  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13322  //
 13323  // This file contains Original Code and/or Modifications of Original Code
 13324  // as defined in and that are subject to the Apple Public Source License
 13325  // Version 2.0 (the 'License'). You may not use this file except in
 13326  // compliance with the License. The rights granted to you under the License
 13327  // may not be used to create, or enable the creation or redistribution of,
 13328  // unlawful or unlicensed copies of an Apple operating system, or to
 13329  // circumvent, violate, or enable the circumvention or violation of, any
 13330  // terms of an Apple operating system software license agreement.
 13331  //
 13332  // Please obtain a copy of the License at
 13333  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13334  //
 13335  // The Original Code and all software distributed under the License are
 13336  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13337  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13338  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13339  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13340  // Please see the License for the specific language governing rights and
 13341  // limitations under the License.
 13342  //
 13343  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13344  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 13345  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13346  //
 13347  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13348  //
 13349  // This file contains Original Code and/or Modifications of Original Code
 13350  // as defined in and that are subject to the Apple Public Source License
 13351  // Version 2.0 (the 'License'). You may not use this file except in
 13352  // compliance with the License. The rights granted to you under the License
 13353  // may not be used to create, or enable the creation or redistribution of,
 13354  // unlawful or unlicensed copies of an Apple operating system, or to
 13355  // circumvent, violate, or enable the circumvention or violation of, any
 13356  // terms of an Apple operating system software license agreement.
 13357  //
 13358  // Please obtain a copy of the License at
 13359  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13360  //
 13361  // The Original Code and all software distributed under the License are
 13362  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13363  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13364  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13365  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13366  // Please see the License for the specific language governing rights and
 13367  // limitations under the License.
 13368  //
 13369  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13370  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13371  //
 13372  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13373  //
 13374  // This file contains Original Code and/or Modifications of Original Code
 13375  // as defined in and that are subject to the Apple Public Source License
 13376  // Version 2.0 (the 'License'). You may not use this file except in
 13377  // compliance with the License. The rights granted to you under the License
 13378  // may not be used to create, or enable the creation or redistribution of,
 13379  // unlawful or unlicensed copies of an Apple operating system, or to
 13380  // circumvent, violate, or enable the circumvention or violation of, any
 13381  // terms of an Apple operating system software license agreement.
 13382  //
 13383  // Please obtain a copy of the License at
 13384  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13385  //
 13386  // The Original Code and all software distributed under the License are
 13387  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13388  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13389  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13390  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13391  // Please see the License for the specific language governing rights and
 13392  // limitations under the License.
 13393  //
 13394  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13395  
 13396  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 13397  //
 13398  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13399  //
 13400  // This file contains Original Code and/or Modifications of Original Code
 13401  // as defined in and that are subject to the Apple Public Source License
 13402  // Version 2.0 (the 'License'). You may not use this file except in
 13403  // compliance with the License. The rights granted to you under the License
 13404  // may not be used to create, or enable the creation or redistribution of,
 13405  // unlawful or unlicensed copies of an Apple operating system, or to
 13406  // circumvent, violate, or enable the circumvention or violation of, any
 13407  // terms of an Apple operating system software license agreement.
 13408  //
 13409  // Please obtain a copy of the License at
 13410  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13411  //
 13412  // The Original Code and all software distributed under the License are
 13413  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13414  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13415  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13416  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13417  // Please see the License for the specific language governing rights and
 13418  // limitations under the License.
 13419  //
 13420  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13421  
 13422  type X__darwin_ucontext = struct {
 13423  	Fuc_onstack int32
 13424  	Fuc_sigmask X__darwin_sigset_t
 13425  	Fuc_stack   struct {
 13426  		Fss_sp       uintptr
 13427  		Fss_size     X__darwin_size_t
 13428  		Fss_flags    int32
 13429  		F__ccgo_pad1 [4]byte
 13430  	}
 13431  	Fuc_link     uintptr
 13432  	Fuc_mcsize   X__darwin_size_t
 13433  	Fuc_mcontext uintptr
 13434  } /* _ucontext.h:42:1 */
 13435  
 13436  // user context
 13437  type Ucontext_t = X__darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context
 13438  
 13439  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13440  //
 13441  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13442  //
 13443  // This file contains Original Code and/or Modifications of Original Code
 13444  // as defined in and that are subject to the Apple Public Source License
 13445  // Version 2.0 (the 'License'). You may not use this file except in
 13446  // compliance with the License. The rights granted to you under the License
 13447  // may not be used to create, or enable the creation or redistribution of,
 13448  // unlawful or unlicensed copies of an Apple operating system, or to
 13449  // circumvent, violate, or enable the circumvention or violation of, any
 13450  // terms of an Apple operating system software license agreement.
 13451  //
 13452  // Please obtain a copy of the License at
 13453  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13454  //
 13455  // The Original Code and all software distributed under the License are
 13456  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13457  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13458  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13459  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13460  // Please see the License for the specific language governing rights and
 13461  // limitations under the License.
 13462  //
 13463  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13464  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13465  //
 13466  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13467  //
 13468  // This file contains Original Code and/or Modifications of Original Code
 13469  // as defined in and that are subject to the Apple Public Source License
 13470  // Version 2.0 (the 'License'). You may not use this file except in
 13471  // compliance with the License. The rights granted to you under the License
 13472  // may not be used to create, or enable the creation or redistribution of,
 13473  // unlawful or unlicensed copies of an Apple operating system, or to
 13474  // circumvent, violate, or enable the circumvention or violation of, any
 13475  // terms of an Apple operating system software license agreement.
 13476  //
 13477  // Please obtain a copy of the License at
 13478  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13479  //
 13480  // The Original Code and all software distributed under the License are
 13481  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13482  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13483  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13484  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13485  // Please see the License for the specific language governing rights and
 13486  // limitations under the License.
 13487  //
 13488  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13489  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13490  //
 13491  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13492  //
 13493  // This file contains Original Code and/or Modifications of Original Code
 13494  // as defined in and that are subject to the Apple Public Source License
 13495  // Version 2.0 (the 'License'). You may not use this file except in
 13496  // compliance with the License. The rights granted to you under the License
 13497  // may not be used to create, or enable the creation or redistribution of,
 13498  // unlawful or unlicensed copies of an Apple operating system, or to
 13499  // circumvent, violate, or enable the circumvention or violation of, any
 13500  // terms of an Apple operating system software license agreement.
 13501  //
 13502  // Please obtain a copy of the License at
 13503  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13504  //
 13505  // The Original Code and all software distributed under the License are
 13506  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13507  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13508  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13509  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13510  // Please see the License for the specific language governing rights and
 13511  // limitations under the License.
 13512  //
 13513  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13514  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13515  //
 13516  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13517  //
 13518  // This file contains Original Code and/or Modifications of Original Code
 13519  // as defined in and that are subject to the Apple Public Source License
 13520  // Version 2.0 (the 'License'). You may not use this file except in
 13521  // compliance with the License. The rights granted to you under the License
 13522  // may not be used to create, or enable the creation or redistribution of,
 13523  // unlawful or unlicensed copies of an Apple operating system, or to
 13524  // circumvent, violate, or enable the circumvention or violation of, any
 13525  // terms of an Apple operating system software license agreement.
 13526  //
 13527  // Please obtain a copy of the License at
 13528  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13529  //
 13530  // The Original Code and all software distributed under the License are
 13531  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13532  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13533  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13534  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13535  // Please see the License for the specific language governing rights and
 13536  // limitations under the License.
 13537  //
 13538  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13539  
 13540  type Sigval = struct {
 13541  	F__ccgo_pad1 [0]uint64
 13542  	Fsival_int   int32
 13543  	F__ccgo_pad2 [4]byte
 13544  } /* signal.h:158:1 */
 13545  
 13546  type Sigevent = struct {
 13547  	Fsigev_notify int32
 13548  	Fsigev_signo  int32
 13549  	Fsigev_value  struct {
 13550  		F__ccgo_pad1 [0]uint64
 13551  		Fsival_int   int32
 13552  		F__ccgo_pad2 [4]byte
 13553  	}
 13554  	Fsigev_notify_function   uintptr
 13555  	Fsigev_notify_attributes uintptr
 13556  } /* signal.h:168:1 */
 13557  
 13558  type X__siginfo = struct {
 13559  	Fsi_signo  int32
 13560  	Fsi_errno  int32
 13561  	Fsi_code   int32
 13562  	Fsi_pid    Pid_t
 13563  	Fsi_uid    Uid_t
 13564  	Fsi_status int32
 13565  	Fsi_addr   uintptr
 13566  	Fsi_value  struct {
 13567  		F__ccgo_pad1 [0]uint64
 13568  		Fsival_int   int32
 13569  		F__ccgo_pad2 [4]byte
 13570  	}
 13571  	Fsi_band int64
 13572  	F__pad   [7]uint64
 13573  } /* signal.h:177:9 */
 13574  
 13575  type Siginfo_t = X__siginfo /* signal.h:188:3 */
 13576  
 13577  // When the signal is SIGILL or SIGFPE, si_addr contains the address of
 13578  // the faulting instruction.
 13579  // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of
 13580  // the faulting memory reference. Although for x86 there are cases of SIGSEGV
 13581  // for which si_addr cannot be determined and is NULL.
 13582  // If the signal is SIGCHLD, the si_pid field will contain the child process ID,
 13583  //  si_status contains the exit value or signal and
 13584  //  si_uid contains the real user ID of the process that sent the signal.
 13585  
 13586  // Values for si_code
 13587  
 13588  // Codes for SIGILL
 13589  
 13590  // Codes for SIGFPE
 13591  
 13592  // Codes for SIGSEGV
 13593  
 13594  // Codes for SIGBUS
 13595  
 13596  // Codes for SIGTRAP
 13597  
 13598  // Codes for SIGCHLD
 13599  
 13600  // Codes for SIGPOLL
 13601  
 13602  // union for signal handlers
 13603  type X__sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */
 13604  
 13605  // Signal vector template for Kernel user boundary
 13606  type X__sigaction = struct {
 13607  	F__sigaction_u struct{ F__sa_handler uintptr }
 13608  	Fsa_tramp      uintptr
 13609  	Fsa_mask       Sigset_t
 13610  	Fsa_flags      int32
 13611  } /* signal.h:276:1 */
 13612  
 13613  // Signal vector "template" used in sigaction call.
 13614  type Sigaction = struct {
 13615  	F__sigaction_u struct{ F__sa_handler uintptr }
 13616  	Fsa_mask       Sigset_t
 13617  	Fsa_flags      int32
 13618  } /* signal.h:286:1 */
 13619  
 13620  // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler.
 13621  
 13622  // This will provide 64bit register set in a 32bit user address space
 13623  
 13624  // the following are the only bits we support from user space, the
 13625  // rest are for kernel use only.
 13626  
 13627  // Flags for sigprocmask:
 13628  
 13629  // POSIX 1003.1b required values.
 13630  
 13631  type Sig_t = uintptr /* signal.h:331:14 */ // type of signal function
 13632  
 13633  // Structure used in sigaltstack call.
 13634  
 13635  // 4.3 compatibility:
 13636  // Signal vector "template" used in sigvec call.
 13637  type Sigvec = struct {
 13638  	Fsv_handler uintptr
 13639  	Fsv_mask    int32
 13640  	Fsv_flags   int32
 13641  } /* signal.h:348:1 */
 13642  
 13643  // Structure used in sigstack call.
 13644  type Sigstack = struct {
 13645  	Fss_sp       uintptr
 13646  	Fss_onstack  int32
 13647  	F__ccgo_pad1 [4]byte
 13648  } /* signal.h:367:1 */
 13649  
 13650  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 13651  //
 13652  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13653  //
 13654  // This file contains Original Code and/or Modifications of Original Code
 13655  // as defined in and that are subject to the Apple Public Source License
 13656  // Version 2.0 (the 'License'). You may not use this file except in
 13657  // compliance with the License. The rights granted to you under the License
 13658  // may not be used to create, or enable the creation or redistribution of,
 13659  // unlawful or unlicensed copies of an Apple operating system, or to
 13660  // circumvent, violate, or enable the circumvention or violation of, any
 13661  // terms of an Apple operating system software license agreement.
 13662  //
 13663  // Please obtain a copy of the License at
 13664  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13665  //
 13666  // The Original Code and all software distributed under the License are
 13667  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13668  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13669  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13670  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13671  // Please see the License for the specific language governing rights and
 13672  // limitations under the License.
 13673  //
 13674  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13675  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
 13676  // Copyright (c) 1982, 1986, 1993
 13677  //	The Regents of the University of California.  All rights reserved.
 13678  //
 13679  // Redistribution and use in source and binary forms, with or without
 13680  // modification, are permitted provided that the following conditions
 13681  // are met:
 13682  // 1. Redistributions of source code must retain the above copyright
 13683  //    notice, this list of conditions and the following disclaimer.
 13684  // 2. Redistributions in binary form must reproduce the above copyright
 13685  //    notice, this list of conditions and the following disclaimer in the
 13686  //    documentation and/or other materials provided with the distribution.
 13687  // 3. All advertising materials mentioning features or use of this software
 13688  //    must display the following acknowledgement:
 13689  //	This product includes software developed by the University of
 13690  //	California, Berkeley and its contributors.
 13691  // 4. Neither the name of the University nor the names of its contributors
 13692  //    may be used to endorse or promote products derived from this software
 13693  //    without specific prior written permission.
 13694  //
 13695  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 13696  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 13697  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 13698  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 13699  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 13700  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 13701  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 13702  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 13703  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 13704  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 13705  // SUCH DAMAGE.
 13706  //
 13707  //	@(#)resource.h	8.2 (Berkeley) 1/4/94
 13708  
 13709  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
 13710  //
 13711  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13712  //
 13713  // This file contains Original Code and/or Modifications of Original Code
 13714  // as defined in and that are subject to the Apple Public Source License
 13715  // Version 2.0 (the 'License'). You may not use this file except in
 13716  // compliance with the License. The rights granted to you under the License
 13717  // may not be used to create, or enable the creation or redistribution of,
 13718  // unlawful or unlicensed copies of an Apple operating system, or to
 13719  // circumvent, violate, or enable the circumvention or violation of, any
 13720  // terms of an Apple operating system software license agreement.
 13721  //
 13722  // Please obtain a copy of the License at
 13723  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13724  //
 13725  // The Original Code and all software distributed under the License are
 13726  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13727  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13728  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13729  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13730  // Please see the License for the specific language governing rights and
 13731  // limitations under the License.
 13732  //
 13733  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13734  
 13735  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 13736  //
 13737  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13738  //
 13739  // This file contains Original Code and/or Modifications of Original Code
 13740  // as defined in and that are subject to the Apple Public Source License
 13741  // Version 2.0 (the 'License'). You may not use this file except in
 13742  // compliance with the License. The rights granted to you under the License
 13743  // may not be used to create, or enable the creation or redistribution of,
 13744  // unlawful or unlicensed copies of an Apple operating system, or to
 13745  // circumvent, violate, or enable the circumvention or violation of, any
 13746  // terms of an Apple operating system software license agreement.
 13747  //
 13748  // Please obtain a copy of the License at
 13749  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13750  //
 13751  // The Original Code and all software distributed under the License are
 13752  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13753  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13754  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13755  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13756  // Please see the License for the specific language governing rights and
 13757  // limitations under the License.
 13758  //
 13759  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13760  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 13761  // Copyright (c) 1991, 1993
 13762  //	The Regents of the University of California.  All rights reserved.
 13763  //
 13764  // This code is derived from software contributed to Berkeley by
 13765  // Berkeley Software Design, Inc.
 13766  //
 13767  // Redistribution and use in source and binary forms, with or without
 13768  // modification, are permitted provided that the following conditions
 13769  // are met:
 13770  // 1. Redistributions of source code must retain the above copyright
 13771  //    notice, this list of conditions and the following disclaimer.
 13772  // 2. Redistributions in binary form must reproduce the above copyright
 13773  //    notice, this list of conditions and the following disclaimer in the
 13774  //    documentation and/or other materials provided with the distribution.
 13775  // 3. All advertising materials mentioning features or use of this software
 13776  //    must display the following acknowledgement:
 13777  //	This product includes software developed by the University of
 13778  //	California, Berkeley and its contributors.
 13779  // 4. Neither the name of the University nor the names of its contributors
 13780  //    may be used to endorse or promote products derived from this software
 13781  //    without specific prior written permission.
 13782  //
 13783  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 13784  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 13785  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 13786  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 13787  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 13788  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 13789  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 13790  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 13791  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 13792  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 13793  // SUCH DAMAGE.
 13794  //
 13795  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 13796  
 13797  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 13798  //
 13799  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13800  //
 13801  // This file contains Original Code and/or Modifications of Original Code
 13802  // as defined in and that are subject to the Apple Public Source License
 13803  // Version 2.0 (the 'License'). You may not use this file except in
 13804  // compliance with the License. The rights granted to you under the License
 13805  // may not be used to create, or enable the creation or redistribution of,
 13806  // unlawful or unlicensed copies of an Apple operating system, or to
 13807  // circumvent, violate, or enable the circumvention or violation of, any
 13808  // terms of an Apple operating system software license agreement.
 13809  //
 13810  // Please obtain a copy of the License at
 13811  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13812  //
 13813  // The Original Code and all software distributed under the License are
 13814  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13815  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13816  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13817  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13818  // Please see the License for the specific language governing rights and
 13819  // limitations under the License.
 13820  //
 13821  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13822  
 13823  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
 13824  //
 13825  // @APPLE_LICENSE_HEADER_START@
 13826  //
 13827  // This file contains Original Code and/or Modifications of Original Code
 13828  // as defined in and that are subject to the Apple Public Source License
 13829  // Version 2.0 (the 'License'). You may not use this file except in
 13830  // compliance with the License. Please obtain a copy of the License at
 13831  // http://www.opensource.apple.com/apsl/ and read it before using this
 13832  // file.
 13833  //
 13834  // The Original Code and all software distributed under the License are
 13835  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13836  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13837  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13838  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13839  // Please see the License for the specific language governing rights and
 13840  // limitations under the License.
 13841  //
 13842  // @APPLE_LICENSE_HEADER_END@
 13843  
 13844  // [XSI] The timeval structure shall be defined as described in
 13845  // <sys/time.h>
 13846  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13847  //
 13848  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13849  //
 13850  // This file contains Original Code and/or Modifications of Original Code
 13851  // as defined in and that are subject to the Apple Public Source License
 13852  // Version 2.0 (the 'License'). You may not use this file except in
 13853  // compliance with the License. The rights granted to you under the License
 13854  // may not be used to create, or enable the creation or redistribution of,
 13855  // unlawful or unlicensed copies of an Apple operating system, or to
 13856  // circumvent, violate, or enable the circumvention or violation of, any
 13857  // terms of an Apple operating system software license agreement.
 13858  //
 13859  // Please obtain a copy of the License at
 13860  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13861  //
 13862  // The Original Code and all software distributed under the License are
 13863  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13864  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13865  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13866  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13867  // Please see the License for the specific language governing rights and
 13868  // limitations under the License.
 13869  //
 13870  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13871  
 13872  // The id_t type shall be defined as described in <sys/types.h>
 13873  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 13874  //
 13875  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 13876  //
 13877  // This file contains Original Code and/or Modifications of Original Code
 13878  // as defined in and that are subject to the Apple Public Source License
 13879  // Version 2.0 (the 'License'). You may not use this file except in
 13880  // compliance with the License. The rights granted to you under the License
 13881  // may not be used to create, or enable the creation or redistribution of,
 13882  // unlawful or unlicensed copies of an Apple operating system, or to
 13883  // circumvent, violate, or enable the circumvention or violation of, any
 13884  // terms of an Apple operating system software license agreement.
 13885  //
 13886  // Please obtain a copy of the License at
 13887  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 13888  //
 13889  // The Original Code and all software distributed under the License are
 13890  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 13891  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 13892  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 13893  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 13894  // Please see the License for the specific language governing rights and
 13895  // limitations under the License.
 13896  //
 13897  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 13898  
 13899  // Resource limit type (low 63 bits, excluding the sign bit)
 13900  type Rlim_t = X__uint64_t /* resource.h:89:25 */
 13901  
 13902  // ****
 13903  //
 13904  // PRIORITY
 13905  
 13906  // Possible values of the first parameter to getpriority()/setpriority(),
 13907  // used to indicate the type of the second parameter.
 13908  
 13909  // Range limitations for the value of the third parameter to setpriority().
 13910  
 13911  // use PRIO_DARWIN_BG to set the current thread into "background" state
 13912  // which lowers CPU, disk IO, and networking priorites until thread terminates
 13913  // or "background" state is revoked
 13914  
 13915  // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to
 13916  // the GPU. (deprecated)
 13917  
 13918  // ****
 13919  //
 13920  // RESOURCE USAGE
 13921  
 13922  // Possible values of the first parameter to getrusage(), used to indicate
 13923  // the scope of the information to be returned.
 13924  
 13925  // A structure representing an accounting of resource utilization.  The
 13926  // address of an instance of this structure is the second parameter to
 13927  // getrusage().
 13928  //
 13929  // Note: All values other than ru_utime and ru_stime are implementaiton
 13930  //       defined and subject to change in a future release.  Their use
 13931  //       is discouraged for standards compliant programs.
 13932  type Rusage = struct {
 13933  	Fru_utime struct {
 13934  		Ftv_sec      X__darwin_time_t
 13935  		Ftv_usec     X__darwin_suseconds_t
 13936  		F__ccgo_pad1 [4]byte
 13937  	}
 13938  	Fru_stime struct {
 13939  		Ftv_sec      X__darwin_time_t
 13940  		Ftv_usec     X__darwin_suseconds_t
 13941  		F__ccgo_pad1 [4]byte
 13942  	}
 13943  	Fru_maxrss   int64
 13944  	Fru_ixrss    int64
 13945  	Fru_idrss    int64
 13946  	Fru_isrss    int64
 13947  	Fru_minflt   int64
 13948  	Fru_majflt   int64
 13949  	Fru_nswap    int64
 13950  	Fru_inblock  int64
 13951  	Fru_oublock  int64
 13952  	Fru_msgsnd   int64
 13953  	Fru_msgrcv   int64
 13954  	Fru_nsignals int64
 13955  	Fru_nvcsw    int64
 13956  	Fru_nivcsw   int64
 13957  } /* resource.h:152:1 */
 13958  
 13959  // Flavors for proc_pid_rusage().
 13960  
 13961  type Rusage_info_t = uintptr /* resource.h:193:14 */
 13962  
 13963  type Rusage_info_v0 = struct {
 13964  	Fri_uuid               [16]Uint8_t
 13965  	Fri_user_time          Uint64_t
 13966  	Fri_system_time        Uint64_t
 13967  	Fri_pkg_idle_wkups     Uint64_t
 13968  	Fri_interrupt_wkups    Uint64_t
 13969  	Fri_pageins            Uint64_t
 13970  	Fri_wired_size         Uint64_t
 13971  	Fri_resident_size      Uint64_t
 13972  	Fri_phys_footprint     Uint64_t
 13973  	Fri_proc_start_abstime Uint64_t
 13974  	Fri_proc_exit_abstime  Uint64_t
 13975  } /* resource.h:195:1 */
 13976  
 13977  type Rusage_info_v1 = struct {
 13978  	Fri_uuid                  [16]Uint8_t
 13979  	Fri_user_time             Uint64_t
 13980  	Fri_system_time           Uint64_t
 13981  	Fri_pkg_idle_wkups        Uint64_t
 13982  	Fri_interrupt_wkups       Uint64_t
 13983  	Fri_pageins               Uint64_t
 13984  	Fri_wired_size            Uint64_t
 13985  	Fri_resident_size         Uint64_t
 13986  	Fri_phys_footprint        Uint64_t
 13987  	Fri_proc_start_abstime    Uint64_t
 13988  	Fri_proc_exit_abstime     Uint64_t
 13989  	Fri_child_user_time       Uint64_t
 13990  	Fri_child_system_time     Uint64_t
 13991  	Fri_child_pkg_idle_wkups  Uint64_t
 13992  	Fri_child_interrupt_wkups Uint64_t
 13993  	Fri_child_pageins         Uint64_t
 13994  	Fri_child_elapsed_abstime Uint64_t
 13995  } /* resource.h:209:1 */
 13996  
 13997  type Rusage_info_v2 = struct {
 13998  	Fri_uuid                  [16]Uint8_t
 13999  	Fri_user_time             Uint64_t
 14000  	Fri_system_time           Uint64_t
 14001  	Fri_pkg_idle_wkups        Uint64_t
 14002  	Fri_interrupt_wkups       Uint64_t
 14003  	Fri_pageins               Uint64_t
 14004  	Fri_wired_size            Uint64_t
 14005  	Fri_resident_size         Uint64_t
 14006  	Fri_phys_footprint        Uint64_t
 14007  	Fri_proc_start_abstime    Uint64_t
 14008  	Fri_proc_exit_abstime     Uint64_t
 14009  	Fri_child_user_time       Uint64_t
 14010  	Fri_child_system_time     Uint64_t
 14011  	Fri_child_pkg_idle_wkups  Uint64_t
 14012  	Fri_child_interrupt_wkups Uint64_t
 14013  	Fri_child_pageins         Uint64_t
 14014  	Fri_child_elapsed_abstime Uint64_t
 14015  	Fri_diskio_bytesread      Uint64_t
 14016  	Fri_diskio_byteswritten   Uint64_t
 14017  } /* resource.h:229:1 */
 14018  
 14019  type Rusage_info_v3 = struct {
 14020  	Fri_uuid                          [16]Uint8_t
 14021  	Fri_user_time                     Uint64_t
 14022  	Fri_system_time                   Uint64_t
 14023  	Fri_pkg_idle_wkups                Uint64_t
 14024  	Fri_interrupt_wkups               Uint64_t
 14025  	Fri_pageins                       Uint64_t
 14026  	Fri_wired_size                    Uint64_t
 14027  	Fri_resident_size                 Uint64_t
 14028  	Fri_phys_footprint                Uint64_t
 14029  	Fri_proc_start_abstime            Uint64_t
 14030  	Fri_proc_exit_abstime             Uint64_t
 14031  	Fri_child_user_time               Uint64_t
 14032  	Fri_child_system_time             Uint64_t
 14033  	Fri_child_pkg_idle_wkups          Uint64_t
 14034  	Fri_child_interrupt_wkups         Uint64_t
 14035  	Fri_child_pageins                 Uint64_t
 14036  	Fri_child_elapsed_abstime         Uint64_t
 14037  	Fri_diskio_bytesread              Uint64_t
 14038  	Fri_diskio_byteswritten           Uint64_t
 14039  	Fri_cpu_time_qos_default          Uint64_t
 14040  	Fri_cpu_time_qos_maintenance      Uint64_t
 14041  	Fri_cpu_time_qos_background       Uint64_t
 14042  	Fri_cpu_time_qos_utility          Uint64_t
 14043  	Fri_cpu_time_qos_legacy           Uint64_t
 14044  	Fri_cpu_time_qos_user_initiated   Uint64_t
 14045  	Fri_cpu_time_qos_user_interactive Uint64_t
 14046  	Fri_billed_system_time            Uint64_t
 14047  	Fri_serviced_system_time          Uint64_t
 14048  } /* resource.h:251:1 */
 14049  
 14050  type Rusage_info_v4 = struct {
 14051  	Fri_uuid                          [16]Uint8_t
 14052  	Fri_user_time                     Uint64_t
 14053  	Fri_system_time                   Uint64_t
 14054  	Fri_pkg_idle_wkups                Uint64_t
 14055  	Fri_interrupt_wkups               Uint64_t
 14056  	Fri_pageins                       Uint64_t
 14057  	Fri_wired_size                    Uint64_t
 14058  	Fri_resident_size                 Uint64_t
 14059  	Fri_phys_footprint                Uint64_t
 14060  	Fri_proc_start_abstime            Uint64_t
 14061  	Fri_proc_exit_abstime             Uint64_t
 14062  	Fri_child_user_time               Uint64_t
 14063  	Fri_child_system_time             Uint64_t
 14064  	Fri_child_pkg_idle_wkups          Uint64_t
 14065  	Fri_child_interrupt_wkups         Uint64_t
 14066  	Fri_child_pageins                 Uint64_t
 14067  	Fri_child_elapsed_abstime         Uint64_t
 14068  	Fri_diskio_bytesread              Uint64_t
 14069  	Fri_diskio_byteswritten           Uint64_t
 14070  	Fri_cpu_time_qos_default          Uint64_t
 14071  	Fri_cpu_time_qos_maintenance      Uint64_t
 14072  	Fri_cpu_time_qos_background       Uint64_t
 14073  	Fri_cpu_time_qos_utility          Uint64_t
 14074  	Fri_cpu_time_qos_legacy           Uint64_t
 14075  	Fri_cpu_time_qos_user_initiated   Uint64_t
 14076  	Fri_cpu_time_qos_user_interactive Uint64_t
 14077  	Fri_billed_system_time            Uint64_t
 14078  	Fri_serviced_system_time          Uint64_t
 14079  	Fri_logical_writes                Uint64_t
 14080  	Fri_lifetime_max_phys_footprint   Uint64_t
 14081  	Fri_instructions                  Uint64_t
 14082  	Fri_cycles                        Uint64_t
 14083  	Fri_billed_energy                 Uint64_t
 14084  	Fri_serviced_energy               Uint64_t
 14085  	Fri_interval_max_phys_footprint   Uint64_t
 14086  	Fri_runnable_time                 Uint64_t
 14087  } /* resource.h:282:1 */
 14088  
 14089  type Rusage_info_current = Rusage_info_v4 /* resource.h:321:31 */
 14090  
 14091  // ****
 14092  //
 14093  // RESOURCE LIMITS
 14094  
 14095  // Symbolic constants for resource limits; since all limits are representable
 14096  // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of
 14097  // RLIM_INFINITY.
 14098  
 14099  // Possible values of the first parameter to getrlimit()/setrlimit(), to
 14100  // indicate for which resource the operation is being performed.
 14101  
 14102  // A structure representing a resource limit.  The address of an instance
 14103  // of this structure is the second parameter to getrlimit()/setrlimit().
 14104  type Rlimit = struct {
 14105  	Frlim_cur Rlim_t
 14106  	Frlim_max Rlim_t
 14107  } /* resource.h:365:1 */
 14108  
 14109  // proc_rlimit_control()
 14110  //
 14111  // Resource limit flavors
 14112  
 14113  // Flags for wakeups monitor control.
 14114  
 14115  // Flags for CPU usage monitor control.
 14116  
 14117  // Flags for memory footprint interval tracking.
 14118  
 14119  type Proc_rlimit_control_wakeupmon = struct {
 14120  	Fwm_flags Uint32_t
 14121  	Fwm_rate  Int32_t
 14122  } /* resource.h:400:1 */
 14123  
 14124  // Option bits for the third argument of wait4.  WNOHANG causes the
 14125  // wait to not hang if there are no stopped or terminated processes, rather
 14126  // returning an error indication in this case (pid==0).  WUNTRACED
 14127  // indicates that the caller should receive status about untraced children
 14128  // which stop due to signals.  If children are stopped and a wait without
 14129  // this option is done, it is as though they were still running... nothing
 14130  // about them is returned.
 14131  
 14132  // Macros to test the exit status returned by wait
 14133  // and extract the relevant values.
 14134  
 14135  // These macros are permited, as they are in the implementation namespace
 14136  
 14137  // [XSI] The <sys/wait.h> header shall define the following macros for
 14138  // analysis of process status values
 14139  // 0x13 == SIGCONT
 14140  
 14141  // [XSI] The following symbolic constants shall be defined as possible
 14142  // values for the fourth argument to waitid().
 14143  // WNOHANG already defined for wait4()
 14144  // WUNTRACED defined for wait4() but not for waitid()
 14145  // waitid() parameter
 14146  
 14147  // POSIX extensions and 4.2/4.3 compatability:
 14148  
 14149  // Tokens for special values of the "pid" parameter to wait4.
 14150  
 14151  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 14152  //
 14153  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14154  //
 14155  // This file contains Original Code and/or Modifications of Original Code
 14156  // as defined in and that are subject to the Apple Public Source License
 14157  // Version 2.0 (the 'License'). You may not use this file except in
 14158  // compliance with the License. The rights granted to you under the License
 14159  // may not be used to create, or enable the creation or redistribution of,
 14160  // unlawful or unlicensed copies of an Apple operating system, or to
 14161  // circumvent, violate, or enable the circumvention or violation of, any
 14162  // terms of an Apple operating system software license agreement.
 14163  //
 14164  // Please obtain a copy of the License at
 14165  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14166  //
 14167  // The Original Code and all software distributed under the License are
 14168  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14169  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14170  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14171  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14172  // Please see the License for the specific language governing rights and
 14173  // limitations under the License.
 14174  //
 14175  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14176  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 14177  
 14178  // Deprecated:
 14179  // Structure of the information in the status word returned by wait4.
 14180  // If w_stopval==_WSTOPPED, then the second structure describes
 14181  // the information returned, else the first.
 14182  type Wait = struct{ Fw_status int32 } /* wait.h:194:1 */
 14183  
 14184  // built-in for gcc
 14185  
 14186  // built-in for gcc 3
 14187  
 14188  // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
 14189  // _GCC_SIZE_T
 14190  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 14191  //
 14192  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14193  //
 14194  // This file contains Original Code and/or Modifications of Original Code
 14195  // as defined in and that are subject to the Apple Public Source License
 14196  // Version 2.0 (the 'License'). You may not use this file except in
 14197  // compliance with the License. The rights granted to you under the License
 14198  // may not be used to create, or enable the creation or redistribution of,
 14199  // unlawful or unlicensed copies of an Apple operating system, or to
 14200  // circumvent, violate, or enable the circumvention or violation of, any
 14201  // terms of an Apple operating system software license agreement.
 14202  //
 14203  // Please obtain a copy of the License at
 14204  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14205  //
 14206  // The Original Code and all software distributed under the License are
 14207  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14208  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14209  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14210  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14211  // Please see the License for the specific language governing rights and
 14212  // limitations under the License.
 14213  //
 14214  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14215  
 14216  // Copyright (c) 2012 Apple Inc. All rights reserved.
 14217  //
 14218  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14219  //
 14220  // This file contains Original Code and/or Modifications of Original Code
 14221  // as defined in and that are subject to the Apple Public Source License
 14222  // Version 2.0 (the 'License'). You may not use this file except in
 14223  // compliance with the License. The rights granted to you under the License
 14224  // may not be used to create, or enable the creation or redistribution of,
 14225  // unlawful or unlicensed copies of an Apple operating system, or to
 14226  // circumvent, violate, or enable the circumvention or violation of, any
 14227  // terms of an Apple operating system software license agreement.
 14228  //
 14229  // Please obtain a copy of the License at
 14230  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14231  //
 14232  // The Original Code and all software distributed under the License are
 14233  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14234  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14235  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14236  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14237  // Please see the License for the specific language governing rights and
 14238  // limitations under the License.
 14239  //
 14240  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14241  
 14242  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 14243  //
 14244  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14245  //
 14246  // This file contains Original Code and/or Modifications of Original Code
 14247  // as defined in and that are subject to the Apple Public Source License
 14248  // Version 2.0 (the 'License'). You may not use this file except in
 14249  // compliance with the License. The rights granted to you under the License
 14250  // may not be used to create, or enable the creation or redistribution of,
 14251  // unlawful or unlicensed copies of an Apple operating system, or to
 14252  // circumvent, violate, or enable the circumvention or violation of, any
 14253  // terms of an Apple operating system software license agreement.
 14254  //
 14255  // Please obtain a copy of the License at
 14256  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14257  //
 14258  // The Original Code and all software distributed under the License are
 14259  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14260  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14261  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14262  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14263  // Please see the License for the specific language governing rights and
 14264  // limitations under the License.
 14265  //
 14266  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14267  type Ct_rune_t = X__darwin_ct_rune_t /* _ct_rune_t.h:32:28 */
 14268  // Copyright (c) 2012 Apple Inc. All rights reserved.
 14269  //
 14270  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14271  //
 14272  // This file contains Original Code and/or Modifications of Original Code
 14273  // as defined in and that are subject to the Apple Public Source License
 14274  // Version 2.0 (the 'License'). You may not use this file except in
 14275  // compliance with the License. The rights granted to you under the License
 14276  // may not be used to create, or enable the creation or redistribution of,
 14277  // unlawful or unlicensed copies of an Apple operating system, or to
 14278  // circumvent, violate, or enable the circumvention or violation of, any
 14279  // terms of an Apple operating system software license agreement.
 14280  //
 14281  // Please obtain a copy of the License at
 14282  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14283  //
 14284  // The Original Code and all software distributed under the License are
 14285  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14286  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14287  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14288  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14289  // Please see the License for the specific language governing rights and
 14290  // limitations under the License.
 14291  //
 14292  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14293  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 14294  //
 14295  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14296  //
 14297  // This file contains Original Code and/or Modifications of Original Code
 14298  // as defined in and that are subject to the Apple Public Source License
 14299  // Version 2.0 (the 'License'). You may not use this file except in
 14300  // compliance with the License. The rights granted to you under the License
 14301  // may not be used to create, or enable the creation or redistribution of,
 14302  // unlawful or unlicensed copies of an Apple operating system, or to
 14303  // circumvent, violate, or enable the circumvention or violation of, any
 14304  // terms of an Apple operating system software license agreement.
 14305  //
 14306  // Please obtain a copy of the License at
 14307  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14308  //
 14309  // The Original Code and all software distributed under the License are
 14310  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14311  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14312  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14313  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14314  // Please see the License for the specific language governing rights and
 14315  // limitations under the License.
 14316  //
 14317  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14318  type Rune_t = X__darwin_rune_t /* _rune_t.h:31:25 */
 14319  
 14320  type Div_t = struct {
 14321  	Fquot int32
 14322  	Frem  int32
 14323  } /* stdlib.h:86:3 */
 14324  
 14325  type Ldiv_t = struct {
 14326  	Fquot int64
 14327  	Frem  int64
 14328  } /* stdlib.h:91:3 */
 14329  
 14330  type Lldiv_t = struct {
 14331  	Fquot int64
 14332  	Frem  int64
 14333  } /* stdlib.h:97:3 */
 14334  
 14335  // getsubopt(3) external variable
 14336  // valloc is now declared in _malloc.h
 14337  
 14338  // Poison the following routines if -fshort-wchar is set
 14339  
 14340  // This variant of malloc does not return NULL if zero size is passed into.
 14341  func xmalloc(tls *libc.TLS, size Size_t) uintptr { /* Array.c:40:13: */
 14342  	return libc.Xmalloc(tls, func() uint64 {
 14343  		if size != 0 {
 14344  			return size
 14345  		}
 14346  		return uint64(1)
 14347  	}())
 14348  }
 14349  
 14350  // This variant of calloc does not return NULL if zero count is passed into.
 14351  func xcalloc(tls *libc.TLS, n Size_t, size Size_t) uintptr { /* Array.c:49:13: */
 14352  	return libc.Xcalloc(tls, func() uint64 {
 14353  		if n != 0 {
 14354  			return n
 14355  		}
 14356  		return uint64(1)
 14357  	}(), size)
 14358  }
 14359  
 14360  // This variant of realloc does not return NULL if zero size is passed into
 14361  func xrealloc(tls *libc.TLS, ptr uintptr, size Size_t) uintptr { /* Array.c:58:13: */
 14362  	return libc.Xrealloc(tls, ptr, func() uint64 {
 14363  		if size != 0 {
 14364  			return size
 14365  		}
 14366  		return uint64(1)
 14367  	}())
 14368  }
 14369  
 14370  func XXdmcpAllocARRAY8(tls *libc.TLS, array ARRAY8Ptr, length int32) int32 { /* Array.c:65:1: */
 14371  	// length defined in ARRAY8 struct is a CARD16 (not CARD8 like the rest)
 14372  	if (length > UINT16_MAX) || (length < 0) {
 14373  		(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14374  	} else {
 14375  		(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = xmalloc(tls, (uint64(length) * uint64(unsafe.Sizeof(CARD8(0)))))
 14376  	}
 14377  
 14378  	if (*X_ARRAY8)(unsafe.Pointer(array)).Fdata == (uintptr(0)) {
 14379  		(*X_ARRAY8)(unsafe.Pointer(array)).Flength = CARD16(0)
 14380  		return FALSE
 14381  	}
 14382  	(*X_ARRAY8)(unsafe.Pointer(array)).Flength = CARD16(length)
 14383  	return TRUE
 14384  }
 14385  
 14386  func XXdmcpAllocARRAY16(tls *libc.TLS, array ARRAY16Ptr, length int32) int32 { /* Array.c:82:1: */
 14387  	// length defined in ARRAY16 struct is a CARD8
 14388  	if (length > UINT8_MAX) || (length < 0) {
 14389  		(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14390  	} else {
 14391  		(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = xmalloc(tls, (uint64(length) * uint64(unsafe.Sizeof(CARD16(0)))))
 14392  	}
 14393  
 14394  	if (*X_ARRAY16)(unsafe.Pointer(array)).Fdata == (uintptr(0)) {
 14395  		(*X_ARRAY16)(unsafe.Pointer(array)).Flength = CARD8(0)
 14396  		return FALSE
 14397  	}
 14398  	(*X_ARRAY16)(unsafe.Pointer(array)).Flength = CARD8(length)
 14399  	return TRUE
 14400  }
 14401  
 14402  func XXdmcpAllocARRAY32(tls *libc.TLS, array ARRAY32Ptr, length int32) int32 { /* Array.c:99:1: */
 14403  	// length defined in ARRAY32 struct is a CARD8
 14404  	if (length > UINT8_MAX) || (length < 0) {
 14405  		(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14406  	} else {
 14407  		(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = xmalloc(tls, (uint64(length) * uint64(unsafe.Sizeof(CARD32(0)))))
 14408  	}
 14409  
 14410  	if (*X_ARRAY32)(unsafe.Pointer(array)).Fdata == (uintptr(0)) {
 14411  		(*X_ARRAY32)(unsafe.Pointer(array)).Flength = CARD8(0)
 14412  		return FALSE
 14413  	}
 14414  	(*X_ARRAY32)(unsafe.Pointer(array)).Flength = CARD8(length)
 14415  	return TRUE
 14416  }
 14417  
 14418  func XXdmcpAllocARRAYofARRAY8(tls *libc.TLS, array ARRAYofARRAY8Ptr, length int32) int32 { /* Array.c:116:1: */
 14419  	// length defined in ARRAYofARRAY8 struct is a CARD8
 14420  	if (length > UINT8_MAX) || (length < 0) {
 14421  		(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14422  	} else {
 14423  		// Use calloc to ensure the pointers are cleared out so we
 14424  		// don't try to free garbage if XdmcpDisposeARRAYofARRAY8()
 14425  		// is called before the caller sets them to valid pointers.
 14426  		(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = xcalloc(tls, uint64(length), uint64(unsafe.Sizeof(ARRAY8{})))
 14427  	}
 14428  
 14429  	if (*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata == (uintptr(0)) {
 14430  		(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength = CARD8(0)
 14431  		return FALSE
 14432  	}
 14433  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength = CARD8(length)
 14434  	return TRUE
 14435  }
 14436  
 14437  func XXdmcpARRAY8Equal(tls *libc.TLS, array1 ARRAY8Ptr, array2 ARRAY8Ptr) int32 { /* Array.c:138:1: */
 14438  	if int32((*X_ARRAY8)(unsafe.Pointer(array1)).Flength) != int32((*X_ARRAY8)(unsafe.Pointer(array2)).Flength) {
 14439  		return FALSE
 14440  	}
 14441  	if libc.Xmemcmp(tls, (*X_ARRAY8)(unsafe.Pointer(array1)).Fdata, (*X_ARRAY8)(unsafe.Pointer(array2)).Fdata, uint64((*X_ARRAY8)(unsafe.Pointer(array1)).Flength)) != 0 {
 14442  		return FALSE
 14443  	}
 14444  	return TRUE
 14445  }
 14446  
 14447  func XXdmcpCopyARRAY8(tls *libc.TLS, src ARRAY8Ptr, dst ARRAY8Ptr) int32 { /* Array.c:148:1: */
 14448  	if !(XXdmcpAllocARRAY8(tls, dst, int32((*X_ARRAY8)(unsafe.Pointer(src)).Flength)) != 0) {
 14449  		return FALSE
 14450  	}
 14451  	libc.X__builtin___memmove_chk(tls, (*X_ARRAY8)(unsafe.Pointer(dst)).Fdata, (*X_ARRAY8)(unsafe.Pointer(src)).Fdata, (uint64((*X_ARRAY8)(unsafe.Pointer(src)).Flength) * uint64(unsafe.Sizeof(CARD8(0)))), libc.X__builtin_object_size(tls, (*X_ARRAY8)(unsafe.Pointer(dst)).Fdata, 0))
 14452  	return TRUE
 14453  }
 14454  
 14455  func XXdmcpReallocARRAY8(tls *libc.TLS, array ARRAY8Ptr, length int32) int32 { /* Array.c:157:1: */
 14456  	var newData CARD8Ptr
 14457  
 14458  	// length defined in ARRAY8 struct is a CARD16 (not CARD8 like the rest)
 14459  	if (length > UINT16_MAX) || (length < 0) {
 14460  		return FALSE
 14461  	}
 14462  
 14463  	newData = xrealloc(tls, (*X_ARRAY8)(unsafe.Pointer(array)).Fdata, (uint64(length) * uint64(unsafe.Sizeof(CARD8(0)))))
 14464  	if !(newData != 0) {
 14465  		return FALSE
 14466  	}
 14467  	(*X_ARRAY8)(unsafe.Pointer(array)).Flength = CARD16(length)
 14468  	(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = newData
 14469  	return TRUE
 14470  }
 14471  
 14472  func XXdmcpReallocARRAYofARRAY8(tls *libc.TLS, array ARRAYofARRAY8Ptr, length int32) int32 { /* Array.c:174:1: */
 14473  	var newData ARRAY8Ptr
 14474  
 14475  	// length defined in ARRAYofARRAY8 struct is a CARD8
 14476  	if (length > UINT8_MAX) || (length < 0) {
 14477  		return FALSE
 14478  	}
 14479  
 14480  	newData = xrealloc(tls, (*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata, (uint64(length) * uint64(unsafe.Sizeof(ARRAY8{}))))
 14481  	if !(newData != 0) {
 14482  		return FALSE
 14483  	}
 14484  	if length > int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength) {
 14485  		libc.X__builtin___memset_chk(tls, (newData + uintptr((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength)*16), 0, ((uint64(length - int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength))) * uint64(unsafe.Sizeof(ARRAY8{}))), libc.X__builtin_object_size(tls, (newData+uintptr((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength)*16), 0))
 14486  	}
 14487  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength = CARD8(length)
 14488  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = newData
 14489  	return TRUE
 14490  }
 14491  
 14492  func XXdmcpReallocARRAY16(tls *libc.TLS, array ARRAY16Ptr, length int32) int32 { /* Array.c:194:1: */
 14493  	var newData CARD16Ptr
 14494  
 14495  	// length defined in ARRAY16 struct is a CARD8
 14496  	if (length > UINT8_MAX) || (length < 0) {
 14497  		return FALSE
 14498  	}
 14499  	newData = xrealloc(tls, (*X_ARRAY16)(unsafe.Pointer(array)).Fdata, (uint64(length) * uint64(unsafe.Sizeof(CARD16(0)))))
 14500  	if !(newData != 0) {
 14501  		return FALSE
 14502  	}
 14503  	(*X_ARRAY16)(unsafe.Pointer(array)).Flength = CARD8(length)
 14504  	(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = newData
 14505  	return TRUE
 14506  }
 14507  
 14508  func XXdmcpReallocARRAY32(tls *libc.TLS, array ARRAY32Ptr, length int32) int32 { /* Array.c:210:1: */
 14509  	var newData CARD32Ptr
 14510  
 14511  	// length defined in ARRAY32 struct is a CARD8
 14512  	if (length > UINT8_MAX) || (length < 0) {
 14513  		return FALSE
 14514  	}
 14515  
 14516  	newData = xrealloc(tls, (*X_ARRAY32)(unsafe.Pointer(array)).Fdata, (uint64(length) * uint64(unsafe.Sizeof(CARD32(0)))))
 14517  	if !(newData != 0) {
 14518  		return FALSE
 14519  	}
 14520  	(*X_ARRAY32)(unsafe.Pointer(array)).Flength = CARD8(length)
 14521  	(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = newData
 14522  	return TRUE
 14523  }
 14524  
 14525  func XXdmcpDisposeARRAY8(tls *libc.TLS, array ARRAY8Ptr) { /* Array.c:227:1: */
 14526  	libc.Xfree(tls, (*X_ARRAY8)(unsafe.Pointer(array)).Fdata)
 14527  	(*X_ARRAY8)(unsafe.Pointer(array)).Flength = CARD16(0)
 14528  	(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14529  }
 14530  
 14531  func XXdmcpDisposeARRAY16(tls *libc.TLS, array ARRAY16Ptr) { /* Array.c:235:1: */
 14532  	libc.Xfree(tls, (*X_ARRAY16)(unsafe.Pointer(array)).Fdata)
 14533  	(*X_ARRAY16)(unsafe.Pointer(array)).Flength = CARD8(0)
 14534  	(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14535  }
 14536  
 14537  func XXdmcpDisposeARRAY32(tls *libc.TLS, array ARRAY32Ptr) { /* Array.c:243:1: */
 14538  	libc.Xfree(tls, (*X_ARRAY32)(unsafe.Pointer(array)).Fdata)
 14539  	(*X_ARRAY32)(unsafe.Pointer(array)).Flength = CARD8(0)
 14540  	(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14541  }
 14542  
 14543  func XXdmcpDisposeARRAYofARRAY8(tls *libc.TLS, array ARRAYofARRAY8Ptr) { /* Array.c:251:1: */
 14544  	var i int32
 14545  
 14546  	if (*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata != (uintptr(0)) {
 14547  		for i = 0; i < int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength); i++ {
 14548  			XXdmcpDisposeARRAY8(tls, ((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata + uintptr(i)*16))
 14549  		}
 14550  		libc.Xfree(tls, (*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata)
 14551  	}
 14552  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength = CARD8(0)
 14553  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 14554  }
 14555  
 14556  // getsubopt(3) external variable
 14557  // valloc is now declared in _malloc.h
 14558  
 14559  // Poison the following routines if -fshort-wchar is set
 14560  
 14561  // Copyright (c) 2000-2019 Apple Inc. All rights reserved.
 14562  //
 14563  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14564  //
 14565  // This file contains Original Code and/or Modifications of Original Code
 14566  // as defined in and that are subject to the Apple Public Source License
 14567  // Version 2.0 (the 'License'). You may not use this file except in
 14568  // compliance with the License. The rights granted to you under the License
 14569  // may not be used to create, or enable the creation or redistribution of,
 14570  // unlawful or unlicensed copies of an Apple operating system, or to
 14571  // circumvent, violate, or enable the circumvention or violation of, any
 14572  // terms of an Apple operating system software license agreement.
 14573  //
 14574  // Please obtain a copy of the License at
 14575  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14576  //
 14577  // The Original Code and all software distributed under the License are
 14578  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14579  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14580  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14581  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14582  // Please see the License for the specific language governing rights and
 14583  // limitations under the License.
 14584  //
 14585  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14586  // Copyright (c) 1998, 1999 Apple Computer, Inc. All Rights Reserved
 14587  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
 14588  // Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
 14589  //	The Regents of the University of California.  All rights reserved.
 14590  //
 14591  // Redistribution and use in source and binary forms, with or without
 14592  // modification, are permitted provided that the following conditions
 14593  // are met:
 14594  // 1. Redistributions of source code must retain the above copyright
 14595  //    notice, this list of conditions and the following disclaimer.
 14596  // 2. Redistributions in binary form must reproduce the above copyright
 14597  //    notice, this list of conditions and the following disclaimer in the
 14598  //    documentation and/or other materials provided with the distribution.
 14599  // 3. All advertising materials mentioning features or use of this software
 14600  //    must display the following acknowledgement:
 14601  //	This product includes software developed by the University of
 14602  //	California, Berkeley and its contributors.
 14603  // 4. Neither the name of the University nor the names of its contributors
 14604  //    may be used to endorse or promote products derived from this software
 14605  //    without specific prior written permission.
 14606  //
 14607  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 14608  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 14609  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 14610  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 14611  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 14612  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 14613  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 14614  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 14615  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 14616  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 14617  // SUCH DAMAGE.
 14618  //
 14619  //	@(#)socket.h	8.4 (Berkeley) 2/21/94
 14620  // $FreeBSD: src/sys/sys/socket.h,v 1.39.2.7 2001/07/03 11:02:01 ume Exp $
 14621  // NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce
 14622  // support for mandatory and extensible security protections.  This notice
 14623  // is included in support of clause 2.2 (b) of the Apple Public License,
 14624  // Version 2.0.
 14625  
 14626  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
 14627  //
 14628  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14629  //
 14630  // This file contains Original Code and/or Modifications of Original Code
 14631  // as defined in and that are subject to the Apple Public Source License
 14632  // Version 2.0 (the 'License'). You may not use this file except in
 14633  // compliance with the License. The rights granted to you under the License
 14634  // may not be used to create, or enable the creation or redistribution of,
 14635  // unlawful or unlicensed copies of an Apple operating system, or to
 14636  // circumvent, violate, or enable the circumvention or violation of, any
 14637  // terms of an Apple operating system software license agreement.
 14638  //
 14639  // Please obtain a copy of the License at
 14640  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14641  //
 14642  // The Original Code and all software distributed under the License are
 14643  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14644  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14645  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14646  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14647  // Please see the License for the specific language governing rights and
 14648  // limitations under the License.
 14649  //
 14650  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14651  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
 14652  // Copyright (c) 1982, 1986, 1991, 1993, 1994
 14653  //	The Regents of the University of California.  All rights reserved.
 14654  // (c) UNIX System Laboratories, Inc.
 14655  // All or some portions of this file are derived from material licensed
 14656  // to the University of California by American Telephone and Telegraph
 14657  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
 14658  // the permission of UNIX System Laboratories, Inc.
 14659  //
 14660  // Redistribution and use in source and binary forms, with or without
 14661  // modification, are permitted provided that the following conditions
 14662  // are met:
 14663  // 1. Redistributions of source code must retain the above copyright
 14664  //    notice, this list of conditions and the following disclaimer.
 14665  // 2. Redistributions in binary form must reproduce the above copyright
 14666  //    notice, this list of conditions and the following disclaimer in the
 14667  //    documentation and/or other materials provided with the distribution.
 14668  // 3. All advertising materials mentioning features or use of this software
 14669  //    must display the following acknowledgement:
 14670  //	This product includes software developed by the University of
 14671  //	California, Berkeley and its contributors.
 14672  // 4. Neither the name of the University nor the names of its contributors
 14673  //    may be used to endorse or promote products derived from this software
 14674  //    without specific prior written permission.
 14675  //
 14676  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 14677  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 14678  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 14679  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 14680  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 14681  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 14682  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 14683  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 14684  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 14685  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 14686  // SUCH DAMAGE.
 14687  //
 14688  //	@(#)types.h	8.4 (Berkeley) 1/21/94
 14689  
 14690  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
 14691  //
 14692  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14693  //
 14694  // This file contains Original Code and/or Modifications of Original Code
 14695  // as defined in and that are subject to the Apple Public Source License
 14696  // Version 2.0 (the 'License'). You may not use this file except in
 14697  // compliance with the License. The rights granted to you under the License
 14698  // may not be used to create, or enable the creation or redistribution of,
 14699  // unlawful or unlicensed copies of an Apple operating system, or to
 14700  // circumvent, violate, or enable the circumvention or violation of, any
 14701  // terms of an Apple operating system software license agreement.
 14702  //
 14703  // Please obtain a copy of the License at
 14704  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14705  //
 14706  // The Original Code and all software distributed under the License are
 14707  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14708  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14709  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14710  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14711  // Please see the License for the specific language governing rights and
 14712  // limitations under the License.
 14713  //
 14714  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14715  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 14716  // Copyright (c) 1991, 1993
 14717  //	The Regents of the University of California.  All rights reserved.
 14718  //
 14719  // This code is derived from software contributed to Berkeley by
 14720  // Berkeley Software Design, Inc.
 14721  //
 14722  // Redistribution and use in source and binary forms, with or without
 14723  // modification, are permitted provided that the following conditions
 14724  // are met:
 14725  // 1. Redistributions of source code must retain the above copyright
 14726  //    notice, this list of conditions and the following disclaimer.
 14727  // 2. Redistributions in binary form must reproduce the above copyright
 14728  //    notice, this list of conditions and the following disclaimer in the
 14729  //    documentation and/or other materials provided with the distribution.
 14730  // 3. All advertising materials mentioning features or use of this software
 14731  //    must display the following acknowledgement:
 14732  //	This product includes software developed by the University of
 14733  //	California, Berkeley and its contributors.
 14734  // 4. Neither the name of the University nor the names of its contributors
 14735  //    may be used to endorse or promote products derived from this software
 14736  //    without specific prior written permission.
 14737  //
 14738  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 14739  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 14740  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 14741  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 14742  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 14743  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 14744  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 14745  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 14746  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 14747  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 14748  // SUCH DAMAGE.
 14749  //
 14750  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
 14751  
 14752  // Copyright (c) 2004-2007 Apple Inc. All rights reserved.
 14753  //
 14754  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14755  //
 14756  // This file contains Original Code and/or Modifications of Original Code
 14757  // as defined in and that are subject to the Apple Public Source License
 14758  // Version 2.0 (the 'License'). You may not use this file except in
 14759  // compliance with the License. The rights granted to you under the License
 14760  // may not be used to create, or enable the creation or redistribution of,
 14761  // unlawful or unlicensed copies of an Apple operating system, or to
 14762  // circumvent, violate, or enable the circumvention or violation of, any
 14763  // terms of an Apple operating system software license agreement.
 14764  //
 14765  // Please obtain a copy of the License at
 14766  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14767  //
 14768  // The Original Code and all software distributed under the License are
 14769  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14770  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14771  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14772  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14773  // Please see the License for the specific language governing rights and
 14774  // limitations under the License.
 14775  //
 14776  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14777  // Copyright (c) 2008 Apple Computer, Inc. All rights reserved.
 14778  //
 14779  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14780  //
 14781  // This file contains Original Code and/or Modifications of Original Code
 14782  // as defined in and that are subject to the Apple Public Source License
 14783  // Version 2.0 (the 'License'). You may not use this file except in
 14784  // compliance with the License. The rights granted to you under the License
 14785  // may not be used to create, or enable the creation or redistribution of,
 14786  // unlawful or unlicensed copies of an Apple operating system, or to
 14787  // circumvent, violate, or enable the circumvention or violation of, any
 14788  // terms of an Apple operating system software license agreement.
 14789  //
 14790  // Please obtain a copy of the License at
 14791  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14792  //
 14793  // The Original Code and all software distributed under the License are
 14794  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14795  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14796  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14797  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14798  // Please see the License for the specific language governing rights and
 14799  // limitations under the License.
 14800  //
 14801  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14802  
 14803  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
 14804  //
 14805  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14806  //
 14807  // This file contains Original Code and/or Modifications of Original Code
 14808  // as defined in and that are subject to the Apple Public Source License
 14809  // Version 2.0 (the 'License'). You may not use this file except in
 14810  // compliance with the License. The rights granted to you under the License
 14811  // may not be used to create, or enable the creation or redistribution of,
 14812  // unlawful or unlicensed copies of an Apple operating system, or to
 14813  // circumvent, violate, or enable the circumvention or violation of, any
 14814  // terms of an Apple operating system software license agreement.
 14815  //
 14816  // Please obtain a copy of the License at
 14817  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14818  //
 14819  // The Original Code and all software distributed under the License are
 14820  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14821  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14822  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14823  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14824  // Please see the License for the specific language governing rights and
 14825  // limitations under the License.
 14826  //
 14827  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14828  
 14829  // Round p (pointer or byte index) up to a correctly-aligned value for all
 14830  // data types (int, long, ...).   The result is unsigned int and must be
 14831  // cast to any desired pointer type.
 14832  
 14833  // Copyright (c) 2016-2018 Apple Inc. All rights reserved.
 14834  //
 14835  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14836  //
 14837  // This file contains Original Code and/or Modifications of Original Code
 14838  // as defined in and that are subject to the Apple Public Source License
 14839  // Version 2.0 (the 'License'). You may not use this file except in
 14840  // compliance with the License. The rights granted to you under the License
 14841  // may not be used to create, or enable the creation or redistribution of,
 14842  // unlawful or unlicensed copies of an Apple operating system, or to
 14843  // circumvent, violate, or enable the circumvention or violation of, any
 14844  // terms of an Apple operating system software license agreement.
 14845  //
 14846  // Please obtain a copy of the License at
 14847  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14848  //
 14849  // The Original Code and all software distributed under the License are
 14850  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14851  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14852  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14853  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14854  // Please see the License for the specific language governing rights and
 14855  // limitations under the License.
 14856  //
 14857  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14858  
 14859  // Kernel event subclass identifiers for KEV_NETWORK_CLASS
 14860  // KEV_INET_SUBCLASS event codes
 14861  
 14862  // Define Data-Link event subclass, and associated
 14863  // events.
 14864  
 14865  // KEV_INET6_SUBCLASS event codes
 14866  
 14867  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
 14868  //
 14869  // @APPLE_LICENSE_HEADER_START@
 14870  //
 14871  // This file contains Original Code and/or Modifications of Original Code
 14872  // as defined in and that are subject to the Apple Public Source License
 14873  // Version 2.0 (the 'License'). You may not use this file except in
 14874  // compliance with the License. Please obtain a copy of the License at
 14875  // http://www.opensource.apple.com/apsl/ and read it before using this
 14876  // file.
 14877  //
 14878  // The Original Code and all software distributed under the License are
 14879  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14880  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14881  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14882  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14883  // Please see the License for the specific language governing rights and
 14884  // limitations under the License.
 14885  //
 14886  // @APPLE_LICENSE_HEADER_END@
 14887  
 14888  // Definitions related to sockets: types, address families, options.
 14889  
 14890  // Data types.
 14891  
 14892  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 14893  //
 14894  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14895  //
 14896  // This file contains Original Code and/or Modifications of Original Code
 14897  // as defined in and that are subject to the Apple Public Source License
 14898  // Version 2.0 (the 'License'). You may not use this file except in
 14899  // compliance with the License. The rights granted to you under the License
 14900  // may not be used to create, or enable the creation or redistribution of,
 14901  // unlawful or unlicensed copies of an Apple operating system, or to
 14902  // circumvent, violate, or enable the circumvention or violation of, any
 14903  // terms of an Apple operating system software license agreement.
 14904  //
 14905  // Please obtain a copy of the License at
 14906  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14907  //
 14908  // The Original Code and all software distributed under the License are
 14909  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14910  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14911  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14912  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14913  // Please see the License for the specific language governing rights and
 14914  // limitations under the License.
 14915  //
 14916  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14917  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 14918  //
 14919  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14920  //
 14921  // This file contains Original Code and/or Modifications of Original Code
 14922  // as defined in and that are subject to the Apple Public Source License
 14923  // Version 2.0 (the 'License'). You may not use this file except in
 14924  // compliance with the License. The rights granted to you under the License
 14925  // may not be used to create, or enable the creation or redistribution of,
 14926  // unlawful or unlicensed copies of an Apple operating system, or to
 14927  // circumvent, violate, or enable the circumvention or violation of, any
 14928  // terms of an Apple operating system software license agreement.
 14929  //
 14930  // Please obtain a copy of the License at
 14931  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14932  //
 14933  // The Original Code and all software distributed under the License are
 14934  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14935  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14936  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14937  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14938  // Please see the License for the specific language governing rights and
 14939  // limitations under the License.
 14940  //
 14941  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14942  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 14943  //
 14944  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14945  //
 14946  // This file contains Original Code and/or Modifications of Original Code
 14947  // as defined in and that are subject to the Apple Public Source License
 14948  // Version 2.0 (the 'License'). You may not use this file except in
 14949  // compliance with the License. The rights granted to you under the License
 14950  // may not be used to create, or enable the creation or redistribution of,
 14951  // unlawful or unlicensed copies of an Apple operating system, or to
 14952  // circumvent, violate, or enable the circumvention or violation of, any
 14953  // terms of an Apple operating system software license agreement.
 14954  //
 14955  // Please obtain a copy of the License at
 14956  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14957  //
 14958  // The Original Code and all software distributed under the License are
 14959  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14960  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14961  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14962  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14963  // Please see the License for the specific language governing rights and
 14964  // limitations under the License.
 14965  //
 14966  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14967  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 14968  //
 14969  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14970  //
 14971  // This file contains Original Code and/or Modifications of Original Code
 14972  // as defined in and that are subject to the Apple Public Source License
 14973  // Version 2.0 (the 'License'). You may not use this file except in
 14974  // compliance with the License. The rights granted to you under the License
 14975  // may not be used to create, or enable the creation or redistribution of,
 14976  // unlawful or unlicensed copies of an Apple operating system, or to
 14977  // circumvent, violate, or enable the circumvention or violation of, any
 14978  // terms of an Apple operating system software license agreement.
 14979  //
 14980  // Please obtain a copy of the License at
 14981  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 14982  //
 14983  // The Original Code and all software distributed under the License are
 14984  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 14985  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 14986  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 14987  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 14988  // Please see the License for the specific language governing rights and
 14989  // limitations under the License.
 14990  //
 14991  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 14992  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 14993  //
 14994  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 14995  //
 14996  // This file contains Original Code and/or Modifications of Original Code
 14997  // as defined in and that are subject to the Apple Public Source License
 14998  // Version 2.0 (the 'License'). You may not use this file except in
 14999  // compliance with the License. The rights granted to you under the License
 15000  // may not be used to create, or enable the creation or redistribution of,
 15001  // unlawful or unlicensed copies of an Apple operating system, or to
 15002  // circumvent, violate, or enable the circumvention or violation of, any
 15003  // terms of an Apple operating system software license agreement.
 15004  //
 15005  // Please obtain a copy of the License at
 15006  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15007  //
 15008  // The Original Code and all software distributed under the License are
 15009  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15010  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15011  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15012  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15013  // Please see the License for the specific language governing rights and
 15014  // limitations under the License.
 15015  //
 15016  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15017  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 15018  type Sa_family_t = X__uint8_t /* _sa_family_t.h:31:33 */
 15019  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 15020  //
 15021  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15022  //
 15023  // This file contains Original Code and/or Modifications of Original Code
 15024  // as defined in and that are subject to the Apple Public Source License
 15025  // Version 2.0 (the 'License'). You may not use this file except in
 15026  // compliance with the License. The rights granted to you under the License
 15027  // may not be used to create, or enable the creation or redistribution of,
 15028  // unlawful or unlicensed copies of an Apple operating system, or to
 15029  // circumvent, violate, or enable the circumvention or violation of, any
 15030  // terms of an Apple operating system software license agreement.
 15031  //
 15032  // Please obtain a copy of the License at
 15033  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15034  //
 15035  // The Original Code and all software distributed under the License are
 15036  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15037  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15038  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15039  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15040  // Please see the License for the specific language governing rights and
 15041  // limitations under the License.
 15042  //
 15043  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15044  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 15045  //
 15046  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15047  //
 15048  // This file contains Original Code and/or Modifications of Original Code
 15049  // as defined in and that are subject to the Apple Public Source License
 15050  // Version 2.0 (the 'License'). You may not use this file except in
 15051  // compliance with the License. The rights granted to you under the License
 15052  // may not be used to create, or enable the creation or redistribution of,
 15053  // unlawful or unlicensed copies of an Apple operating system, or to
 15054  // circumvent, violate, or enable the circumvention or violation of, any
 15055  // terms of an Apple operating system software license agreement.
 15056  //
 15057  // Please obtain a copy of the License at
 15058  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15059  //
 15060  // The Original Code and all software distributed under the License are
 15061  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15062  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15063  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15064  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15065  // Please see the License for the specific language governing rights and
 15066  // limitations under the License.
 15067  //
 15068  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15069  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 15070  type Socklen_t = X__darwin_socklen_t /* _socklen_t.h:31:33 */
 15071  
 15072  // XXX Not explicitly defined by POSIX, but function return types are
 15073  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 15074  //
 15075  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15076  //
 15077  // This file contains Original Code and/or Modifications of Original Code
 15078  // as defined in and that are subject to the Apple Public Source License
 15079  // Version 2.0 (the 'License'). You may not use this file except in
 15080  // compliance with the License. The rights granted to you under the License
 15081  // may not be used to create, or enable the creation or redistribution of,
 15082  // unlawful or unlicensed copies of an Apple operating system, or to
 15083  // circumvent, violate, or enable the circumvention or violation of, any
 15084  // terms of an Apple operating system software license agreement.
 15085  //
 15086  // Please obtain a copy of the License at
 15087  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15088  //
 15089  // The Original Code and all software distributed under the License are
 15090  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15091  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15092  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15093  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15094  // Please see the License for the specific language governing rights and
 15095  // limitations under the License.
 15096  //
 15097  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15098  
 15099  // XXX Not explicitly defined by POSIX, but function return types are
 15100  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 15101  //
 15102  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15103  //
 15104  // This file contains Original Code and/or Modifications of Original Code
 15105  // as defined in and that are subject to the Apple Public Source License
 15106  // Version 2.0 (the 'License'). You may not use this file except in
 15107  // compliance with the License. The rights granted to you under the License
 15108  // may not be used to create, or enable the creation or redistribution of,
 15109  // unlawful or unlicensed copies of an Apple operating system, or to
 15110  // circumvent, violate, or enable the circumvention or violation of, any
 15111  // terms of an Apple operating system software license agreement.
 15112  //
 15113  // Please obtain a copy of the License at
 15114  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15115  //
 15116  // The Original Code and all software distributed under the License are
 15117  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15118  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15119  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15120  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15121  // Please see the License for the specific language governing rights and
 15122  // limitations under the License.
 15123  //
 15124  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15125  
 15126  // [XSI] The iovec structure shall be defined as described in <sys/uio.h>.
 15127  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 15128  //
 15129  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15130  //
 15131  // This file contains Original Code and/or Modifications of Original Code
 15132  // as defined in and that are subject to the Apple Public Source License
 15133  // Version 2.0 (the 'License'). You may not use this file except in
 15134  // compliance with the License. The rights granted to you under the License
 15135  // may not be used to create, or enable the creation or redistribution of,
 15136  // unlawful or unlicensed copies of an Apple operating system, or to
 15137  // circumvent, violate, or enable the circumvention or violation of, any
 15138  // terms of an Apple operating system software license agreement.
 15139  //
 15140  // Please obtain a copy of the License at
 15141  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15142  //
 15143  // The Original Code and all software distributed under the License are
 15144  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15145  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15146  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15147  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15148  // Please see the License for the specific language governing rights and
 15149  // limitations under the License.
 15150  //
 15151  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15152  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 15153  //
 15154  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 15155  //
 15156  // This file contains Original Code and/or Modifications of Original Code
 15157  // as defined in and that are subject to the Apple Public Source License
 15158  // Version 2.0 (the 'License'). You may not use this file except in
 15159  // compliance with the License. The rights granted to you under the License
 15160  // may not be used to create, or enable the creation or redistribution of,
 15161  // unlawful or unlicensed copies of an Apple operating system, or to
 15162  // circumvent, violate, or enable the circumvention or violation of, any
 15163  // terms of an Apple operating system software license agreement.
 15164  //
 15165  // Please obtain a copy of the License at
 15166  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 15167  //
 15168  // The Original Code and all software distributed under the License are
 15169  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 15170  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 15171  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 15172  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 15173  // Please see the License for the specific language governing rights and
 15174  // limitations under the License.
 15175  //
 15176  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 15177  type Iovec = struct {
 15178  	Fiov_base uintptr
 15179  	Fiov_len  Size_t
 15180  } /* _iovec_t.h:31:1 */
 15181  
 15182  // Types
 15183  
 15184  // Option flags per-socket.
 15185  //  (ATOMIC proto)
 15186  
 15187  // Additional options, not kept in so_options.
 15188  
 15189  // Network Service Type for option SO_NET_SERVICE_TYPE
 15190  //
 15191  // The vast majority of sockets should use Best Effort that is the default
 15192  // Network Service Type. Other Network Service Types have to be used only if
 15193  // the traffic actually matches the description of the Network Service Type.
 15194  //
 15195  // Network Service Types do not represent priorities but rather describe
 15196  // different categories of delay, jitter and loss parameters.
 15197  // Those parameters may influence protocols from layer 4 protocols like TCP
 15198  // to layer 2 protocols like Wi-Fi. The Network Service Type can determine
 15199  // how the traffic is queued and scheduled by the host networking stack and
 15200  // by other entities on the network like switches and routers. For example
 15201  // for Wi-Fi, the Network Service Type can select the marking of the
 15202  // layer 2 packet with the appropriate WMM Access Category.
 15203  //
 15204  // There is no point in attempting to game the system and use
 15205  // a Network Service Type that does not correspond to the actual
 15206  // traffic characteristic but one that seems to have a higher precedence.
 15207  // The reason is that for service classes that have lower tolerance
 15208  // for delay and jitter, the queues size is lower than for service
 15209  // classes that are more tolerant to delay and jitter.
 15210  //
 15211  // For example using a voice service type for bulk data transfer will lead
 15212  // to disastrous results as soon as congestion happens because the voice
 15213  // queue overflows and packets get dropped. This is not only bad for the bulk
 15214  // data transfer but it is also bad for VoIP apps that legitimately are using
 15215  // the voice  service type.
 15216  //
 15217  // The characteristics of the Network Service Types are based on the service
 15218  // classes defined in RFC 4594 "Configuration Guidelines for DiffServ Service
 15219  // Classes"
 15220  //
 15221  // When system detects the outgoing interface belongs to a DiffServ domain
 15222  // that follows the recommendation of the IETF draft "Guidelines for DiffServ to
 15223  // IEEE 802.11 Mapping", the packet will marked at layer 3 with a DSCP value
 15224  // that corresponds to Network Service Type.
 15225  //
 15226  // NET_SERVICE_TYPE_BE
 15227  //	"Best Effort", unclassified/standard.  This is the default service
 15228  //	class and cover the majority of the traffic.
 15229  //
 15230  // NET_SERVICE_TYPE_BK
 15231  //	"Background", high delay tolerant, loss tolerant. elastic flow,
 15232  //	variable size & long-lived. E.g: non-interactive network bulk transfer
 15233  //	like synching or backup.
 15234  //
 15235  // NET_SERVICE_TYPE_RD
 15236  //	"Responsive Data", a notch higher than "Best Effort", medium delay
 15237  //	tolerant, elastic & inelastic flow, bursty, long-lived. E.g. email,
 15238  //	instant messaging, for which there is a sense of interactivity and
 15239  //	urgency (user waiting for output).
 15240  //
 15241  // NET_SERVICE_TYPE_OAM
 15242  //	"Operations, Administration, and Management", medium delay tolerant,
 15243  //	low-medium loss tolerant, elastic & inelastic flows, variable size.
 15244  //	E.g. VPN tunnels.
 15245  //
 15246  // NET_SERVICE_TYPE_AV
 15247  //	"Multimedia Audio/Video Streaming", medium delay tolerant, low-medium
 15248  //	loss tolerant, elastic flow, constant packet interval, variable rate
 15249  //	and size. E.g. video and audio playback with buffering.
 15250  //
 15251  // NET_SERVICE_TYPE_RV
 15252  //	"Responsive Multimedia Audio/Video", low delay tolerant, low-medium
 15253  //	loss tolerant, elastic flow, variable packet interval, rate and size.
 15254  //	E.g. screen sharing.
 15255  //
 15256  // NET_SERVICE_TYPE_VI
 15257  //	"Interactive Video", low delay tolerant, low-medium loss tolerant,
 15258  //	elastic flow, constant packet interval, variable rate & size. E.g.
 15259  //	video telephony.
 15260  //
 15261  // NET_SERVICE_TYPE_SIG
 15262  //	"Signaling", low delay tolerant, low loss tolerant, inelastic flow,
 15263  //	jitter tolerant, rate is bursty but short, variable size. E.g. SIP.
 15264  //
 15265  // NET_SERVICE_TYPE_VO
 15266  //	"Interactive Voice", very low delay tolerant, very low loss tolerant,
 15267  //	inelastic flow, constant packet rate, somewhat fixed size.
 15268  //	E.g. VoIP.
 15269  
 15270  // These are supported values for SO_NETSVC_MARKING_LEVEL
 15271  
 15272  type Sae_associd_t = X__uint32_t /* socket.h:289:20 */
 15273  
 15274  type Sae_connid_t = X__uint32_t /* socket.h:293:20 */
 15275  
 15276  // connectx() flag parameters
 15277  
 15278  // sockaddr endpoints
 15279  type Sa_endpoints = struct {
 15280  	Fsae_srcif      uint32
 15281  	F__ccgo_pad1    [4]byte
 15282  	Fsae_srcaddr    uintptr
 15283  	Fsae_srcaddrlen Socklen_t
 15284  	F__ccgo_pad2    [4]byte
 15285  	Fsae_dstaddr    uintptr
 15286  	Fsae_dstaddrlen Socklen_t
 15287  	F__ccgo_pad3    [4]byte
 15288  } /* socket.h:303:9 */
 15289  
 15290  // connectx() flag parameters
 15291  
 15292  // sockaddr endpoints
 15293  type Sockaddr = struct {
 15294  	Fsa_len    X__uint8_t
 15295  	Fsa_family Sa_family_t
 15296  	Fsa_data   [14]int8
 15297  } /* socket.h:303:9 */
 15298  
 15299  // connectx() flag parameters
 15300  
 15301  // sockaddr endpoints
 15302  type Sa_endpoints_t = Sa_endpoints /* socket.h:309:3 */
 15303  
 15304  // Structure used for manipulating linger option.
 15305  type Linger = struct {
 15306  	Fl_onoff  int32
 15307  	Fl_linger int32
 15308  } /* socket.h:315:1 */
 15309  
 15310  // Structure to control non-portable Sockets extension to POSIX
 15311  type So_np_extensions = struct {
 15312  	Fnpx_flags U_int32_t
 15313  	Fnpx_mask  U_int32_t
 15314  } /* socket.h:333:1 */
 15315  
 15316  // Structure used by kernel to pass protocol
 15317  // information in raw sockets.
 15318  type Sockproto = struct {
 15319  	Fsp_family   X__uint16_t
 15320  	Fsp_protocol X__uint16_t
 15321  } /* socket.h:420:1 */
 15322  
 15323  // RFC 2553: protocol-independent placeholder for socket addresses
 15324  
 15325  // [XSI] sockaddr_storage
 15326  type Sockaddr_storage = struct {
 15327  	Fss_len     X__uint8_t
 15328  	Fss_family  Sa_family_t
 15329  	F__ss_pad1  [6]int8
 15330  	F__ss_align X__int64_t
 15331  	F__ss_pad2  [112]int8
 15332  } /* socket.h:440:1 */
 15333  
 15334  // Protocol families, same as address families for now.
 15335  
 15336  // These do not have socket-layer support:
 15337  
 15338  // Definitions for network related sysctl, CTL_NET.
 15339  //
 15340  // Second level is protocol family.
 15341  // Third level is protocol number.
 15342  //
 15343  // Further levels are defined by the individual families below.
 15344  
 15345  // PF_ROUTE - Routing table
 15346  //
 15347  // Three additional levels are defined:
 15348  //	Fourth: address family, 0 is wildcard
 15349  //	Fifth: type of info, defined below
 15350  //	Sixth: flag(s) to mask with for NET_RT_FLAGS
 15351  // Allows read access non-local host's MAC address
 15352  // if the process has neighbor cache entitlement.
 15353  
 15354  // Maximum queue length specifiable by listen.
 15355  
 15356  // [XSI] Message header for recvmsg and sendmsg calls.
 15357  // Used value-result for recvmsg, value only for sendmsg.
 15358  type Msghdr = struct {
 15359  	Fmsg_name       uintptr
 15360  	Fmsg_namelen    Socklen_t
 15361  	F__ccgo_pad1    [4]byte
 15362  	Fmsg_iov        uintptr
 15363  	Fmsg_iovlen     int32
 15364  	F__ccgo_pad2    [4]byte
 15365  	Fmsg_control    uintptr
 15366  	Fmsg_controllen Socklen_t
 15367  	Fmsg_flags      int32
 15368  } /* socket.h:546:1 */
 15369  
 15370  // Header for ancillary data objects in msg_control buffer.
 15371  // Used for additional information with/about a datagram
 15372  // not expressible by flags.  The format is a sequence
 15373  // of message elements headed by cmsghdr structures.
 15374  type Cmsghdr = struct {
 15375  	Fcmsg_len   Socklen_t
 15376  	Fcmsg_level int32
 15377  	Fcmsg_type  int32
 15378  } /* socket.h:587:1 */
 15379  
 15380  // given pointer to struct cmsghdr, return pointer to data
 15381  
 15382  // RFC 2292 requires to check msg_controllen, in case that the kernel returns
 15383  // an empty list for some reasons.
 15384  
 15385  // Given pointer to struct cmsghdr, return pointer to next cmsghdr
 15386  // RFC 2292 says that CMSG_NXTHDR(mhdr, NULL) is equivalent to CMSG_FIRSTHDR(mhdr)
 15387  
 15388  // RFC 2292 additions
 15389  
 15390  // "Socket"-level control message types:
 15391  
 15392  // howto arguments for shutdown(2), specified by Posix.1g.
 15393  
 15394  // sendfile(2) header/trailer struct
 15395  type Sf_hdtr = struct {
 15396  	Fheaders     uintptr
 15397  	Fhdr_cnt     int32
 15398  	F__ccgo_pad1 [4]byte
 15399  	Ftrailers    uintptr
 15400  	Ftrl_cnt     int32
 15401  	F__ccgo_pad2 [4]byte
 15402  } /* socket.h:678:1 */
 15403  
 15404  func XXdmcpFill(tls *libc.TLS, fd int32, buffer XdmcpBufferPtr, from XdmcpNetaddr, fromlen uintptr) int32 { /* Fill.c:46:1: */
 15405  	var newBuf uintptr
 15406  
 15407  	if (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize < XDM_MAX_MSGLEN {
 15408  		newBuf = libc.Xmalloc(tls, uint64(XDM_MAX_MSGLEN))
 15409  		if newBuf != 0 {
 15410  			libc.Xfree(tls, (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata)
 15411  			(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata = newBuf
 15412  			(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize = XDM_MAX_MSGLEN
 15413  		}
 15414  	}
 15415  	(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer = 0
 15416  	(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fcount = int32(libc.Xrecvfrom(tls, fd, (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata, uint64((*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize), 0,
 15417  		from, fromlen))
 15418  	if (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fcount < 6 {
 15419  		(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fcount = 0
 15420  		return FALSE
 15421  	}
 15422  	return TRUE
 15423  }
 15424  
 15425  func XXdmcpFlush(tls *libc.TLS, fd int32, buffer XdmcpBufferPtr, to XdmcpNetaddr, tolen int32) int32 { /* Flush.c:45:1: */
 15426  	var result int32
 15427  	result = int32(libc.Xsendto(tls, fd, (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata, uint64((*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer), 0,
 15428  		to, uint32(tolen)))
 15429  	if result != (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer {
 15430  		return FALSE
 15431  	}
 15432  	return TRUE
 15433  }
 15434  
 15435  // getsubopt(3) external variable
 15436  // valloc is now declared in _malloc.h
 15437  
 15438  // Poison the following routines if -fshort-wchar is set
 15439  
 15440  func XXdmcpGenerateKey(tls *libc.TLS, key XdmAuthKeyPtr) { /* Key.c:66:1: */
 15441  	libc.Xarc4random_buf(tls, key /* &.data */, uint64(8))
 15442  }
 15443  
 15444  func XXdmcpCompareKeys(tls *libc.TLS, a XdmAuthKeyPtr, b XdmAuthKeyPtr) int32 { /* Key.c:82:1: */
 15445  	var i int32
 15446  
 15447  	for i = 0; i < 8; i++ {
 15448  		if int32(*(*BYTE)(unsafe.Pointer((a /* &.data */) + uintptr(i)))) != int32(*(*BYTE)(unsafe.Pointer((b /* &.data */) + uintptr(i)))) {
 15449  			return FALSE
 15450  		}
 15451  	}
 15452  	return TRUE
 15453  }
 15454  
 15455  func XXdmcpIncrementKey(tls *libc.TLS, key XdmAuthKeyPtr) { /* Key.c:93:1: */
 15456  	var i int32
 15457  
 15458  	i = 7
 15459  	for int32(libc.PreIncUint8(&*(*BYTE)(unsafe.Pointer((key /* &.data */) + uintptr(i))), 1)) == 0 {
 15460  		if libc.PreDecInt32(&i, 1) < 0 {
 15461  			break
 15462  		}
 15463  	}
 15464  }
 15465  
 15466  func XXdmcpDecrementKey(tls *libc.TLS, key XdmAuthKeyPtr) { /* Key.c:104:1: */
 15467  	var i int32
 15468  
 15469  	i = 7
 15470  	for int32(libc.PostDecUint8(&*(*BYTE)(unsafe.Pointer((key /* &.data */) + uintptr(i))), 1)) == 0 {
 15471  		if libc.PreDecInt32(&i, 1) < 0 {
 15472  			break
 15473  		}
 15474  	}
 15475  }
 15476  
 15477  // getsubopt(3) external variable
 15478  // valloc is now declared in _malloc.h
 15479  
 15480  // Poison the following routines if -fshort-wchar is set
 15481  
 15482  func XXdmcpReadHeader(tls *libc.TLS, buffer XdmcpBufferPtr, header XdmcpHeaderPtr) int32 { /* Read.c:37:1: */
 15483  	if ((XXdmcpReadCARD16(tls, buffer, (header /* &.version */)) != 0) && (XXdmcpReadCARD16(tls, buffer, (header+2 /* &.opcode */)) != 0)) && (XXdmcpReadCARD16(tls, buffer, (header+4 /* &.length */)) != 0) {
 15484  		return TRUE
 15485  	}
 15486  	return FALSE
 15487  }
 15488  
 15489  func XXdmcpReadRemaining(tls *libc.TLS, buffer XdmcpBufferPtr) int32 { /* Read.c:47:1: */
 15490  	return ((*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fcount - (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer)
 15491  }
 15492  
 15493  func XXdmcpReadARRAY8(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY8Ptr) int32 { /* Read.c:53:1: */
 15494  	var i int32
 15495  
 15496  	// When returning FALSE, guarantee that array->data = 0.
 15497  	// This allows the user to safely call XdmcpDisposeARRAY8(array)
 15498  	// regardless of the return value below.
 15499  	// Note that XdmcpDisposeARRAY*(array) will call free(array->data),
 15500  	// so we must guarantee that array->data is NULL or a malloced pointer.
 15501  	if !(XXdmcpReadCARD16(tls, buffer, (array /* &.length */)) != 0) {
 15502  		(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15503  		return FALSE
 15504  	}
 15505  	if !(int32((*X_ARRAY8)(unsafe.Pointer(array)).Flength) != 0) {
 15506  		(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15507  		return TRUE
 15508  	}
 15509  	(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = libc.Xmalloc(tls, (uint64((*X_ARRAY8)(unsafe.Pointer(array)).Flength) * uint64(unsafe.Sizeof(CARD8(0)))))
 15510  	if !(int32((*X_ARRAY8)(unsafe.Pointer(array)).Fdata) != 0) {
 15511  		return FALSE
 15512  	}
 15513  	for i = 0; i < int32((*X_ARRAY8)(unsafe.Pointer(array)).Flength); i++ {
 15514  		if !(XXdmcpReadCARD8(tls, buffer, ((*X_ARRAY8)(unsafe.Pointer(array)).Fdata+uintptr(i))) != 0) {
 15515  			libc.Xfree(tls, (*X_ARRAY8)(unsafe.Pointer(array)).Fdata)
 15516  			(*X_ARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15517  			(*X_ARRAY8)(unsafe.Pointer(array)).Flength = CARD16(0)
 15518  			return FALSE
 15519  		}
 15520  	}
 15521  	return TRUE
 15522  }
 15523  
 15524  func XXdmcpReadARRAY16(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY16Ptr) int32 { /* Read.c:90:1: */
 15525  	var i int32
 15526  
 15527  	// When returning FALSE, guarantee that array->data = 0.
 15528  	// This allows the user to safely call XdmcpDisposeARRAY16(array)
 15529  	// regardless of the return value below.
 15530  	// Note that XdmcpDisposeARRAY*(array) will call free(array->data),
 15531  	// so we must guarantee that array->data is NULL or a malloced pointer.
 15532  	if !(XXdmcpReadCARD8(tls, buffer, (array /* &.length */)) != 0) {
 15533  		(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15534  		return FALSE
 15535  	}
 15536  	if !(int32((*X_ARRAY16)(unsafe.Pointer(array)).Flength) != 0) {
 15537  		(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15538  		return TRUE
 15539  	}
 15540  	(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = libc.Xmalloc(tls, (uint64((*X_ARRAY16)(unsafe.Pointer(array)).Flength) * uint64(unsafe.Sizeof(CARD16(0)))))
 15541  	if !(int32((*X_ARRAY16)(unsafe.Pointer(array)).Fdata) != 0) {
 15542  		return FALSE
 15543  	}
 15544  	for i = 0; i < int32((*X_ARRAY16)(unsafe.Pointer(array)).Flength); i++ {
 15545  		if !(XXdmcpReadCARD16(tls, buffer, ((*X_ARRAY16)(unsafe.Pointer(array)).Fdata+uintptr(i)*2)) != 0) {
 15546  			libc.Xfree(tls, (*X_ARRAY16)(unsafe.Pointer(array)).Fdata)
 15547  			(*X_ARRAY16)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15548  			(*X_ARRAY16)(unsafe.Pointer(array)).Flength = CARD8(0)
 15549  			return FALSE
 15550  		}
 15551  	}
 15552  	return TRUE
 15553  }
 15554  
 15555  func XXdmcpReadARRAY32(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY32Ptr) int32 { /* Read.c:127:1: */
 15556  	var i int32
 15557  
 15558  	// When returning FALSE, guarantee that array->data = 0.
 15559  	// This allows the user to safely call XdmcpDisposeARRAY32(array)
 15560  	// regardless of the return value below.
 15561  	// Note that XdmcpDisposeARRAY*(array) will call free(array->data),
 15562  	// so we must guarantee that array->data is NULL or a malloced pointer.
 15563  	if !(XXdmcpReadCARD8(tls, buffer, (array /* &.length */)) != 0) {
 15564  		(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15565  		return FALSE
 15566  	}
 15567  	if !(int32((*X_ARRAY32)(unsafe.Pointer(array)).Flength) != 0) {
 15568  		(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15569  		return TRUE
 15570  	}
 15571  	(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = libc.Xmalloc(tls, (uint64((*X_ARRAY32)(unsafe.Pointer(array)).Flength) * uint64(unsafe.Sizeof(CARD32(0)))))
 15572  	if !(int32((*X_ARRAY32)(unsafe.Pointer(array)).Fdata) != 0) {
 15573  		return FALSE
 15574  	}
 15575  	for i = 0; i < int32((*X_ARRAY32)(unsafe.Pointer(array)).Flength); i++ {
 15576  		if !(XXdmcpReadCARD32(tls, buffer, ((*X_ARRAY32)(unsafe.Pointer(array)).Fdata+uintptr(i)*4)) != 0) {
 15577  			libc.Xfree(tls, (*X_ARRAY32)(unsafe.Pointer(array)).Fdata)
 15578  			(*X_ARRAY32)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15579  			(*X_ARRAY32)(unsafe.Pointer(array)).Flength = CARD8(0)
 15580  			return FALSE
 15581  		}
 15582  	}
 15583  	return TRUE
 15584  }
 15585  
 15586  func XXdmcpReadARRAYofARRAY8(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAYofARRAY8Ptr) int32 { /* Read.c:164:1: */
 15587  	var i CARD8
 15588  
 15589  	// When returning FALSE, guarantee that array->data = 0.
 15590  	// This allows the user to safely call XdmcpDisposeARRAYofARRAY8(array)
 15591  	// regardless of the return value below.
 15592  	// Note that XdmcpDisposeARRAY*(array) will call free(array->data),
 15593  	// so we must guarantee that array->data is NULL or a malloced pointer.
 15594  	if !(XXdmcpReadCARD8(tls, buffer, (array /* &.length */)) != 0) {
 15595  		(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15596  		return FALSE
 15597  	}
 15598  	if !(int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength) != 0) {
 15599  		(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = uintptr(0)
 15600  		return TRUE
 15601  	}
 15602  	(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata = libc.Xmalloc(tls, (uint64((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength) * uint64(unsafe.Sizeof(ARRAY8{}))))
 15603  	if !(int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata) != 0) {
 15604  		return FALSE
 15605  	}
 15606  	for i = CARD8(0); int32(i) < int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength); i++ {
 15607  		if !(XXdmcpReadARRAY8(tls, buffer, ((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata+uintptr(i)*16)) != 0) {
 15608  			// We must free all of the arrays allocated thus far in the loop
 15609  			// and free array->data and finally set array->data = 0;
 15610  			// The easiest way to do this is to reset the length and call
 15611  			// XdmcpDisposeARRAYofARRAY8(array).
 15612  			(*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength = i
 15613  			XXdmcpDisposeARRAYofARRAY8(tls, array)
 15614  			return FALSE
 15615  		}
 15616  	}
 15617  	return TRUE
 15618  }
 15619  
 15620  func XXdmcpReadCARD8(tls *libc.TLS, buffer XdmcpBufferPtr, valuep CARD8Ptr) int32 { /* Read.c:206:1: */
 15621  	if (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer >= (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fcount {
 15622  		return FALSE
 15623  	}
 15624  	*(*CARD8)(unsafe.Pointer(valuep)) = *(*BYTE)(unsafe.Pointer((*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata + uintptr(libc.PostIncInt32(&(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer, 1))))
 15625  	return TRUE
 15626  }
 15627  
 15628  func XXdmcpReadCARD16(tls *libc.TLS, buffer XdmcpBufferPtr, valuep CARD16Ptr) int32 { /* Read.c:215:1: */
 15629  	bp := tls.Alloc(2)
 15630  	defer tls.Free(2)
 15631  
 15632  	// var high CARD8 at bp, 1
 15633  
 15634  	// var low CARD8 at bp+1, 1
 15635  
 15636  	if (XXdmcpReadCARD8(tls, buffer, bp /* &high */) != 0) && (XXdmcpReadCARD8(tls, buffer, bp+1 /* &low */) != 0) {
 15637  		*(*CARD16)(unsafe.Pointer(valuep)) = (CARD16(((int32(CARD16(*(*CARD8)(unsafe.Pointer(bp /* high */))))) << 8) | (int32(CARD16(*(*CARD8)(unsafe.Pointer(bp + 1 /* low */)))))))
 15638  		return TRUE
 15639  	}
 15640  	return FALSE
 15641  }
 15642  
 15643  func XXdmcpReadCARD32(tls *libc.TLS, buffer XdmcpBufferPtr, valuep CARD32Ptr) int32 { /* Read.c:229:1: */
 15644  	bp := tls.Alloc(4)
 15645  	defer tls.Free(4)
 15646  
 15647  	// var byte0 CARD8 at bp, 1
 15648  
 15649  	// var byte1 CARD8 at bp+1, 1
 15650  
 15651  	// var byte2 CARD8 at bp+2, 1
 15652  
 15653  	// var byte3 CARD8 at bp+3, 1
 15654  
 15655  	if (((XXdmcpReadCARD8(tls, buffer, bp /* &byte0 */) != 0) && (XXdmcpReadCARD8(tls, buffer, bp+1 /* &byte1 */) != 0)) && (XXdmcpReadCARD8(tls, buffer, bp+2 /* &byte2 */) != 0)) && (XXdmcpReadCARD8(tls, buffer, bp+3 /* &byte3 */) != 0) {
 15656  		*(*CARD32)(unsafe.Pointer(valuep)) = (((((CARD32(*(*CARD8)(unsafe.Pointer(bp /* byte0 */)))) << 24) | ((CARD32(*(*CARD8)(unsafe.Pointer(bp + 1 /* byte1 */)))) << 16)) | ((CARD32(*(*CARD8)(unsafe.Pointer(bp + 2 /* byte2 */)))) << 8)) | (CARD32(*(*CARD8)(unsafe.Pointer(bp + 3 /* byte3 */)))))
 15657  		return TRUE
 15658  	}
 15659  	return FALSE
 15660  }
 15661  
 15662  // The following function exists only to demonstrate the
 15663  // desired functional interface for this routine.  You will
 15664  // need to add the appropriate algorithm if you wish to
 15665  // use XDM-AUTHENTICATION-1/XDM-AUTHORIZATION-1.
 15666  //
 15667  // The interface for this routine is quite simple.  All three
 15668  // arguments are arrays of 8 unsigned characters, the first two
 15669  // are 64 bits of useful data, the last is 56 bits of useful
 15670  // data packed into 8 bytes, using the low 7 bits of each
 15671  // byte, filling the high bit with odd parity.
 15672  //
 15673  // Examine the XDMCP specification for the correct algorithm
 15674  
 15675  // header file for compatibility with something useful
 15676  
 15677  type Auth_cblock = [8]uint8 /* Wrap.h:5:23 */ // block size
 15678  
 15679  type Auth_ks_struct = struct{ F_ Auth_cblock } /* Wrap.h:7:9 */
 15680  
 15681  // block size
 15682  
 15683  type Auth_wrapper_schedule = [16]Auth_ks_struct /* Wrap.h:7:50 */
 15684  
 15685  func XXdmcpUnwrap(tls *libc.TLS, input uintptr, wrapper uintptr, output uintptr, bytes int32) { /* Unwrap.c:55:1: */
 15686  	bp := tls.Alloc(160)
 15687  	defer tls.Free(160)
 15688  
 15689  	var i int32
 15690  	var j int32
 15691  	var k int32
 15692  	// var tmp [8]uint8 at bp+152, 8
 15693  
 15694  	// var blocks [2][8]uint8 at bp+136, 16
 15695  
 15696  	// var expand_wrapper [8]uint8 at bp, 8
 15697  
 15698  	// var schedule Auth_wrapper_schedule at bp+8, 128
 15699  
 15700  	X_XdmcpWrapperToOddParity(tls, wrapper, bp /* &expand_wrapper[0] */)
 15701  	X_XdmcpAuthSetup(tls, bp /* &expand_wrapper[0] */, bp+8 /* &schedule[0] */)
 15702  
 15703  	k = 0
 15704  	for j = 0; j < bytes; j = j + (8) {
 15705  		if (bytes - j) < 8 {
 15706  			return
 15707  		} // bad input length
 15708  		for i = 0; i < 8; i++ {
 15709  			*(*uint8)(unsafe.Pointer((bp + 136 /* &blocks[0] */ + uintptr(k)*8) + uintptr(i))) = *(*uint8)(unsafe.Pointer(input + uintptr((j + i))))
 15710  		}
 15711  		X_XdmcpAuthDoIt(tls, (input + uintptr(j)), bp+152 /* tmp */, bp+8 /* &schedule[0] */, 0)
 15712  		// block chaining
 15713  		if k == 0 {
 15714  			k = 1
 15715  		} else {
 15716  			k = 0
 15717  		}
 15718  		for i = 0; i < 8; i++ {
 15719  			if j == 0 {
 15720  				*(*uint8)(unsafe.Pointer(output + uintptr((j + i)))) = *(*uint8)(unsafe.Pointer(bp + 152 /* &tmp[0] */ + uintptr(i)))
 15721  			} else {
 15722  				*(*uint8)(unsafe.Pointer(output + uintptr((j + i)))) = (uint8(int32(*(*uint8)(unsafe.Pointer(bp + 152 /* &tmp[0] */ + uintptr(i)))) ^ int32(*(*uint8)(unsafe.Pointer((bp + 136 /* &blocks[0] */ + uintptr(k)*8) + uintptr(i))))))
 15723  			}
 15724  		}
 15725  	}
 15726  }
 15727  
 15728  func XXdmcpWrap(tls *libc.TLS, input uintptr, wrapper uintptr, output uintptr, bytes int32) { /* Wrap.c:49:1: */
 15729  	bp := tls.Alloc(144)
 15730  	defer tls.Free(144)
 15731  
 15732  	var i int32
 15733  	var j int32
 15734  	var len int32
 15735  	// var tmp [8]uint8 at bp+136, 8
 15736  
 15737  	// var expand_wrapper [8]uint8 at bp, 8
 15738  
 15739  	// var schedule Auth_wrapper_schedule at bp+8, 128
 15740  
 15741  	X_XdmcpWrapperToOddParity(tls, wrapper, bp /* &expand_wrapper[0] */)
 15742  	X_XdmcpAuthSetup(tls, bp /* &expand_wrapper[0] */, bp+8 /* &schedule[0] */)
 15743  	for j = 0; j < bytes; j = j + (8) {
 15744  		len = 8
 15745  		if (bytes - j) < len {
 15746  			len = (bytes - j)
 15747  		}
 15748  		// block chaining
 15749  		for i = 0; i < len; i++ {
 15750  			if j == 0 {
 15751  				*(*uint8)(unsafe.Pointer(bp + 136 /* &tmp[0] */ + uintptr(i))) = *(*uint8)(unsafe.Pointer(input + uintptr(i)))
 15752  			} else {
 15753  				*(*uint8)(unsafe.Pointer(bp + 136 /* &tmp[0] */ + uintptr(i))) = (uint8(int32(*(*uint8)(unsafe.Pointer(input + uintptr((j + i))))) ^ int32(*(*uint8)(unsafe.Pointer(output + uintptr(((j - 8) + i)))))))
 15754  			}
 15755  		}
 15756  		for ; i < 8; i++ {
 15757  			if j == 0 {
 15758  				*(*uint8)(unsafe.Pointer(bp + 136 /* &tmp[0] */ + uintptr(i))) = uint8(0)
 15759  			} else {
 15760  				*(*uint8)(unsafe.Pointer(bp + 136 /* &tmp[0] */ + uintptr(i))) = (uint8(0 ^ int32(*(*uint8)(unsafe.Pointer(output + uintptr(((j - 8) + i)))))))
 15761  			}
 15762  		}
 15763  		X_XdmcpAuthDoIt(tls, bp+136 /* &tmp[0] */, (output + uintptr(j)), bp+8 /* &schedule[0] */, 1)
 15764  	}
 15765  }
 15766  
 15767  // Given a 56 bit wrapper in XDMCP format, create a 56
 15768  // bit wrapper in 7-bits + odd parity format
 15769  
 15770  func sOddParity(tls *libc.TLS, c uint8) int32 { /* Wrap.c:93:1: */
 15771  	c = (uint8(int32(c) ^ (int32(c) >> 4)))
 15772  	c = (uint8(int32(c) ^ (int32(c) >> 2)))
 15773  	c = (uint8(int32(c) ^ (int32(c) >> 1)))
 15774  	return (^int32(c) & 0x1)
 15775  }
 15776  
 15777  // Spread the 56 bit wrapper among 8 bytes, using the upper 7 bits
 15778  // of each byte, and storing an odd parity bit in the low bit
 15779  
 15780  func X_XdmcpWrapperToOddParity(tls *libc.TLS, in uintptr, out uintptr) { /* Wrap.c:107:1: */
 15781  	var ashift int32
 15782  	var bshift int32
 15783  	var i int32
 15784  	var c uint8
 15785  
 15786  	ashift = 7
 15787  	bshift = 1
 15788  	for i = 0; i < 7; i++ {
 15789  		c = (uint8(((int32(*(*uint8)(unsafe.Pointer(in + uintptr(i)))) << ashift) | (int32(*(*uint8)(unsafe.Pointer(in + uintptr((i + 1))))) >> bshift)) & 0x7f))
 15790  		*(*uint8)(unsafe.Pointer(out + uintptr(i))) = (uint8((int32(c) << 1) | sOddParity(tls, c)))
 15791  		ashift--
 15792  		bshift++
 15793  	}
 15794  	c = *(*uint8)(unsafe.Pointer(in + uintptr(i)))
 15795  	*(*uint8)(unsafe.Pointer(out + uintptr(i))) = (uint8((int32(c) << 1) | sOddParity(tls, c)))
 15796  }
 15797  
 15798  // des routines for non-usa - eay 10/9/1991 eay@psych.psy.uq.oz.au
 15799  // These routines were written for speed not size so they are bigger than
 15800  // needed.  I have removed some of the loop unrolling, this will reduce
 15801  // code size at the expense of some speed.
 15802  // 25/9/1991 eay - much faster _XdmcpAuthSetup (4 times faster).
 15803  // 19/9/1991 eay - cleaned up the IP and FP code.
 15804  // 10/9/1991 eay - first release.
 15805  // The des routines this file has been made from can be found in
 15806  // ftp.psy.uq.oz.au /pub/DES
 15807  // This particular version derived from OpenBSD Revsion 1.3.
 15808  
 15809  //
 15810  // Export Requirements.
 15811  // You may not export or re-export this software or any copy or
 15812  // adaptation in violation of any applicable laws or regulations.
 15813  //
 15814  // Without limiting the generality of the foregoing, hardware, software,
 15815  // technology or services provided under this license agreement may not
 15816  // be exported, reexported, transferred or downloaded to or within (or to
 15817  // a national resident of) countries under U.S. economic embargo
 15818  // including the following countries:
 15819  //
 15820  // Cuba, Iran, Libya, North Korea, Sudan and Syria. This list is subject
 15821  // to change.
 15822  //
 15823  // Hardware, software, technology or services may not be exported,
 15824  // reexported, transferred or downloaded to persons or entities listed on
 15825  // the U.S. Department of Commerce Denied Persons List, Entity List of
 15826  // proliferation concern or on any U.S. Treasury Department Designated
 15827  // Nationals exclusion list, or to parties directly or indirectly
 15828  // involved in the development or production of nuclear, chemical,
 15829  // biological weapons or in missile technology programs as specified in
 15830  // the U.S. Export Administration Regulations (15 CFR 744).
 15831  //
 15832  // By accepting this license agreement you confirm that you are not
 15833  // located in (or a national resident of) any country under U.S. economic
 15834  // embargo, not identified on any U.S. Department of Commerce Denied
 15835  // Persons List, Entity List or Treasury Department Designated Nationals
 15836  // exclusion list, and not directly or indirectly involved in the
 15837  // development or production of nuclear, chemical, biological weapons or
 15838  // in missile technology programs as specified in the U.S. Export
 15839  // Administration Regulations.
 15840  //
 15841  //
 15842  // Local Country Import Requirements. The software you are about to
 15843  // download contains cryptography technology. Some countries regulate the
 15844  // import, use and/or export of certain products with cryptography. The
 15845  // X.org Foundation makes no claims as to the applicability of local
 15846  // country import, use and/or export regulations in relation to the
 15847  // download of this product. If you are located outside the U.S. and
 15848  // Canada you are advised to consult your local country regulations to
 15849  // insure compliance.
 15850  
 15851  var skb = [8][64]CARD32{
 15852  	// for C bits (numbered as per FIPS 46) 1 2 3 4 5 6
 15853  	{CARD32(0x00000000), CARD32(0x00000010), CARD32(0x20000000), CARD32(0x20000010),
 15854  		CARD32(0x00010000), CARD32(0x00010010), CARD32(0x20010000), CARD32(0x20010010),
 15855  		CARD32(0x00000800), CARD32(0x00000810), CARD32(0x20000800), CARD32(0x20000810),
 15856  		CARD32(0x00010800), CARD32(0x00010810), CARD32(0x20010800), CARD32(0x20010810),
 15857  		CARD32(0x00000020), CARD32(0x00000030), CARD32(0x20000020), CARD32(0x20000030),
 15858  		CARD32(0x00010020), CARD32(0x00010030), CARD32(0x20010020), CARD32(0x20010030),
 15859  		CARD32(0x00000820), CARD32(0x00000830), CARD32(0x20000820), CARD32(0x20000830),
 15860  		CARD32(0x00010820), CARD32(0x00010830), CARD32(0x20010820), CARD32(0x20010830),
 15861  		CARD32(0x00080000), CARD32(0x00080010), CARD32(0x20080000), CARD32(0x20080010),
 15862  		CARD32(0x00090000), CARD32(0x00090010), CARD32(0x20090000), CARD32(0x20090010),
 15863  		CARD32(0x00080800), CARD32(0x00080810), CARD32(0x20080800), CARD32(0x20080810),
 15864  		CARD32(0x00090800), CARD32(0x00090810), CARD32(0x20090800), CARD32(0x20090810),
 15865  		CARD32(0x00080020), CARD32(0x00080030), CARD32(0x20080020), CARD32(0x20080030),
 15866  		CARD32(0x00090020), CARD32(0x00090030), CARD32(0x20090020), CARD32(0x20090030),
 15867  		CARD32(0x00080820), CARD32(0x00080830), CARD32(0x20080820), CARD32(0x20080830),
 15868  		CARD32(0x00090820), CARD32(0x00090830), CARD32(0x20090820), CARD32(0x20090830)},
 15869  	// for C bits (numbered as per FIPS 46) 7 8 10 11 12 13
 15870  	{CARD32(0x00000000), CARD32(0x02000000), CARD32(0x00002000), CARD32(0x02002000),
 15871  		CARD32(0x00200000), CARD32(0x02200000), CARD32(0x00202000), CARD32(0x02202000),
 15872  		CARD32(0x00000004), CARD32(0x02000004), CARD32(0x00002004), CARD32(0x02002004),
 15873  		CARD32(0x00200004), CARD32(0x02200004), CARD32(0x00202004), CARD32(0x02202004),
 15874  		CARD32(0x00000400), CARD32(0x02000400), CARD32(0x00002400), CARD32(0x02002400),
 15875  		CARD32(0x00200400), CARD32(0x02200400), CARD32(0x00202400), CARD32(0x02202400),
 15876  		CARD32(0x00000404), CARD32(0x02000404), CARD32(0x00002404), CARD32(0x02002404),
 15877  		CARD32(0x00200404), CARD32(0x02200404), CARD32(0x00202404), CARD32(0x02202404),
 15878  		CARD32(0x10000000), CARD32(0x12000000), CARD32(0x10002000), CARD32(0x12002000),
 15879  		CARD32(0x10200000), CARD32(0x12200000), CARD32(0x10202000), CARD32(0x12202000),
 15880  		CARD32(0x10000004), CARD32(0x12000004), CARD32(0x10002004), CARD32(0x12002004),
 15881  		CARD32(0x10200004), CARD32(0x12200004), CARD32(0x10202004), CARD32(0x12202004),
 15882  		CARD32(0x10000400), CARD32(0x12000400), CARD32(0x10002400), CARD32(0x12002400),
 15883  		CARD32(0x10200400), CARD32(0x12200400), CARD32(0x10202400), CARD32(0x12202400),
 15884  		CARD32(0x10000404), CARD32(0x12000404), CARD32(0x10002404), CARD32(0x12002404),
 15885  		CARD32(0x10200404), CARD32(0x12200404), CARD32(0x10202404), CARD32(0x12202404)},
 15886  	// for C bits (numbered as per FIPS 46) 14 15 16 17 19 20
 15887  	{CARD32(0x00000000), CARD32(0x00000001), CARD32(0x00040000), CARD32(0x00040001),
 15888  		CARD32(0x01000000), CARD32(0x01000001), CARD32(0x01040000), CARD32(0x01040001),
 15889  		CARD32(0x00000002), CARD32(0x00000003), CARD32(0x00040002), CARD32(0x00040003),
 15890  		CARD32(0x01000002), CARD32(0x01000003), CARD32(0x01040002), CARD32(0x01040003),
 15891  		CARD32(0x00000200), CARD32(0x00000201), CARD32(0x00040200), CARD32(0x00040201),
 15892  		CARD32(0x01000200), CARD32(0x01000201), CARD32(0x01040200), CARD32(0x01040201),
 15893  		CARD32(0x00000202), CARD32(0x00000203), CARD32(0x00040202), CARD32(0x00040203),
 15894  		CARD32(0x01000202), CARD32(0x01000203), CARD32(0x01040202), CARD32(0x01040203),
 15895  		CARD32(0x08000000), CARD32(0x08000001), CARD32(0x08040000), CARD32(0x08040001),
 15896  		CARD32(0x09000000), CARD32(0x09000001), CARD32(0x09040000), CARD32(0x09040001),
 15897  		CARD32(0x08000002), CARD32(0x08000003), CARD32(0x08040002), CARD32(0x08040003),
 15898  		CARD32(0x09000002), CARD32(0x09000003), CARD32(0x09040002), CARD32(0x09040003),
 15899  		CARD32(0x08000200), CARD32(0x08000201), CARD32(0x08040200), CARD32(0x08040201),
 15900  		CARD32(0x09000200), CARD32(0x09000201), CARD32(0x09040200), CARD32(0x09040201),
 15901  		CARD32(0x08000202), CARD32(0x08000203), CARD32(0x08040202), CARD32(0x08040203),
 15902  		CARD32(0x09000202), CARD32(0x09000203), CARD32(0x09040202), CARD32(0x09040203)},
 15903  	// for C bits (numbered as per FIPS 46) 21 23 24 26 27 28
 15904  	{CARD32(0x00000000), CARD32(0x00100000), CARD32(0x00000100), CARD32(0x00100100),
 15905  		CARD32(0x00000008), CARD32(0x00100008), CARD32(0x00000108), CARD32(0x00100108),
 15906  		CARD32(0x00001000), CARD32(0x00101000), CARD32(0x00001100), CARD32(0x00101100),
 15907  		CARD32(0x00001008), CARD32(0x00101008), CARD32(0x00001108), CARD32(0x00101108),
 15908  		CARD32(0x04000000), CARD32(0x04100000), CARD32(0x04000100), CARD32(0x04100100),
 15909  		CARD32(0x04000008), CARD32(0x04100008), CARD32(0x04000108), CARD32(0x04100108),
 15910  		CARD32(0x04001000), CARD32(0x04101000), CARD32(0x04001100), CARD32(0x04101100),
 15911  		CARD32(0x04001008), CARD32(0x04101008), CARD32(0x04001108), CARD32(0x04101108),
 15912  		CARD32(0x00020000), CARD32(0x00120000), CARD32(0x00020100), CARD32(0x00120100),
 15913  		CARD32(0x00020008), CARD32(0x00120008), CARD32(0x00020108), CARD32(0x00120108),
 15914  		CARD32(0x00021000), CARD32(0x00121000), CARD32(0x00021100), CARD32(0x00121100),
 15915  		CARD32(0x00021008), CARD32(0x00121008), CARD32(0x00021108), CARD32(0x00121108),
 15916  		CARD32(0x04020000), CARD32(0x04120000), CARD32(0x04020100), CARD32(0x04120100),
 15917  		CARD32(0x04020008), CARD32(0x04120008), CARD32(0x04020108), CARD32(0x04120108),
 15918  		CARD32(0x04021000), CARD32(0x04121000), CARD32(0x04021100), CARD32(0x04121100),
 15919  		CARD32(0x04021008), CARD32(0x04121008), CARD32(0x04021108), CARD32(0x04121108)},
 15920  	// for D bits (numbered as per FIPS 46) 1 2 3 4 5 6
 15921  	{CARD32(0x00000000), CARD32(0x10000000), CARD32(0x00010000), CARD32(0x10010000),
 15922  		CARD32(0x00000004), CARD32(0x10000004), CARD32(0x00010004), CARD32(0x10010004),
 15923  		CARD32(0x20000000), CARD32(0x30000000), CARD32(0x20010000), CARD32(0x30010000),
 15924  		CARD32(0x20000004), CARD32(0x30000004), CARD32(0x20010004), CARD32(0x30010004),
 15925  		CARD32(0x00100000), CARD32(0x10100000), CARD32(0x00110000), CARD32(0x10110000),
 15926  		CARD32(0x00100004), CARD32(0x10100004), CARD32(0x00110004), CARD32(0x10110004),
 15927  		CARD32(0x20100000), CARD32(0x30100000), CARD32(0x20110000), CARD32(0x30110000),
 15928  		CARD32(0x20100004), CARD32(0x30100004), CARD32(0x20110004), CARD32(0x30110004),
 15929  		CARD32(0x00001000), CARD32(0x10001000), CARD32(0x00011000), CARD32(0x10011000),
 15930  		CARD32(0x00001004), CARD32(0x10001004), CARD32(0x00011004), CARD32(0x10011004),
 15931  		CARD32(0x20001000), CARD32(0x30001000), CARD32(0x20011000), CARD32(0x30011000),
 15932  		CARD32(0x20001004), CARD32(0x30001004), CARD32(0x20011004), CARD32(0x30011004),
 15933  		CARD32(0x00101000), CARD32(0x10101000), CARD32(0x00111000), CARD32(0x10111000),
 15934  		CARD32(0x00101004), CARD32(0x10101004), CARD32(0x00111004), CARD32(0x10111004),
 15935  		CARD32(0x20101000), CARD32(0x30101000), CARD32(0x20111000), CARD32(0x30111000),
 15936  		CARD32(0x20101004), CARD32(0x30101004), CARD32(0x20111004), CARD32(0x30111004)},
 15937  	// for D bits (numbered as per FIPS 46) 8 9 11 12 13 14
 15938  	{CARD32(0x00000000), CARD32(0x08000000), CARD32(0x00000008), CARD32(0x08000008),
 15939  		CARD32(0x00000400), CARD32(0x08000400), CARD32(0x00000408), CARD32(0x08000408),
 15940  		CARD32(0x00020000), CARD32(0x08020000), CARD32(0x00020008), CARD32(0x08020008),
 15941  		CARD32(0x00020400), CARD32(0x08020400), CARD32(0x00020408), CARD32(0x08020408),
 15942  		CARD32(0x00000001), CARD32(0x08000001), CARD32(0x00000009), CARD32(0x08000009),
 15943  		CARD32(0x00000401), CARD32(0x08000401), CARD32(0x00000409), CARD32(0x08000409),
 15944  		CARD32(0x00020001), CARD32(0x08020001), CARD32(0x00020009), CARD32(0x08020009),
 15945  		CARD32(0x00020401), CARD32(0x08020401), CARD32(0x00020409), CARD32(0x08020409),
 15946  		CARD32(0x02000000), CARD32(0x0A000000), CARD32(0x02000008), CARD32(0x0A000008),
 15947  		CARD32(0x02000400), CARD32(0x0A000400), CARD32(0x02000408), CARD32(0x0A000408),
 15948  		CARD32(0x02020000), CARD32(0x0A020000), CARD32(0x02020008), CARD32(0x0A020008),
 15949  		CARD32(0x02020400), CARD32(0x0A020400), CARD32(0x02020408), CARD32(0x0A020408),
 15950  		CARD32(0x02000001), CARD32(0x0A000001), CARD32(0x02000009), CARD32(0x0A000009),
 15951  		CARD32(0x02000401), CARD32(0x0A000401), CARD32(0x02000409), CARD32(0x0A000409),
 15952  		CARD32(0x02020001), CARD32(0x0A020001), CARD32(0x02020009), CARD32(0x0A020009),
 15953  		CARD32(0x02020401), CARD32(0x0A020401), CARD32(0x02020409), CARD32(0x0A020409)},
 15954  	// for D bits (numbered as per FIPS 46) 16 17 18 19 20 21
 15955  	{CARD32(0x00000000), CARD32(0x00000100), CARD32(0x00080000), CARD32(0x00080100),
 15956  		CARD32(0x01000000), CARD32(0x01000100), CARD32(0x01080000), CARD32(0x01080100),
 15957  		CARD32(0x00000010), CARD32(0x00000110), CARD32(0x00080010), CARD32(0x00080110),
 15958  		CARD32(0x01000010), CARD32(0x01000110), CARD32(0x01080010), CARD32(0x01080110),
 15959  		CARD32(0x00200000), CARD32(0x00200100), CARD32(0x00280000), CARD32(0x00280100),
 15960  		CARD32(0x01200000), CARD32(0x01200100), CARD32(0x01280000), CARD32(0x01280100),
 15961  		CARD32(0x00200010), CARD32(0x00200110), CARD32(0x00280010), CARD32(0x00280110),
 15962  		CARD32(0x01200010), CARD32(0x01200110), CARD32(0x01280010), CARD32(0x01280110),
 15963  		CARD32(0x00000200), CARD32(0x00000300), CARD32(0x00080200), CARD32(0x00080300),
 15964  		CARD32(0x01000200), CARD32(0x01000300), CARD32(0x01080200), CARD32(0x01080300),
 15965  		CARD32(0x00000210), CARD32(0x00000310), CARD32(0x00080210), CARD32(0x00080310),
 15966  		CARD32(0x01000210), CARD32(0x01000310), CARD32(0x01080210), CARD32(0x01080310),
 15967  		CARD32(0x00200200), CARD32(0x00200300), CARD32(0x00280200), CARD32(0x00280300),
 15968  		CARD32(0x01200200), CARD32(0x01200300), CARD32(0x01280200), CARD32(0x01280300),
 15969  		CARD32(0x00200210), CARD32(0x00200310), CARD32(0x00280210), CARD32(0x00280310),
 15970  		CARD32(0x01200210), CARD32(0x01200310), CARD32(0x01280210), CARD32(0x01280310)},
 15971  	// for D bits (numbered as per FIPS 46) 22 23 24 25 27 28
 15972  	{CARD32(0x00000000), CARD32(0x04000000), CARD32(0x00040000), CARD32(0x04040000),
 15973  		CARD32(0x00000002), CARD32(0x04000002), CARD32(0x00040002), CARD32(0x04040002),
 15974  		CARD32(0x00002000), CARD32(0x04002000), CARD32(0x00042000), CARD32(0x04042000),
 15975  		CARD32(0x00002002), CARD32(0x04002002), CARD32(0x00042002), CARD32(0x04042002),
 15976  		CARD32(0x00000020), CARD32(0x04000020), CARD32(0x00040020), CARD32(0x04040020),
 15977  		CARD32(0x00000022), CARD32(0x04000022), CARD32(0x00040022), CARD32(0x04040022),
 15978  		CARD32(0x00002020), CARD32(0x04002020), CARD32(0x00042020), CARD32(0x04042020),
 15979  		CARD32(0x00002022), CARD32(0x04002022), CARD32(0x00042022), CARD32(0x04042022),
 15980  		CARD32(0x00000800), CARD32(0x04000800), CARD32(0x00040800), CARD32(0x04040800),
 15981  		CARD32(0x00000802), CARD32(0x04000802), CARD32(0x00040802), CARD32(0x04040802),
 15982  		CARD32(0x00002800), CARD32(0x04002800), CARD32(0x00042800), CARD32(0x04042800),
 15983  		CARD32(0x00002802), CARD32(0x04002802), CARD32(0x00042802), CARD32(0x04042802),
 15984  		CARD32(0x00000820), CARD32(0x04000820), CARD32(0x00040820), CARD32(0x04040820),
 15985  		CARD32(0x00000822), CARD32(0x04000822), CARD32(0x00040822), CARD32(0x04040822),
 15986  		CARD32(0x00002820), CARD32(0x04002820), CARD32(0x00042820), CARD32(0x04042820),
 15987  		CARD32(0x00002822), CARD32(0x04002822), CARD32(0x00042822), CARD32(0x04042822)},
 15988  } /* Wraphelp.c:64:21 */
 15989  
 15990  var sSPtrans = [8][64]CARD32{
 15991  	// nibble 0
 15992  	{CARD32(0x00410100), CARD32(0x00010000), CARD32(0x40400000), CARD32(0x40410100),
 15993  		CARD32(0x00400000), CARD32(0x40010100), CARD32(0x40010000), CARD32(0x40400000),
 15994  		CARD32(0x40010100), CARD32(0x00410100), CARD32(0x00410000), CARD32(0x40000100),
 15995  		CARD32(0x40400100), CARD32(0x00400000), CARD32(0x00000000), CARD32(0x40010000),
 15996  		CARD32(0x00010000), CARD32(0x40000000), CARD32(0x00400100), CARD32(0x00010100),
 15997  		CARD32(0x40410100), CARD32(0x00410000), CARD32(0x40000100), CARD32(0x00400100),
 15998  		CARD32(0x40000000), CARD32(0x00000100), CARD32(0x00010100), CARD32(0x40410000),
 15999  		CARD32(0x00000100), CARD32(0x40400100), CARD32(0x40410000), CARD32(0x00000000),
 16000  		CARD32(0x00000000), CARD32(0x40410100), CARD32(0x00400100), CARD32(0x40010000),
 16001  		CARD32(0x00410100), CARD32(0x00010000), CARD32(0x40000100), CARD32(0x00400100),
 16002  		CARD32(0x40410000), CARD32(0x00000100), CARD32(0x00010100), CARD32(0x40400000),
 16003  		CARD32(0x40010100), CARD32(0x40000000), CARD32(0x40400000), CARD32(0x00410000),
 16004  		CARD32(0x40410100), CARD32(0x00010100), CARD32(0x00410000), CARD32(0x40400100),
 16005  		CARD32(0x00400000), CARD32(0x40000100), CARD32(0x40010000), CARD32(0x00000000),
 16006  		CARD32(0x00010000), CARD32(0x00400000), CARD32(0x40400100), CARD32(0x00410100),
 16007  		CARD32(0x40000000), CARD32(0x40410000), CARD32(0x00000100), CARD32(0x40010100)},
 16008  
 16009  	// nibble 1
 16010  	{CARD32(0x08021002), CARD32(0x00000000), CARD32(0x00021000), CARD32(0x08020000),
 16011  		CARD32(0x08000002), CARD32(0x00001002), CARD32(0x08001000), CARD32(0x00021000),
 16012  		CARD32(0x00001000), CARD32(0x08020002), CARD32(0x00000002), CARD32(0x08001000),
 16013  		CARD32(0x00020002), CARD32(0x08021000), CARD32(0x08020000), CARD32(0x00000002),
 16014  		CARD32(0x00020000), CARD32(0x08001002), CARD32(0x08020002), CARD32(0x00001000),
 16015  		CARD32(0x00021002), CARD32(0x08000000), CARD32(0x00000000), CARD32(0x00020002),
 16016  		CARD32(0x08001002), CARD32(0x00021002), CARD32(0x08021000), CARD32(0x08000002),
 16017  		CARD32(0x08000000), CARD32(0x00020000), CARD32(0x00001002), CARD32(0x08021002),
 16018  		CARD32(0x00020002), CARD32(0x08021000), CARD32(0x08001000), CARD32(0x00021002),
 16019  		CARD32(0x08021002), CARD32(0x00020002), CARD32(0x08000002), CARD32(0x00000000),
 16020  		CARD32(0x08000000), CARD32(0x00001002), CARD32(0x00020000), CARD32(0x08020002),
 16021  		CARD32(0x00001000), CARD32(0x08000000), CARD32(0x00021002), CARD32(0x08001002),
 16022  		CARD32(0x08021000), CARD32(0x00001000), CARD32(0x00000000), CARD32(0x08000002),
 16023  		CARD32(0x00000002), CARD32(0x08021002), CARD32(0x00021000), CARD32(0x08020000),
 16024  		CARD32(0x08020002), CARD32(0x00020000), CARD32(0x00001002), CARD32(0x08001000),
 16025  		CARD32(0x08001002), CARD32(0x00000002), CARD32(0x08020000), CARD32(0x00021000)},
 16026  
 16027  	// nibble 2
 16028  	{CARD32(0x20800000), CARD32(0x00808020), CARD32(0x00000020), CARD32(0x20800020),
 16029  		CARD32(0x20008000), CARD32(0x00800000), CARD32(0x20800020), CARD32(0x00008020),
 16030  		CARD32(0x00800020), CARD32(0x00008000), CARD32(0x00808000), CARD32(0x20000000),
 16031  		CARD32(0x20808020), CARD32(0x20000020), CARD32(0x20000000), CARD32(0x20808000),
 16032  		CARD32(0x00000000), CARD32(0x20008000), CARD32(0x00808020), CARD32(0x00000020),
 16033  		CARD32(0x20000020), CARD32(0x20808020), CARD32(0x00008000), CARD32(0x20800000),
 16034  		CARD32(0x20808000), CARD32(0x00800020), CARD32(0x20008020), CARD32(0x00808000),
 16035  		CARD32(0x00008020), CARD32(0x00000000), CARD32(0x00800000), CARD32(0x20008020),
 16036  		CARD32(0x00808020), CARD32(0x00000020), CARD32(0x20000000), CARD32(0x00008000),
 16037  		CARD32(0x20000020), CARD32(0x20008000), CARD32(0x00808000), CARD32(0x20800020),
 16038  		CARD32(0x00000000), CARD32(0x00808020), CARD32(0x00008020), CARD32(0x20808000),
 16039  		CARD32(0x20008000), CARD32(0x00800000), CARD32(0x20808020), CARD32(0x20000000),
 16040  		CARD32(0x20008020), CARD32(0x20800000), CARD32(0x00800000), CARD32(0x20808020),
 16041  		CARD32(0x00008000), CARD32(0x00800020), CARD32(0x20800020), CARD32(0x00008020),
 16042  		CARD32(0x00800020), CARD32(0x00000000), CARD32(0x20808000), CARD32(0x20000020),
 16043  		CARD32(0x20800000), CARD32(0x20008020), CARD32(0x00000020), CARD32(0x00808000)},
 16044  
 16045  	// nibble 3
 16046  	{CARD32(0x00080201), CARD32(0x02000200), CARD32(0x00000001), CARD32(0x02080201),
 16047  		CARD32(0x00000000), CARD32(0x02080000), CARD32(0x02000201), CARD32(0x00080001),
 16048  		CARD32(0x02080200), CARD32(0x02000001), CARD32(0x02000000), CARD32(0x00000201),
 16049  		CARD32(0x02000001), CARD32(0x00080201), CARD32(0x00080000), CARD32(0x02000000),
 16050  		CARD32(0x02080001), CARD32(0x00080200), CARD32(0x00000200), CARD32(0x00000001),
 16051  		CARD32(0x00080200), CARD32(0x02000201), CARD32(0x02080000), CARD32(0x00000200),
 16052  		CARD32(0x00000201), CARD32(0x00000000), CARD32(0x00080001), CARD32(0x02080200),
 16053  		CARD32(0x02000200), CARD32(0x02080001), CARD32(0x02080201), CARD32(0x00080000),
 16054  		CARD32(0x02080001), CARD32(0x00000201), CARD32(0x00080000), CARD32(0x02000001),
 16055  		CARD32(0x00080200), CARD32(0x02000200), CARD32(0x00000001), CARD32(0x02080000),
 16056  		CARD32(0x02000201), CARD32(0x00000000), CARD32(0x00000200), CARD32(0x00080001),
 16057  		CARD32(0x00000000), CARD32(0x02080001), CARD32(0x02080200), CARD32(0x00000200),
 16058  		CARD32(0x02000000), CARD32(0x02080201), CARD32(0x00080201), CARD32(0x00080000),
 16059  		CARD32(0x02080201), CARD32(0x00000001), CARD32(0x02000200), CARD32(0x00080201),
 16060  		CARD32(0x00080001), CARD32(0x00080200), CARD32(0x02080000), CARD32(0x02000201),
 16061  		CARD32(0x00000201), CARD32(0x02000000), CARD32(0x02000001), CARD32(0x02080200)},
 16062  
 16063  	// nibble 4
 16064  	{CARD32(0x01000000), CARD32(0x00002000), CARD32(0x00000080), CARD32(0x01002084),
 16065  		CARD32(0x01002004), CARD32(0x01000080), CARD32(0x00002084), CARD32(0x01002000),
 16066  		CARD32(0x00002000), CARD32(0x00000004), CARD32(0x01000004), CARD32(0x00002080),
 16067  		CARD32(0x01000084), CARD32(0x01002004), CARD32(0x01002080), CARD32(0x00000000),
 16068  		CARD32(0x00002080), CARD32(0x01000000), CARD32(0x00002004), CARD32(0x00000084),
 16069  		CARD32(0x01000080), CARD32(0x00002084), CARD32(0x00000000), CARD32(0x01000004),
 16070  		CARD32(0x00000004), CARD32(0x01000084), CARD32(0x01002084), CARD32(0x00002004),
 16071  		CARD32(0x01002000), CARD32(0x00000080), CARD32(0x00000084), CARD32(0x01002080),
 16072  		CARD32(0x01002080), CARD32(0x01000084), CARD32(0x00002004), CARD32(0x01002000),
 16073  		CARD32(0x00002000), CARD32(0x00000004), CARD32(0x01000004), CARD32(0x01000080),
 16074  		CARD32(0x01000000), CARD32(0x00002080), CARD32(0x01002084), CARD32(0x00000000),
 16075  		CARD32(0x00002084), CARD32(0x01000000), CARD32(0x00000080), CARD32(0x00002004),
 16076  		CARD32(0x01000084), CARD32(0x00000080), CARD32(0x00000000), CARD32(0x01002084),
 16077  		CARD32(0x01002004), CARD32(0x01002080), CARD32(0x00000084), CARD32(0x00002000),
 16078  		CARD32(0x00002080), CARD32(0x01002004), CARD32(0x01000080), CARD32(0x00000084),
 16079  		CARD32(0x00000004), CARD32(0x00002084), CARD32(0x01002000), CARD32(0x01000004)},
 16080  
 16081  	// nibble 5
 16082  	{CARD32(0x10000008), CARD32(0x00040008), CARD32(0x00000000), CARD32(0x10040400),
 16083  		CARD32(0x00040008), CARD32(0x00000400), CARD32(0x10000408), CARD32(0x00040000),
 16084  		CARD32(0x00000408), CARD32(0x10040408), CARD32(0x00040400), CARD32(0x10000000),
 16085  		CARD32(0x10000400), CARD32(0x10000008), CARD32(0x10040000), CARD32(0x00040408),
 16086  		CARD32(0x00040000), CARD32(0x10000408), CARD32(0x10040008), CARD32(0x00000000),
 16087  		CARD32(0x00000400), CARD32(0x00000008), CARD32(0x10040400), CARD32(0x10040008),
 16088  		CARD32(0x10040408), CARD32(0x10040000), CARD32(0x10000000), CARD32(0x00000408),
 16089  		CARD32(0x00000008), CARD32(0x00040400), CARD32(0x00040408), CARD32(0x10000400),
 16090  		CARD32(0x00000408), CARD32(0x10000000), CARD32(0x10000400), CARD32(0x00040408),
 16091  		CARD32(0x10040400), CARD32(0x00040008), CARD32(0x00000000), CARD32(0x10000400),
 16092  		CARD32(0x10000000), CARD32(0x00000400), CARD32(0x10040008), CARD32(0x00040000),
 16093  		CARD32(0x00040008), CARD32(0x10040408), CARD32(0x00040400), CARD32(0x00000008),
 16094  		CARD32(0x10040408), CARD32(0x00040400), CARD32(0x00040000), CARD32(0x10000408),
 16095  		CARD32(0x10000008), CARD32(0x10040000), CARD32(0x00040408), CARD32(0x00000000),
 16096  		CARD32(0x00000400), CARD32(0x10000008), CARD32(0x10000408), CARD32(0x10040400),
 16097  		CARD32(0x10040000), CARD32(0x00000408), CARD32(0x00000008), CARD32(0x10040008)},
 16098  
 16099  	// nibble 6
 16100  	{CARD32(0x00000800), CARD32(0x00000040), CARD32(0x00200040), 0x80200000,
 16101  		0x80200840, 0x80000800, CARD32(0x00000840), CARD32(0x00000000),
 16102  		CARD32(0x00200000), 0x80200040, 0x80000040, CARD32(0x00200800),
 16103  		0x80000000, CARD32(0x00200840), CARD32(0x00200800), 0x80000040,
 16104  		0x80200040, CARD32(0x00000800), 0x80000800, 0x80200840,
 16105  		CARD32(0x00000000), CARD32(0x00200040), 0x80200000, CARD32(0x00000840),
 16106  		0x80200800, 0x80000840, CARD32(0x00200840), 0x80000000,
 16107  		0x80000840, 0x80200800, CARD32(0x00000040), CARD32(0x00200000),
 16108  		0x80000840, CARD32(0x00200800), 0x80200800, 0x80000040,
 16109  		CARD32(0x00000800), CARD32(0x00000040), CARD32(0x00200000), 0x80200800,
 16110  		0x80200040, 0x80000840, CARD32(0x00000840), CARD32(0x00000000),
 16111  		CARD32(0x00000040), 0x80200000, 0x80000000, CARD32(0x00200040),
 16112  		CARD32(0x00000000), 0x80200040, CARD32(0x00200040), CARD32(0x00000840),
 16113  		0x80000040, CARD32(0x00000800), 0x80200840, CARD32(0x00200000),
 16114  		CARD32(0x00200840), 0x80000000, 0x80000800, 0x80200840,
 16115  		0x80200000, CARD32(0x00200840), CARD32(0x00200800), 0x80000800},
 16116  
 16117  	// nibble 7
 16118  	{CARD32(0x04100010), CARD32(0x04104000), CARD32(0x00004010), CARD32(0x00000000),
 16119  		CARD32(0x04004000), CARD32(0x00100010), CARD32(0x04100000), CARD32(0x04104010),
 16120  		CARD32(0x00000010), CARD32(0x04000000), CARD32(0x00104000), CARD32(0x00004010),
 16121  		CARD32(0x00104010), CARD32(0x04004010), CARD32(0x04000010), CARD32(0x04100000),
 16122  		CARD32(0x00004000), CARD32(0x00104010), CARD32(0x00100010), CARD32(0x04004000),
 16123  		CARD32(0x04104010), CARD32(0x04000010), CARD32(0x00000000), CARD32(0x00104000),
 16124  		CARD32(0x04000000), CARD32(0x00100000), CARD32(0x04004010), CARD32(0x04100010),
 16125  		CARD32(0x00100000), CARD32(0x00004000), CARD32(0x04104000), CARD32(0x00000010),
 16126  		CARD32(0x00100000), CARD32(0x00004000), CARD32(0x04000010), CARD32(0x04104010),
 16127  		CARD32(0x00004010), CARD32(0x04000000), CARD32(0x00000000), CARD32(0x00104000),
 16128  		CARD32(0x04100010), CARD32(0x04004010), CARD32(0x04004000), CARD32(0x00100010),
 16129  		CARD32(0x04104000), CARD32(0x00000010), CARD32(0x00100010), CARD32(0x04004000),
 16130  		CARD32(0x04104010), CARD32(0x00100000), CARD32(0x04100000), CARD32(0x04000010),
 16131  		CARD32(0x00104000), CARD32(0x00004010), CARD32(0x04004010), CARD32(0x04100000),
 16132  		CARD32(0x00000010), CARD32(0x04104000), CARD32(0x00104010), CARD32(0x00000000),
 16133  		CARD32(0x04000000), CARD32(0x04100010), CARD32(0x00004000), CARD32(0x00104010)},
 16134  } /* Wraphelp.c:204:21 */
 16135  
 16136  var shifts2 = [16]int8{int8(0), int8(0), int8(1), int8(1), int8(1), int8(1), int8(1), int8(1), int8(0), int8(1), int8(1), int8(1), int8(1), int8(1), int8(1), int8(0)} /* Wraphelp.c:370:19 */
 16137  
 16138  func X_XdmcpAuthSetup(tls *libc.TLS, key uintptr, schedule uintptr) { /* Wraphelp.c:372:6: */
 16139  	var c CARD32
 16140  	var d CARD32
 16141  	var t CARD32
 16142  	var s CARD32
 16143  	var in uintptr
 16144  	var k uintptr
 16145  	var i int32
 16146  
 16147  	k = schedule
 16148  	in = key
 16149  
 16150  	c = CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))
 16151  	c = c | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 8)
 16152  	c = c | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 16)
 16153  	c = c | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 24)
 16154  	d = CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))
 16155  	d = d | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 8)
 16156  	d = d | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 16)
 16157  	d = d | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 24)
 16158  
 16159  	// do PC1 in 60 simple operations
 16160  	(t) = ((((d) >> (4)) ^ (c)) & (CARD32(0x0f0f0f0f)))
 16161  	c = c ^ (t)
 16162  	d = d ^ ((t) << (4))
 16163  	(t) = ((((c) << (16 - (-2))) ^ (c)) & (0xcccc0000))
 16164  	(c) = (((c) ^ (t)) ^ (t >> (16 - (-2))))
 16165  	(t) = ((((c) << (16 - (-1))) ^ (c)) & (0xaaaa0000))
 16166  	(c) = (((c) ^ (t)) ^ (t >> (16 - (-1))))
 16167  	(t) = ((((c) << (16 - (8))) ^ (c)) & (CARD32(0x00ff0000)))
 16168  	(c) = (((c) ^ (t)) ^ (t >> (16 - (8))))
 16169  	(t) = ((((c) << (16 - (-1))) ^ (c)) & (0xaaaa0000))
 16170  	(c) = (((c) ^ (t)) ^ (t >> (16 - (-1))))
 16171  	(t) = ((((d) << (16 - (-8))) ^ (d)) & (0xff000000))
 16172  	(d) = (((d) ^ (t)) ^ (t >> (16 - (-8))))
 16173  	(t) = ((((d) << (16 - (8))) ^ (d)) & (CARD32(0x00ff0000)))
 16174  	(d) = (((d) ^ (t)) ^ (t >> (16 - (8))))
 16175  	(t) = ((((d) << (16 - (2))) ^ (d)) & (CARD32(0x33330000)))
 16176  	(d) = (((d) ^ (t)) ^ (t >> (16 - (2))))
 16177  	d = ((((d & CARD32(0x00aa00aa)) << 7) | ((d & CARD32(0x55005500)) >> 7)) | (d & 0xaa55aa55))
 16178  	d = ((d >> 8) | ((c & 0xf0000000) >> 4))
 16179  	c = c & (CARD32(0x0fffffff))
 16180  
 16181  	for i = 0; i < ITERATIONS; i++ {
 16182  		if shifts2[i] != 0 {
 16183  			c = ((c >> 2) | (c << 26))
 16184  			d = ((d >> 2) | (d << 26))
 16185  		} else {
 16186  			c = ((c >> 1) | (c << 27))
 16187  			d = ((d >> 1) | (d << 27))
 16188  		}
 16189  		c = c & (CARD32(0x0fffffff))
 16190  		d = d & (CARD32(0x0fffffff))
 16191  		// could be a few less shifts but I am to lazy at this
 16192  		// point in time to investigate
 16193  		s = (((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb))) + uintptr(((c)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 1*256) + uintptr((((c>>6)&CARD32(0x03))|((c>>7)&CARD32(0x3c))))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 2*256) + uintptr((((c>>13)&CARD32(0x0f))|((c>>14)&CARD32(0x30))))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 3*256) + uintptr(((((c>>20)&CARD32(0x01))|((c>>21)&CARD32(0x06)))|((c>>22)&CARD32(0x38))))*4)))
 16194  		t = (((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 4*256) + uintptr(((d)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 5*256) + uintptr((((d>>7)&CARD32(0x03))|((d>>8)&CARD32(0x3c))))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 6*256) + uintptr(((d>>15)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&skb)) + 7*256) + uintptr((((d>>21)&CARD32(0x0f))|((d>>22)&CARD32(0x30))))*4)))
 16195  
 16196  		// table contained 0213 4657
 16197  		*(*CARD32)(unsafe.Pointer(libc.PostIncUintptr(&k, 4))) = ((t << 16) | (s & CARD32(0x0000ffff)))
 16198  		s = ((s >> 16) | (t & 0xffff0000))
 16199  
 16200  		s = ((s << 4) | (s >> 28))
 16201  		*(*CARD32)(unsafe.Pointer(libc.PostIncUintptr(&k, 4))) = s
 16202  	}
 16203  	return
 16204  }
 16205  
 16206  func X_XdmcpAuthDoIt(tls *libc.TLS, input uintptr, output uintptr, ks uintptr, encrypt int32) { /* Wraphelp.c:443:6: */
 16207  	var l CARD32
 16208  	var r CARD32
 16209  	var t CARD32
 16210  	var u CARD32
 16211  	var s uintptr
 16212  	var in uintptr
 16213  	var out uintptr
 16214  	var i int32
 16215  
 16216  	in = input
 16217  	out = output
 16218  	l = CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))
 16219  	l = l | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 8)
 16220  	l = l | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 16)
 16221  	l = l | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 24)
 16222  	r = CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))
 16223  	r = r | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 8)
 16224  	r = r | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 16)
 16225  	r = r | ((CARD32(*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(in), 1))))) << 24)
 16226  
 16227  	// do IP
 16228  	(t) = ((((r) >> (4)) ^ (l)) & (CARD32(0x0f0f0f0f)))
 16229  	l = l ^ (t)
 16230  	r = r ^ ((t) << (4))
 16231  	(t) = ((((l) >> (16)) ^ (r)) & (CARD32(0x0000ffff)))
 16232  	r = r ^ (t)
 16233  	l = l ^ ((t) << (16))
 16234  	(t) = ((((r) >> (2)) ^ (l)) & (CARD32(0x33333333)))
 16235  	l = l ^ (t)
 16236  	r = r ^ ((t) << (2))
 16237  	(t) = ((((l) >> (8)) ^ (r)) & (CARD32(0x00ff00ff)))
 16238  	r = r ^ (t)
 16239  	l = l ^ ((t) << (8))
 16240  	(t) = ((((r) >> (1)) ^ (l)) & (CARD32(0x55555555)))
 16241  	l = l ^ (t)
 16242  	r = r ^ ((t) << (1))
 16243  	// r and l are reversed - remember that :-)
 16244  	t = l
 16245  	l = r
 16246  	r = t
 16247  
 16248  	s = ks
 16249  
 16250  	if encrypt != 0 {
 16251  		for i = 0; i < (ITERATIONS * 2); i = i + (4) {
 16252  			t = ((r << 1) | (r >> 31))
 16253  			u = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr(i)*4)))
 16254  			t = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr((i+1))*4)))
 16255  			t = ((t >> 4) | (t << 28))
 16256  			l = l ^ (((((((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 1*256) + uintptr(((t)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 3*256) + uintptr(((t>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 5*256) + uintptr(((t>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 7*256) + uintptr(((t>>24)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans))) + uintptr(((u)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 2*256) + uintptr(((u>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 4*256) + uintptr(((u>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 6*256) + uintptr(((u>>24)&CARD32(0x3f)))*4)))
 16257  			//	1
 16258  			t = ((l << 1) | (l >> 31))
 16259  			u = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr((i+2))*4)))
 16260  			t = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr(((i+2)+1))*4)))
 16261  			t = ((t >> 4) | (t << 28))
 16262  			r = r ^ (((((((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 1*256) + uintptr(((t)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 3*256) + uintptr(((t>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 5*256) + uintptr(((t>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 7*256) + uintptr(((t>>24)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans))) + uintptr(((u)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 2*256) + uintptr(((u>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 4*256) + uintptr(((u>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 6*256) + uintptr(((u>>24)&CARD32(0x3f)))*4)))
 16263  			//  2
 16264  		}
 16265  	} else {
 16266  		for i = ((ITERATIONS * 2) - 2); i >= 0; i = i - (4) {
 16267  			t = ((r << 1) | (r >> 31))
 16268  			u = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr(i)*4)))
 16269  			t = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr((i+1))*4)))
 16270  			t = ((t >> 4) | (t << 28))
 16271  			l = l ^ (((((((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 1*256) + uintptr(((t)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 3*256) + uintptr(((t>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 5*256) + uintptr(((t>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 7*256) + uintptr(((t>>24)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans))) + uintptr(((u)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 2*256) + uintptr(((u>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 4*256) + uintptr(((u>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 6*256) + uintptr(((u>>24)&CARD32(0x3f)))*4)))
 16272  			//	1
 16273  			t = ((l << 1) | (l >> 31))
 16274  			u = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr((i-2))*4)))
 16275  			t = (t ^ *(*CARD32)(unsafe.Pointer(s + uintptr(((i-2)+1))*4)))
 16276  			t = ((t >> 4) | (t << 28))
 16277  			r = r ^ (((((((*(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 1*256) + uintptr(((t)&CARD32(0x3f)))*4)) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 3*256) + uintptr(((t>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 5*256) + uintptr(((t>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 7*256) + uintptr(((t>>24)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans))) + uintptr(((u)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 2*256) + uintptr(((u>>8)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 4*256) + uintptr(((u>>16)&CARD32(0x3f)))*4))) | *(*CARD32)(unsafe.Pointer((uintptr(unsafe.Pointer(&sSPtrans)) + 6*256) + uintptr(((u>>24)&CARD32(0x3f)))*4)))
 16278  			//  2
 16279  		}
 16280  	}
 16281  
 16282  	// swap l and r
 16283  	// we will not do the swap so just remember they are
 16284  	// reversed for the rest of the subroutine
 16285  	// luckily by FP fixes this problem :-)
 16286  
 16287  	(t) = ((((r) >> (1)) ^ (l)) & (CARD32(0x55555555)))
 16288  	l = l ^ (t)
 16289  	r = r ^ ((t) << (1))
 16290  	(t) = ((((l) >> (8)) ^ (r)) & (CARD32(0x00ff00ff)))
 16291  	r = r ^ (t)
 16292  	l = l ^ ((t) << (8))
 16293  	(t) = ((((r) >> (2)) ^ (l)) & (CARD32(0x33333333)))
 16294  	l = l ^ (t)
 16295  	r = r ^ ((t) << (2))
 16296  	(t) = ((((l) >> (16)) ^ (r)) & (CARD32(0x0000ffff)))
 16297  	r = r ^ (t)
 16298  	l = l ^ ((t) << (16))
 16299  	(t) = ((((r) >> (4)) ^ (l)) & (CARD32(0x0f0f0f0f)))
 16300  	l = l ^ (t)
 16301  	r = r ^ ((t) << (4))
 16302  
 16303  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8((l) & CARD32(0xff)))
 16304  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((l) >> 8) & CARD32(0xff)))
 16305  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((l) >> 16) & CARD32(0xff)))
 16306  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((l) >> 24) & CARD32(0xff)))
 16307  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8((r) & CARD32(0xff)))
 16308  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((r) >> 8) & CARD32(0xff)))
 16309  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((r) >> 16) & CARD32(0xff)))
 16310  	*(*CARD8)(unsafe.Pointer(libc.PostIncUintptr(&(out), 1))) = (CARD8(((r) >> 24) & CARD32(0xff)))
 16311  	return
 16312  }
 16313  
 16314  // getsubopt(3) external variable
 16315  // valloc is now declared in _malloc.h
 16316  
 16317  // Poison the following routines if -fshort-wchar is set
 16318  
 16319  func XXdmcpWriteHeader(tls *libc.TLS, buffer XdmcpBufferPtr, header XdmcpHeaderPtr) int32 { /* Write.c:37:1: */
 16320  	var newData uintptr
 16321  
 16322  	if (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize < (6 + int32((*X_XdmcpHeader)(unsafe.Pointer(header)).Flength)) {
 16323  		newData = libc.Xmalloc(tls, (uint64(XDM_MAX_MSGLEN) * uint64(unsafe.Sizeof(BYTE(0)))))
 16324  		if !(newData != 0) {
 16325  			return FALSE
 16326  		}
 16327  		libc.Xfree(tls, (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata)
 16328  		(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata = newData
 16329  		(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize = XDM_MAX_MSGLEN
 16330  	}
 16331  	(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer = 0
 16332  	if !(XXdmcpWriteCARD16(tls, buffer, uint32((*X_XdmcpHeader)(unsafe.Pointer(header)).Fversion)) != 0) {
 16333  		return FALSE
 16334  	}
 16335  	if !(XXdmcpWriteCARD16(tls, buffer, uint32((*X_XdmcpHeader)(unsafe.Pointer(header)).Fopcode)) != 0) {
 16336  		return FALSE
 16337  	}
 16338  	if !(XXdmcpWriteCARD16(tls, buffer, uint32((*X_XdmcpHeader)(unsafe.Pointer(header)).Flength)) != 0) {
 16339  		return FALSE
 16340  	}
 16341  	return TRUE
 16342  }
 16343  
 16344  func XXdmcpWriteARRAY8(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY8Ptr) int32 { /* Write.c:63:1: */
 16345  	var i int32
 16346  
 16347  	if !(XXdmcpWriteCARD16(tls, buffer, uint32((*X_ARRAY8)(unsafe.Pointer(array)).Flength)) != 0) {
 16348  		return FALSE
 16349  	}
 16350  	for i = 0; i < int32((*X_ARRAY8)(unsafe.Pointer(array)).Flength); i++ {
 16351  		if !(XXdmcpWriteCARD8(tls, buffer, uint32(*(*CARD8)(unsafe.Pointer((*X_ARRAY8)(unsafe.Pointer(array)).Fdata + uintptr(i))))) != 0) {
 16352  			return FALSE
 16353  		}
 16354  	}
 16355  	return TRUE
 16356  }
 16357  
 16358  func XXdmcpWriteARRAY16(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY16Ptr) int32 { /* Write.c:76:1: */
 16359  	var i int32
 16360  
 16361  	if !(XXdmcpWriteCARD8(tls, buffer, uint32((*X_ARRAY16)(unsafe.Pointer(array)).Flength)) != 0) {
 16362  		return FALSE
 16363  	}
 16364  	for i = 0; i < int32((*X_ARRAY16)(unsafe.Pointer(array)).Flength); i++ {
 16365  		if !(XXdmcpWriteCARD16(tls, buffer, uint32(*(*CARD16)(unsafe.Pointer((*X_ARRAY16)(unsafe.Pointer(array)).Fdata + uintptr(i)*2)))) != 0) {
 16366  			return FALSE
 16367  		}
 16368  	}
 16369  	return TRUE
 16370  }
 16371  
 16372  func XXdmcpWriteARRAY32(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAY32Ptr) int32 { /* Write.c:89:1: */
 16373  	var i int32
 16374  
 16375  	if !(XXdmcpWriteCARD8(tls, buffer, uint32((*X_ARRAY32)(unsafe.Pointer(array)).Flength)) != 0) {
 16376  		return FALSE
 16377  	}
 16378  	for i = 0; i < int32((*X_ARRAY32)(unsafe.Pointer(array)).Flength); i++ {
 16379  		if !(XXdmcpWriteCARD32(tls, buffer, *(*CARD32)(unsafe.Pointer((*X_ARRAY32)(unsafe.Pointer(array)).Fdata + uintptr(i)*4))) != 0) {
 16380  			return FALSE
 16381  		}
 16382  	}
 16383  	return TRUE
 16384  }
 16385  
 16386  func XXdmcpWriteARRAYofARRAY8(tls *libc.TLS, buffer XdmcpBufferPtr, array ARRAYofARRAY8Ptr) int32 { /* Write.c:102:1: */
 16387  	var i int32
 16388  
 16389  	if !(XXdmcpWriteCARD8(tls, buffer, uint32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength)) != 0) {
 16390  		return FALSE
 16391  	}
 16392  	for i = 0; i < int32((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Flength); i++ {
 16393  		if !(XXdmcpWriteARRAY8(tls, buffer, ((*X_ARRAYofARRAY8)(unsafe.Pointer(array)).Fdata+uintptr(i)*16)) != 0) {
 16394  			return FALSE
 16395  		}
 16396  	}
 16397  	return TRUE
 16398  }
 16399  
 16400  func XXdmcpWriteCARD8(tls *libc.TLS, buffer XdmcpBufferPtr, value uint32) int32 { /* Write.c:115:1: */
 16401  	if (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer >= (*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fsize {
 16402  		return FALSE
 16403  	}
 16404  	*(*BYTE)(unsafe.Pointer((*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fdata + uintptr(libc.PostIncInt32(&(*X_XdmcpBuffer)(unsafe.Pointer(buffer)).Fpointer, 1)))) = BYTE(value)
 16405  	return TRUE
 16406  }
 16407  
 16408  func XXdmcpWriteCARD16(tls *libc.TLS, buffer XdmcpBufferPtr, value uint32) int32 { /* Write.c:126:1: */
 16409  	if !(XXdmcpWriteCARD8(tls, buffer, (value>>8)) != 0) {
 16410  		return FALSE
 16411  	}
 16412  	if !(XXdmcpWriteCARD8(tls, buffer, (value&uint32(0xff))) != 0) {
 16413  		return FALSE
 16414  	}
 16415  	return TRUE
 16416  }
 16417  
 16418  func XXdmcpWriteCARD32(tls *libc.TLS, buffer XdmcpBufferPtr, value uint32) int32 { /* Write.c:138:1: */
 16419  	if !(XXdmcpWriteCARD8(tls, buffer, (value>>24)) != 0) {
 16420  		return FALSE
 16421  	}
 16422  	if !(XXdmcpWriteCARD8(tls, buffer, ((value>>16)&uint32(0xff))) != 0) {
 16423  		return FALSE
 16424  	}
 16425  	if !(XXdmcpWriteCARD8(tls, buffer, ((value>>8)&uint32(0xff))) != 0) {
 16426  		return FALSE
 16427  	}
 16428  	if !(XXdmcpWriteCARD8(tls, buffer, (value&uint32(0xff))) != 0) {
 16429  		return FALSE
 16430  	}
 16431  	return TRUE
 16432  }