github.com/afumu/libc@v0.0.6/limits/limits_darwin_amd64.go (about)

     1  // Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_darwin_amd64.go -pkgname limits', DO NOT EDIT.
     2  
     3  package limits
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	ARG_MAX                                = 262144
    19  	BC_BASE_MAX                            = 99
    20  	BC_DIM_MAX                             = 2048
    21  	BC_SCALE_MAX                           = 99
    22  	BC_STRING_MAX                          = 1000
    23  	CHARCLASS_NAME_MAX                     = 14
    24  	CHAR_BIT                               = 8
    25  	CHAR_MAX                               = 127
    26  	CHAR_MIN                               = -128
    27  	CHILD_MAX                              = 266
    28  	CLK_TCK                                = 100
    29  	COLL_WEIGHTS_MAX                       = 2
    30  	EQUIV_CLASS_MAX                        = 2
    31  	EXPR_NEST_MAX                          = 32
    32  	GID_MAX                                = 2147483647
    33  	INT_MAX                                = 2147483647
    34  	INT_MIN                                = -2147483648
    35  	IOV_MAX                                = 1024
    36  	LINE_MAX                               = 2048
    37  	LINK_MAX                               = 32767
    38  	LLONG_MAX                              = 9223372036854775807
    39  	LLONG_MIN                              = -9223372036854775808
    40  	LONG_BIT                               = 64
    41  	LONG_LONG_MAX                          = 9223372036854775807
    42  	LONG_LONG_MIN                          = -9223372036854775808
    43  	LONG_MAX                               = 9223372036854775807
    44  	LONG_MIN                               = -9223372036854775808
    45  	MAX_CANON                              = 1024
    46  	MAX_INPUT                              = 1024
    47  	MB_LEN_MAX                             = 6
    48  	NAME_MAX                               = 255
    49  	NGROUPS_MAX                            = 16
    50  	NL_ARGMAX                              = 9
    51  	NL_LANGMAX                             = 14
    52  	NL_MSGMAX                              = 32767
    53  	NL_NMAX                                = 1
    54  	NL_SETMAX                              = 255
    55  	NL_TEXTMAX                             = 2048
    56  	NZERO                                  = 20
    57  	OFF_MAX                                = 9223372036854775807
    58  	OFF_MIN                                = -9223372036854775808
    59  	OPEN_MAX                               = 10240
    60  	PASS_MAX                               = 128
    61  	PATH_MAX                               = 1024
    62  	PIPE_BUF                               = 512
    63  	PTHREAD_DESTRUCTOR_ITERATIONS          = 4
    64  	PTHREAD_KEYS_MAX                       = 512
    65  	PTHREAD_STACK_MIN                      = 8192
    66  	QUAD_MAX                               = 9223372036854775807
    67  	QUAD_MIN                               = -9223372036854775808
    68  	RE_DUP_MAX                             = 255
    69  	SCHAR_MAX                              = 127
    70  	SCHAR_MIN                              = -128
    71  	SHRT_MAX                               = 32767
    72  	SHRT_MIN                               = -32768
    73  	SIZE_T_MAX                             = 18446744073709551615
    74  	SSIZE_MAX                              = 9223372036854775807
    75  	UCHAR_MAX                              = 255
    76  	UID_MAX                                = 2147483647
    77  	UINT_MAX                               = 4294967295
    78  	ULLONG_MAX                             = 18446744073709551615
    79  	ULONG_LONG_MAX                         = 18446744073709551615
    80  	ULONG_MAX                              = 18446744073709551615
    81  	UQUAD_MAX                              = 18446744073709551615
    82  	USHRT_MAX                              = 65535
    83  	WORD_BIT                               = 32
    84  	X_CDEFS_H_                             = 0
    85  	X_DARWIN_FEATURE_64_BIT_INODE          = 1
    86  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
    87  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3
    88  	X_FILE_OFFSET_BITS                     = 64
    89  	X_GCC_LIMITS_H_                        = 0
    90  	X_I386_LIMITS_H_                       = 0
    91  	X_I386__LIMITS_H_                      = 0
    92  	X_LIMITS_H_                            = 0
    93  	X_LIMITS_H___                          = 0
    94  	X_LP64                                 = 1
    95  	X_Nonnull                              = 0
    96  	X_Null_unspecified                     = 0
    97  	X_Nullable                             = 0
    98  	X_POSIX2_BC_BASE_MAX                   = 99
    99  	X_POSIX2_BC_DIM_MAX                    = 2048
   100  	X_POSIX2_BC_SCALE_MAX                  = 99
   101  	X_POSIX2_BC_STRING_MAX                 = 1000
   102  	X_POSIX2_CHARCLASS_NAME_MAX            = 14
   103  	X_POSIX2_COLL_WEIGHTS_MAX              = 2
   104  	X_POSIX2_EQUIV_CLASS_MAX               = 2
   105  	X_POSIX2_EXPR_NEST_MAX                 = 32
   106  	X_POSIX2_LINE_MAX                      = 2048
   107  	X_POSIX2_RE_DUP_MAX                    = 255
   108  	X_POSIX_AIO_LISTIO_MAX                 = 2
   109  	X_POSIX_AIO_MAX                        = 1
   110  	X_POSIX_ARG_MAX                        = 4096
   111  	X_POSIX_CHILD_MAX                      = 25
   112  	X_POSIX_CLOCKRES_MIN                   = 20000000
   113  	X_POSIX_DELAYTIMER_MAX                 = 32
   114  	X_POSIX_HOST_NAME_MAX                  = 255
   115  	X_POSIX_LINK_MAX                       = 8
   116  	X_POSIX_LOGIN_NAME_MAX                 = 9
   117  	X_POSIX_MAX_CANON                      = 255
   118  	X_POSIX_MAX_INPUT                      = 255
   119  	X_POSIX_MQ_OPEN_MAX                    = 8
   120  	X_POSIX_MQ_PRIO_MAX                    = 32
   121  	X_POSIX_NAME_MAX                       = 14
   122  	X_POSIX_NGROUPS_MAX                    = 8
   123  	X_POSIX_OPEN_MAX                       = 20
   124  	X_POSIX_PATH_MAX                       = 256
   125  	X_POSIX_PIPE_BUF                       = 512
   126  	X_POSIX_RE_DUP_MAX                     = 255
   127  	X_POSIX_RTSIG_MAX                      = 8
   128  	X_POSIX_SEM_NSEMS_MAX                  = 256
   129  	X_POSIX_SEM_VALUE_MAX                  = 32767
   130  	X_POSIX_SIGQUEUE_MAX                   = 32
   131  	X_POSIX_SSIZE_MAX                      = 32767
   132  	X_POSIX_SS_REPL_MAX                    = 4
   133  	X_POSIX_STREAM_MAX                     = 8
   134  	X_POSIX_SYMLINK_MAX                    = 255
   135  	X_POSIX_SYMLOOP_MAX                    = 8
   136  	X_POSIX_THREAD_DESTRUCTOR_ITERATIONS   = 4
   137  	X_POSIX_THREAD_KEYS_MAX                = 128
   138  	X_POSIX_THREAD_THREADS_MAX             = 64
   139  	X_POSIX_TIMER_MAX                      = 32
   140  	X_POSIX_TRACE_EVENT_NAME_MAX           = 30
   141  	X_POSIX_TRACE_NAME_MAX                 = 8
   142  	X_POSIX_TRACE_SYS_MAX                  = 8
   143  	X_POSIX_TRACE_USER_EVENT_MAX           = 32
   144  	X_POSIX_TTY_NAME_MAX                   = 9
   145  	X_POSIX_TZNAME_MAX                     = 6
   146  	X_SYS_SYSLIMITS_H_                     = 0
   147  	X_XOPEN_IOV_MAX                        = 16
   148  	X_XOPEN_NAME_MAX                       = 255
   149  	X_XOPEN_PATH_MAX                       = 1024
   150  )
   151  
   152  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   153  
   154  type Size_t = uint64 /* <builtin>:9:23 */
   155  
   156  type Wchar_t = int32 /* <builtin>:15:24 */
   157  
   158  type X__int128_t = struct {
   159  	Flo int64
   160  	Fhi int64
   161  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   162  type X__uint128_t = struct {
   163  	Flo uint64
   164  	Fhi uint64
   165  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   166  
   167  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   168  type X__float128 = float64        /* <builtin>:47:21 */
   169  
   170  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
   171  
   172  // Copyright (C) 1992-2021 Free Software Foundation, Inc.
   173  //
   174  // This file is part of GCC.
   175  //
   176  // GCC is free software; you can redistribute it and/or modify it under
   177  // the terms of the GNU General Public License as published by the Free
   178  // Software Foundation; either version 3, or (at your option) any later
   179  // version.
   180  //
   181  // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   182  // WARRANTY; without even the implied warranty of MERCHANTABILITY or
   183  // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   184  // for more details.
   185  //
   186  // Under Section 7 of GPL version 3, you are granted additional
   187  // permissions described in the GCC Runtime Library Exception, version
   188  // 3.1, as published by the Free Software Foundation.
   189  //
   190  // You should have received a copy of the GNU General Public License and
   191  // a copy of the GCC Runtime Library Exception along with this program;
   192  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   193  // <http://www.gnu.org/licenses/>.
   194  
   195  // This administrivia gets added to the beginning of limits.h
   196  //    if the system has its own version of limits.h.
   197  
   198  // We use _GCC_LIMITS_H_ because we want this not to match
   199  //    any macros that the system's limits.h uses for its own purposes.
   200  
   201  // Use "..." so that we find syslimits.h only in this same directory.
   202  // syslimits.h stands for the system's own limits.h file.
   203  //    If we can use it ok unmodified, then we install this text.
   204  //    If fixincludes fixes it, then the fixed version is installed
   205  //    instead of this text.
   206  
   207  // Copyright (c) 2000, 2004-2007, 2009 Apple Inc. All rights reserved.
   208  //
   209  // @APPLE_LICENSE_HEADER_START@
   210  //
   211  // This file contains Original Code and/or Modifications of Original Code
   212  // as defined in and that are subject to the Apple Public Source License
   213  // Version 2.0 (the 'License'). You may not use this file except in
   214  // compliance with the License. Please obtain a copy of the License at
   215  // http://www.opensource.apple.com/apsl/ and read it before using this
   216  // file.
   217  //
   218  // The Original Code and all software distributed under the License are
   219  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   220  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   221  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   222  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   223  // Please see the License for the specific language governing rights and
   224  // limitations under the License.
   225  //
   226  // @APPLE_LICENSE_HEADER_END@
   227  //	$NetBSD: limits.h,v 1.8 1996/10/21 05:10:50 jtc Exp $
   228  
   229  // Copyright (c) 1988, 1993
   230  //	The Regents of the University of California.  All rights reserved.
   231  //
   232  // Redistribution and use in source and binary forms, with or without
   233  // modification, are permitted provided that the following conditions
   234  // are met:
   235  // 1. Redistributions of source code must retain the above copyright
   236  //    notice, this list of conditions and the following disclaimer.
   237  // 2. Redistributions in binary form must reproduce the above copyright
   238  //    notice, this list of conditions and the following disclaimer in the
   239  //    documentation and/or other materials provided with the distribution.
   240  // 3. All advertising materials mentioning features or use of this software
   241  //    must display the following acknowledgement:
   242  //	This product includes software developed by the University of
   243  //	California, Berkeley and its contributors.
   244  // 4. Neither the name of the University nor the names of its contributors
   245  //    may be used to endorse or promote products derived from this software
   246  //    without specific prior written permission.
   247  //
   248  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   249  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   250  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   251  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   252  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   253  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   254  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   255  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   256  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   257  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   258  // SUCH DAMAGE.
   259  //
   260  //	@(#)limits.h	8.2 (Berkeley) 1/4/94
   261  
   262  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   263  //
   264  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   265  //
   266  // This file contains Original Code and/or Modifications of Original Code
   267  // as defined in and that are subject to the Apple Public Source License
   268  // Version 2.0 (the 'License'). You may not use this file except in
   269  // compliance with the License. The rights granted to you under the License
   270  // may not be used to create, or enable the creation or redistribution of,
   271  // unlawful or unlicensed copies of an Apple operating system, or to
   272  // circumvent, violate, or enable the circumvention or violation of, any
   273  // terms of an Apple operating system software license agreement.
   274  //
   275  // Please obtain a copy of the License at
   276  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   277  //
   278  // The Original Code and all software distributed under the License are
   279  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   280  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   281  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   282  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   283  // Please see the License for the specific language governing rights and
   284  // limitations under the License.
   285  //
   286  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   287  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   288  // Copyright (c) 1991, 1993
   289  //	The Regents of the University of California.  All rights reserved.
   290  //
   291  // This code is derived from software contributed to Berkeley by
   292  // Berkeley Software Design, Inc.
   293  //
   294  // Redistribution and use in source and binary forms, with or without
   295  // modification, are permitted provided that the following conditions
   296  // are met:
   297  // 1. Redistributions of source code must retain the above copyright
   298  //    notice, this list of conditions and the following disclaimer.
   299  // 2. Redistributions in binary form must reproduce the above copyright
   300  //    notice, this list of conditions and the following disclaimer in the
   301  //    documentation and/or other materials provided with the distribution.
   302  // 3. All advertising materials mentioning features or use of this software
   303  //    must display the following acknowledgement:
   304  //	This product includes software developed by the University of
   305  //	California, Berkeley and its contributors.
   306  // 4. Neither the name of the University nor the names of its contributors
   307  //    may be used to endorse or promote products derived from this software
   308  //    without specific prior written permission.
   309  //
   310  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   311  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   312  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   313  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   314  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   315  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   316  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   317  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   318  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   319  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   320  // SUCH DAMAGE.
   321  //
   322  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   323  
   324  // This SDK is designed to work with clang and specific versions of
   325  // gcc >= 4.0 with Apple's patch sets
   326  
   327  // Compatibility with compilers and environments that don't support compiler
   328  // feature checking function-like macros.
   329  
   330  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   331  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   332  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   333  // in between its arguments.  __CONCAT can also concatenate double-quoted
   334  // strings produced by the __STRING macro, but this only works with ANSI C.
   335  
   336  // __unused denotes variables and functions that may not be used, preventing
   337  // the compiler from warning about it if not used.
   338  
   339  // __used forces variables and functions to be included even if it appears
   340  // to the compiler that they are not used (and would thust be discarded).
   341  
   342  // __cold marks code used for debugging or that is rarely taken
   343  // and tells the compiler to optimize for size and outline code.
   344  
   345  // __deprecated causes the compiler to produce a warning when encountering
   346  // code using the deprecated functionality.
   347  // __deprecated_msg() does the same, and compilers that support it will print
   348  // a message along with the deprecation warning.
   349  // This may require turning on such warning with the -Wdeprecated flag.
   350  // __deprecated_enum_msg() should be used on enums, and compilers that support
   351  // it will print the deprecation warning.
   352  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   353  // interfaces in Kernel.framework used by KEXTs.
   354  
   355  // __unavailable causes the compiler to error out when encountering
   356  // code using the tagged function of variable.
   357  
   358  // Delete pseudo-keywords wherever they are not available or needed.
   359  
   360  // We use `__restrict' as a way to define the `restrict' type qualifier
   361  // without disturbing older software that is unaware of C99 keywords.
   362  
   363  // Compatibility with compilers and environments that don't support the
   364  // nullability feature.
   365  
   366  // __disable_tail_calls causes the compiler to not perform tail call
   367  // optimization inside the marked function.
   368  
   369  // __not_tail_called causes the compiler to prevent tail call optimization
   370  // on statically bound calls to the function.  It has no effect on indirect
   371  // calls.  Virtual functions, objective-c methods, and functions marked as
   372  // "always_inline" cannot be marked as __not_tail_called.
   373  
   374  // __result_use_check warns callers of a function that not using the function
   375  // return value is a bug, i.e. dismissing malloc() return value results in a
   376  // memory leak.
   377  
   378  // __swift_unavailable causes the compiler to mark a symbol as specifically
   379  // unavailable in Swift, regardless of any other availability in C.
   380  
   381  // __abortlike is the attribute to put on functions like abort() that are
   382  // typically used to mark assertions. These optimize the codegen
   383  // for outlining while still maintaining debugability.
   384  
   385  // Declaring inline functions within headers is error-prone due to differences
   386  // across various versions of the C language and extensions.  __header_inline
   387  // can be used to declare inline functions within system headers.  In cases
   388  // where you want to force inlining instead of letting the compiler make
   389  // the decision, you can use __header_always_inline.
   390  //
   391  // Be aware that using inline for functions which compilers may also provide
   392  // builtins can behave differently under various compilers.  If you intend to
   393  // provide an inline version of such a function, you may want to use a macro
   394  // instead.
   395  //
   396  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   397  // support c99 inline in some cases:
   398  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   399  
   400  // Compiler-dependent macros that bracket portions of code where the
   401  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   402  
   403  // Compiler-dependent macros to declare that functions take printf-like
   404  // or scanf-like arguments.  They are null except for versions of gcc
   405  // that are known to support the features properly.  Functions declared
   406  // with these attributes will cause compilation warnings if there is a
   407  // mismatch between the format string and subsequent function parameter
   408  // types.
   409  
   410  // Source compatibility only, ID string not emitted in object file
   411  
   412  // __alloc_size can be used to label function arguments that represent the
   413  // size of memory that the function allocates and returns. The one-argument
   414  // form labels a single argument that gives the allocation size (where the
   415  // arguments are numbered from 1):
   416  //
   417  // void	*malloc(size_t __size) __alloc_size(1);
   418  //
   419  // The two-argument form handles the case where the size is calculated as the
   420  // product of two arguments:
   421  //
   422  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   423  
   424  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   425  //
   426  // DEFAULT	By default newly complied code will get POSIX APIs plus
   427  //		Apple API extensions in scope.
   428  //
   429  //		Most users will use this compilation environment to avoid
   430  //		behavioral differences between 32 and 64 bit code.
   431  //
   432  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   433  //		API extensions in scope.
   434  //
   435  //		This is generally equivalent to the Tiger release compilation
   436  //		environment, except that it cannot be applied to 64 bit code;
   437  //		its use is discouraged.
   438  //
   439  //		We expect this environment to be deprecated in the future.
   440  //
   441  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   442  //		available APIs to exactly the set of APIs defined by the
   443  //		corresponding standard, based on the value defined.
   444  //
   445  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   446  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   447  //
   448  //		Apple API extensions are not visible in this environment,
   449  //		which can cause Apple specific code to fail to compile,
   450  //		or behave incorrectly if prototypes are not in scope or
   451  //		warnings about missing prototypes are not enabled or ignored.
   452  //
   453  // In any compilation environment, for correct symbol resolution to occur,
   454  // function prototypes must be in scope.  It is recommended that all Apple
   455  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   456  // compiler flags to their projects to be warned when a function is being
   457  // used without a prototype in scope.
   458  
   459  // These settings are particular to each product.
   460  // Platform: MacOSX
   461  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
   462  
   463  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   464  // legacy code to use the old symbol, thus maintaining binary compatibility
   465  // while new code can use a standards compliant version of the same function.
   466  //
   467  // __DARWIN_ALIAS is used by itself if the function signature has not
   468  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   469  // if the signature has changed.  Because the __LP64__ environment
   470  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   471  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   472  //
   473  // As a special case, when XCode is used to target a specific version of the
   474  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   475  // will be defined by the compiler, with the digits representing major version
   476  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   477  // pre-10.5, and it is the default compilation environment, revert the
   478  // compilation environment to pre-__DARWIN_UNIX03.
   479  
   480  // symbol suffixes used for symbol versioning
   481  
   482  // symbol versioning macros
   483  
   484  // symbol release macros
   485  // Copyright (c) 2010 Apple Inc. All rights reserved.
   486  //
   487  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   488  //
   489  // This file contains Original Code and/or Modifications of Original Code
   490  // as defined in and that are subject to the Apple Public Source License
   491  // Version 2.0 (the 'License'). You may not use this file except in
   492  // compliance with the License. The rights granted to you under the License
   493  // may not be used to create, or enable the creation or redistribution of,
   494  // unlawful or unlicensed copies of an Apple operating system, or to
   495  // circumvent, violate, or enable the circumvention or violation of, any
   496  // terms of an Apple operating system software license agreement.
   497  //
   498  // Please obtain a copy of the License at
   499  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   500  //
   501  // The Original Code and all software distributed under the License are
   502  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   503  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   504  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   505  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   506  // Please see the License for the specific language governing rights and
   507  // limitations under the License.
   508  //
   509  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   510  
   511  // POSIX.1 requires that the macros we test be defined before any standard
   512  // header file is included.  This permits us to convert values for feature
   513  // testing, as necessary, using only _POSIX_C_SOURCE.
   514  //
   515  // Here's a quick run-down of the versions:
   516  //  defined(_POSIX_SOURCE)		1003.1-1988
   517  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   518  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   519  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   520  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   521  //					and the omnibus ISO/IEC 9945-1: 1996
   522  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   523  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   524  //
   525  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   526  // Specification, defines a feature-test macro which indicates the version of
   527  // that specification, and which subsumes _POSIX_C_SOURCE.
   528  
   529  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   530  
   531  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   532  
   533  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   534  
   535  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   536  // important.
   537  
   538  // POSIX C deprecation macros
   539  // Copyright (c) 2010 Apple Inc. All rights reserved.
   540  //
   541  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   542  //
   543  // This file contains Original Code and/or Modifications of Original Code
   544  // as defined in and that are subject to the Apple Public Source License
   545  // Version 2.0 (the 'License'). You may not use this file except in
   546  // compliance with the License. The rights granted to you under the License
   547  // may not be used to create, or enable the creation or redistribution of,
   548  // unlawful or unlicensed copies of an Apple operating system, or to
   549  // circumvent, violate, or enable the circumvention or violation of, any
   550  // terms of an Apple operating system software license agreement.
   551  //
   552  // Please obtain a copy of the License at
   553  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   554  //
   555  // The Original Code and all software distributed under the License are
   556  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   557  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   558  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   559  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   560  // Please see the License for the specific language governing rights and
   561  // limitations under the License.
   562  //
   563  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   564  
   565  // Set a single macro which will always be defined and can be used to determine
   566  // the appropriate namespace.  For POSIX, these values will correspond to
   567  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   568  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   569  
   570  // If the developer has neither requested a strict language mode nor a version
   571  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   572  // of __DARWIN_C_FULL.
   573  
   574  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   575  // c99 still want long longs.  While not perfect, we allow long longs for
   576  // g++.
   577  
   578  // ****************************************
   579  //
   580  //  Public darwin-specific feature macros
   581  //
   582  
   583  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   584  // structures modified for 64-bit inodes (like struct stat) will be used.
   585  
   586  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   587  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   588  // (and non-zero).  There is no struct stat64 either, as the regular
   589  // struct stat will already be the 64-bit version.
   590  
   591  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   592  // in 10.5 exists; no pre-10.5 variants are available.
   593  
   594  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   595  // are available (the legacy BSD APIs are not available)
   596  
   597  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   598  // and specifies the conformance level (3 is SUSv3)
   599  
   600  // This macro casts away the qualifier from the variable
   601  //
   602  // Note: use at your own risk, removing qualifiers can result in
   603  // catastrophic run-time failures.
   604  
   605  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   606  // used from other compilation units, but not other libraries or executables.
   607  
   608  // Architecture validation for current SDK
   609  
   610  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   611  //
   612  // This provides more advanced type checking on compilers supporting
   613  // the proper extensions, even in C.
   614  
   615  // This is the `system' limits.h, independent of any particular
   616  //  compiler.  GCC provides its own limits.h which can be found in
   617  //  /usr/lib/gcc, although it is not very informative.
   618  //  This file is public domain.
   619  // Copyright (c) 1988, 1993
   620  //	The Regents of the University of California.  All rights reserved.
   621  //
   622  // Redistribution and use in source and binary forms, with or without
   623  // modification, are permitted provided that the following conditions
   624  // are met:
   625  // 1. Redistributions of source code must retain the above copyright
   626  //    notice, this list of conditions and the following disclaimer.
   627  // 2. Redistributions in binary form must reproduce the above copyright
   628  //    notice, this list of conditions and the following disclaimer in the
   629  //    documentation and/or other materials provided with the distribution.
   630  // 3. All advertising materials mentioning features or use of this software
   631  //    must display the following acknowledgement:
   632  //	This product includes software developed by the University of
   633  //	California, Berkeley and its contributors.
   634  // 4. Neither the name of the University nor the names of its contributors
   635  //    may be used to endorse or promote products derived from this software
   636  //    without specific prior written permission.
   637  //
   638  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   639  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   640  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   641  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   642  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   643  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   644  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   645  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   646  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   647  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   648  // SUCH DAMAGE.
   649  //
   650  //	@(#)limits.h	8.3 (Berkeley) 1/4/94
   651  
   652  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   653  //
   654  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   655  //
   656  // This file contains Original Code and/or Modifications of Original Code
   657  // as defined in and that are subject to the Apple Public Source License
   658  // Version 2.0 (the 'License'). You may not use this file except in
   659  // compliance with the License. The rights granted to you under the License
   660  // may not be used to create, or enable the creation or redistribution of,
   661  // unlawful or unlicensed copies of an Apple operating system, or to
   662  // circumvent, violate, or enable the circumvention or violation of, any
   663  // terms of an Apple operating system software license agreement.
   664  //
   665  // Please obtain a copy of the License at
   666  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   667  //
   668  // The Original Code and all software distributed under the License are
   669  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   670  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   671  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   672  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   673  // Please see the License for the specific language governing rights and
   674  // limitations under the License.
   675  //
   676  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   677  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   678  // Copyright (c) 1991, 1993
   679  //	The Regents of the University of California.  All rights reserved.
   680  //
   681  // This code is derived from software contributed to Berkeley by
   682  // Berkeley Software Design, Inc.
   683  //
   684  // Redistribution and use in source and binary forms, with or without
   685  // modification, are permitted provided that the following conditions
   686  // are met:
   687  // 1. Redistributions of source code must retain the above copyright
   688  //    notice, this list of conditions and the following disclaimer.
   689  // 2. Redistributions in binary form must reproduce the above copyright
   690  //    notice, this list of conditions and the following disclaimer in the
   691  //    documentation and/or other materials provided with the distribution.
   692  // 3. All advertising materials mentioning features or use of this software
   693  //    must display the following acknowledgement:
   694  //	This product includes software developed by the University of
   695  //	California, Berkeley and its contributors.
   696  // 4. Neither the name of the University nor the names of its contributors
   697  //    may be used to endorse or promote products derived from this software
   698  //    without specific prior written permission.
   699  //
   700  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   701  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   702  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   703  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   704  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   705  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   706  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   707  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   708  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   709  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   710  // SUCH DAMAGE.
   711  //
   712  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   713  
   714  // Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
   715  //
   716  // @APPLE_LICENSE_HEADER_START@
   717  //
   718  // The contents of this file constitute Original Code as defined in and
   719  // are subject to the Apple Public Source License Version 1.1 (the
   720  // "License").  You may not use this file except in compliance with the
   721  // License.  Please obtain a copy of the License at
   722  // http://www.apple.com/publicsource and read it before using this file.
   723  //
   724  // This Original Code and all software distributed under the License are
   725  // distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   726  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   727  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   728  // FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
   729  // License for the specific language governing rights and limitations
   730  // under the License.
   731  //
   732  // @APPLE_LICENSE_HEADER_END@
   733  
   734  // According to ANSI (section 2.2.4.2), the values below must be usable by
   735  // #if preprocessing directives.  Additionally, the expression must have the
   736  // same type as would an expression that is an object of the corresponding
   737  // type converted according to the integral promotions.  The subtraction for
   738  // INT_MIN and LONG_MIN is so the value is not unsigned; 2147483648 is an
   739  // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
   740  // These numbers work for pcc as well.  The UINT_MAX and ULONG_MAX values
   741  // are written as hex so that GCC will be quiet about large integer constants.
   742  
   743  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
   744  //
   745  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   746  //
   747  // This file contains Original Code and/or Modifications of Original Code
   748  // as defined in and that are subject to the Apple Public Source License
   749  // Version 2.0 (the 'License'). You may not use this file except in
   750  // compliance with the License. The rights granted to you under the License
   751  // may not be used to create, or enable the creation or redistribution of,
   752  // unlawful or unlicensed copies of an Apple operating system, or to
   753  // circumvent, violate, or enable the circumvention or violation of, any
   754  // terms of an Apple operating system software license agreement.
   755  //
   756  // Please obtain a copy of the License at
   757  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   758  //
   759  // The Original Code and all software distributed under the License are
   760  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   761  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   762  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   763  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   764  // Please see the License for the specific language governing rights and
   765  // limitations under the License.
   766  //
   767  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   768  //	$NetBSD: syslimits.h,v 1.15 1997/06/25 00:48:09 lukem Exp $
   769  
   770  // Copyright (c) 1988, 1993
   771  //	The Regents of the University of California.  All rights reserved.
   772  //
   773  // Redistribution and use in source and binary forms, with or without
   774  // modification, are permitted provided that the following conditions
   775  // are met:
   776  // 1. Redistributions of source code must retain the above copyright
   777  //    notice, this list of conditions and the following disclaimer.
   778  // 2. Redistributions in binary form must reproduce the above copyright
   779  //    notice, this list of conditions and the following disclaimer in the
   780  //    documentation and/or other materials provided with the distribution.
   781  // 3. All advertising materials mentioning features or use of this software
   782  //    must display the following acknowledgement:
   783  //	This product includes software developed by the University of
   784  //	California, Berkeley and its contributors.
   785  // 4. Neither the name of the University nor the names of its contributors
   786  //    may be used to endorse or promote products derived from this software
   787  //    without specific prior written permission.
   788  //
   789  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   790  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   791  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   792  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   793  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   794  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   795  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   796  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   797  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   798  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   799  // SUCH DAMAGE.
   800  //
   801  //	@(#)syslimits.h	8.1 (Berkeley) 6/2/93
   802  
   803  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   804  //
   805  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   806  //
   807  // This file contains Original Code and/or Modifications of Original Code
   808  // as defined in and that are subject to the Apple Public Source License
   809  // Version 2.0 (the 'License'). You may not use this file except in
   810  // compliance with the License. The rights granted to you under the License
   811  // may not be used to create, or enable the creation or redistribution of,
   812  // unlawful or unlicensed copies of an Apple operating system, or to
   813  // circumvent, violate, or enable the circumvention or violation of, any
   814  // terms of an Apple operating system software license agreement.
   815  //
   816  // Please obtain a copy of the License at
   817  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   818  //
   819  // The Original Code and all software distributed under the License are
   820  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   821  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   822  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   823  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   824  // Please see the License for the specific language governing rights and
   825  // limitations under the License.
   826  //
   827  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   828  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   829  // Copyright (c) 1991, 1993
   830  //	The Regents of the University of California.  All rights reserved.
   831  //
   832  // This code is derived from software contributed to Berkeley by
   833  // Berkeley Software Design, Inc.
   834  //
   835  // Redistribution and use in source and binary forms, with or without
   836  // modification, are permitted provided that the following conditions
   837  // are met:
   838  // 1. Redistributions of source code must retain the above copyright
   839  //    notice, this list of conditions and the following disclaimer.
   840  // 2. Redistributions in binary form must reproduce the above copyright
   841  //    notice, this list of conditions and the following disclaimer in the
   842  //    documentation and/or other materials provided with the distribution.
   843  // 3. All advertising materials mentioning features or use of this software
   844  //    must display the following acknowledgement:
   845  //	This product includes software developed by the University of
   846  //	California, Berkeley and its contributors.
   847  // 4. Neither the name of the University nor the names of its contributors
   848  //    may be used to endorse or promote products derived from this software
   849  //    without specific prior written permission.
   850  //
   851  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   852  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   853  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   854  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   855  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   856  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   857  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   858  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   859  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   860  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   861  // SUCH DAMAGE.
   862  //
   863  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   864  
   865  // Note: CHILD_MAX *must* be less than hard_maxproc, which is set at
   866  // compile time; you *cannot* set it higher than the hard limit!!
   867  
   868  // = ((PRIO_MAX - PRIO_MIN) / 2) + 1
   869  // range: 0 - 39 [(2 * NZERO) - 1]
   870  // 0 is not actually used
   871  
   872  // Actually for XSI Visible
   873  
   874  // Removed in Issue 6
   875  
   876  // NZERO to be defined here. TBD. See also sys/param.h
   877  
   878  // Copyright (C) 1991-2021 Free Software Foundation, Inc.
   879  //
   880  // This file is part of GCC.
   881  //
   882  // GCC is free software; you can redistribute it and/or modify it under
   883  // the terms of the GNU General Public License as published by the Free
   884  // Software Foundation; either version 3, or (at your option) any later
   885  // version.
   886  //
   887  // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   888  // WARRANTY; without even the implied warranty of MERCHANTABILITY or
   889  // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   890  // for more details.
   891  //
   892  // Under Section 7 of GPL version 3, you are granted additional
   893  // permissions described in the GCC Runtime Library Exception, version
   894  // 3.1, as published by the Free Software Foundation.
   895  //
   896  // You should have received a copy of the GNU General Public License and
   897  // a copy of the GCC Runtime Library Exception along with this program;
   898  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   899  // <http://www.gnu.org/licenses/>.
   900  
   901  // Number of bits in a `char'.
   902  
   903  // Maximum length of a multibyte character.
   904  
   905  // Minimum and maximum values a `signed char' can hold.
   906  
   907  // Maximum value an `unsigned char' can hold.  (Minimum is 0).
   908  
   909  // Minimum and maximum values a `char' can hold.
   910  
   911  // Minimum and maximum values a `signed short int' can hold.
   912  
   913  // Maximum value an `unsigned short int' can hold.  (Minimum is 0).
   914  
   915  // Minimum and maximum values a `signed int' can hold.
   916  
   917  // Maximum value an `unsigned int' can hold.  (Minimum is 0).
   918  
   919  // Minimum and maximum values a `signed long int' can hold.
   920  //    (Same as `int').
   921  
   922  // Maximum value an `unsigned long int' can hold.  (Minimum is 0).
   923  
   924  // Minimum and maximum values a `signed long long int' can hold.
   925  
   926  // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
   927  
   928  // Minimum and maximum values a `signed long long int' can hold.
   929  
   930  // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
   931  
   932  // This administrivia gets added to the end of limits.h
   933  //    if the system has its own version of limits.h.
   934  
   935  var _ int8 /* gen.c:2:13: */