github.com/afumu/libc@v0.0.6/limits/limits_freebsd_arm.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 -ignore-unsupported-alignment -o limits/limits_freebsd_arm.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               // syslimits.h:54:1:
    19  	BC_BASE_MAX                          = 99                   // limits.h:65:1:
    20  	BC_DIM_MAX                           = 2048                 // limits.h:66:1:
    21  	BC_SCALE_MAX                         = 99                   // limits.h:67:1:
    22  	BC_STRING_MAX                        = 1000                 // limits.h:68:1:
    23  	CHARCLASS_NAME_MAX                   = 14                   // limits.h:69:1:
    24  	CHAR_BIT                             = 8                    // limits.h:40:1:
    25  	CHAR_MAX                             = 255                  // limits.h:48:1:
    26  	CHAR_MIN                             = 0                    // limits.h:49:1:
    27  	CHILD_MAX                            = 40                   // syslimits.h:57:1:
    28  	COLL_WEIGHTS_MAX                     = 10                   // limits.h:70:1:
    29  	EXPR_NEST_MAX                        = 32                   // limits.h:71:1:
    30  	GID_MAX                              = 4294967295           // limits.h:85:1:
    31  	INT_MAX                              = 2147483647           // limits.h:60:1:
    32  	INT_MIN                              = -2147483648          // limits.h:61:1:
    33  	IOV_MAX                              = 1024                 // syslimits.h:70:1:
    34  	LINE_MAX                             = 2048                 // limits.h:72:1:
    35  	LLONG_MAX                            = 9223372036854775807  // limits.h:69:1:
    36  	LLONG_MIN                            = -9223372036854775808 // limits.h:70:1:
    37  	LONG_BIT                             = 32                   // limits.h:94:1:
    38  	LONG_MAX                             = 2147483647           // limits.h:64:1:
    39  	LONG_MIN                             = -2147483648          // limits.h:65:1:
    40  	MAX_CANON                            = 255                  // syslimits.h:59:1:
    41  	MAX_INPUT                            = 255                  // syslimits.h:60:1:
    42  	MB_LEN_MAX                           = 6                    // limits.h:141:1:
    43  	MQ_PRIO_MAX                          = 64                   // limits.h:99:1:
    44  	NAME_MAX                             = 255                  // syslimits.h:61:1:
    45  	NGROUPS_MAX                          = 1023                 // syslimits.h:63:1:
    46  	NL_ARGMAX                            = 4096                 // limits.h:125:1:
    47  	NL_LANGMAX                           = 31                   // limits.h:137:1:
    48  	NL_MSGMAX                            = 32767                // limits.h:126:1:
    49  	NL_NMAX                              = 1                    // limits.h:138:1:
    50  	NL_SETMAX                            = 255                  // limits.h:127:1:
    51  	NL_TEXTMAX                           = 2048                 // limits.h:128:1:
    52  	OFF_MAX                              = 9223372036854775807  // limits.h:80:1:
    53  	OFF_MIN                              = -9223372036854775808 // limits.h:81:1:
    54  	OPEN_MAX                             = 64                   // syslimits.h:66:1:
    55  	PASS_MAX                             = 128                  // limits.h:135:1:
    56  	PATH_MAX                             = 1024                 // syslimits.h:68:1:
    57  	PIPE_BUF                             = 512                  // syslimits.h:69:1:
    58  	QUAD_MAX                             = 9223372036854775807  // limits.h:89:1:
    59  	QUAD_MIN                             = -9223372036854775808 // limits.h:90:1:
    60  	RE_DUP_MAX                           = 255                  // limits.h:73:1:
    61  	SCHAR_MAX                            = 127                  // limits.h:42:1:
    62  	SCHAR_MIN                            = -128                 // limits.h:43:1:
    63  	SHRT_MAX                             = 32767                // limits.h:56:1:
    64  	SHRT_MIN                             = -32768               // limits.h:57:1:
    65  	SIZE_T_MAX                           = 4294967295           // limits.h:78:1:
    66  	SSIZE_MAX                            = 2147483647           // limits.h:74:1:
    67  	UCHAR_MAX                            = 255                  // limits.h:45:1:
    68  	UID_MAX                              = 4294967295           // limits.h:86:1:
    69  	UINT_MAX                             = 4294967295           // limits.h:59:1:
    70  	ULLONG_MAX                           = 18446744073709551615 // limits.h:68:1:
    71  	ULONG_MAX                            = 4294967295           // limits.h:63:1:
    72  	UQUAD_MAX                            = 18446744073709551615 // limits.h:88:1:
    73  	USHRT_MAX                            = 65535                // limits.h:55:1:
    74  	WORD_BIT                             = 32                   // limits.h:95:1:
    75  	X_FILE_OFFSET_BITS                   = 64                   // <builtin>:25:1:
    76  	X_ILP32                              = 1                    // <predefined>:1:1:
    77  	X_LIMITS_H_                          = 0                    // limits.h:36:1:
    78  	X_MACHINE__LIMITS_H_                 = 0                    // _limits.h:36:1:
    79  	X_Nonnull                            = 0                    // cdefs.h:790:1:
    80  	X_Null_unspecified                   = 0                    // cdefs.h:792:1:
    81  	X_Nullable                           = 0                    // cdefs.h:791:1:
    82  	X_POSIX2_BC_BASE_MAX                 = 99                   // limits.h:75:1:
    83  	X_POSIX2_BC_DIM_MAX                  = 2048                 // limits.h:76:1:
    84  	X_POSIX2_BC_SCALE_MAX                = 99                   // limits.h:77:1:
    85  	X_POSIX2_BC_STRING_MAX               = 1000                 // limits.h:78:1:
    86  	X_POSIX2_CHARCLASS_NAME_MAX          = 14                   // limits.h:79:1:
    87  	X_POSIX2_COLL_WEIGHTS_MAX            = 2                    // limits.h:80:1:
    88  	X_POSIX2_EQUIV_CLASS_MAX             = 2                    // limits.h:81:1:
    89  	X_POSIX2_EXPR_NEST_MAX               = 32                   // limits.h:82:1:
    90  	X_POSIX2_LINE_MAX                    = 2048                 // limits.h:83:1:
    91  	X_POSIX2_RE_DUP_MAX                  = 255                  // limits.h:84:1:
    92  	X_POSIX_AIO_LISTIO_MAX               = 2                    // limits.h:89:1:
    93  	X_POSIX_AIO_MAX                      = 1                    // limits.h:90:1:
    94  	X_POSIX_ARG_MAX                      = 4096                 // limits.h:41:1:
    95  	X_POSIX_CHILD_MAX                    = 25                   // limits.h:51:1:
    96  	X_POSIX_CLOCKRES_MIN                 = 20000000             // limits.h:100:1:
    97  	X_POSIX_DELAYTIMER_MAX               = 32                   // limits.h:91:1:
    98  	X_POSIX_HOST_NAME_MAX                = 255                  // limits.h:110:1:
    99  	X_POSIX_LINK_MAX                     = 8                    // limits.h:42:1:
   100  	X_POSIX_LOGIN_NAME_MAX               = 9                    // limits.h:111:1:
   101  	X_POSIX_MAX_CANON                    = 255                  // limits.h:43:1:
   102  	X_POSIX_MAX_INPUT                    = 255                  // limits.h:44:1:
   103  	X_POSIX_MQ_OPEN_MAX                  = 8                    // limits.h:92:1:
   104  	X_POSIX_MQ_PRIO_MAX                  = 32                   // limits.h:93:1:
   105  	X_POSIX_NAME_MAX                     = 14                   // limits.h:45:1:
   106  	X_POSIX_NGROUPS_MAX                  = 8                    // limits.h:52:1:
   107  	X_POSIX_OPEN_MAX                     = 20                   // limits.h:53:1:
   108  	X_POSIX_PATH_MAX                     = 256                  // limits.h:54:1:
   109  	X_POSIX_PIPE_BUF                     = 512                  // limits.h:46:1:
   110  	X_POSIX_RE_DUP_MAX                   = 255                  // limits.h:121:1:
   111  	X_POSIX_RTSIG_MAX                    = 8                    // limits.h:94:1:
   112  	X_POSIX_SEM_NSEMS_MAX                = 256                  // limits.h:95:1:
   113  	X_POSIX_SEM_VALUE_MAX                = 32767                // limits.h:96:1:
   114  	X_POSIX_SIGQUEUE_MAX                 = 32                   // limits.h:97:1:
   115  	X_POSIX_SSIZE_MAX                    = 32767                // limits.h:47:1:
   116  	X_POSIX_SS_REPL_MAX                  = 4                    // limits.h:112:1:
   117  	X_POSIX_STREAM_MAX                   = 8                    // limits.h:48:1:
   118  	X_POSIX_SYMLINK_MAX                  = 255                  // limits.h:113:1:
   119  	X_POSIX_SYMLOOP_MAX                  = 8                    // limits.h:114:1:
   120  	X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4                    // limits.h:104:1:
   121  	X_POSIX_THREAD_KEYS_MAX              = 128                  // limits.h:105:1:
   122  	X_POSIX_THREAD_THREADS_MAX           = 64                   // limits.h:106:1:
   123  	X_POSIX_TIMER_MAX                    = 32                   // limits.h:98:1:
   124  	X_POSIX_TRACE_EVENT_NAME_MAX         = 30                   // limits.h:115:1:
   125  	X_POSIX_TRACE_NAME_MAX               = 8                    // limits.h:116:1:
   126  	X_POSIX_TRACE_SYS_MAX                = 8                    // limits.h:117:1:
   127  	X_POSIX_TRACE_USER_EVENT_MAX         = 32                   // limits.h:118:1:
   128  	X_POSIX_TTY_NAME_MAX                 = 9                    // limits.h:119:1:
   129  	X_POSIX_TZNAME_MAX                   = 6                    // limits.h:55:1:
   130  	X_SYS_CDEFS_H_                       = 0                    // cdefs.h:39:1:
   131  	X_SYS_LIMITS_H_                      = 0                    // limits.h:35:1:
   132  	X_SYS_SYSLIMITS_H_                   = 0                    // syslimits.h:36:1:
   133  	X_XOPEN_IOV_MAX                      = 16                   // limits.h:132:1:
   134  	X_XOPEN_NAME_MAX                     = 255                  // limits.h:133:1:
   135  	X_XOPEN_PATH_MAX                     = 1024                 // limits.h:134:1:
   136  	Unix                                 = 1                    // <predefined>:367:1:
   137  )
   138  
   139  type Ptrdiff_t = int32 /* <builtin>:3:26 */
   140  
   141  type Size_t = uint32 /* <builtin>:9:23 */
   142  
   143  type Wchar_t = uint32 /* <builtin>:15:24 */
   144  
   145  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   146  type X__float128 = float64        /* <builtin>:47:21 */
   147  
   148  // -
   149  // SPDX-License-Identifier: BSD-3-Clause
   150  //
   151  // Copyright (c) 1988, 1993
   152  //	The Regents of the University of California.  All rights reserved.
   153  //
   154  // Redistribution and use in source and binary forms, with or without
   155  // modification, are permitted provided that the following conditions
   156  // are met:
   157  // 1. Redistributions of source code must retain the above copyright
   158  //    notice, this list of conditions and the following disclaimer.
   159  // 2. Redistributions in binary form must reproduce the above copyright
   160  //    notice, this list of conditions and the following disclaimer in the
   161  //    documentation and/or other materials provided with the distribution.
   162  // 3. Neither the name of the University nor the names of its contributors
   163  //    may be used to endorse or promote products derived from this software
   164  //    without specific prior written permission.
   165  //
   166  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   167  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   168  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   169  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   170  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   171  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   172  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   173  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   174  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   175  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   176  // SUCH DAMAGE.
   177  //
   178  //	@(#)limits.h	8.2 (Berkeley) 1/4/94
   179  // $FreeBSD$
   180  
   181  // -
   182  // SPDX-License-Identifier: BSD-3-Clause
   183  //
   184  // Copyright (c) 1991, 1993
   185  //	The Regents of the University of California.  All rights reserved.
   186  //
   187  // This code is derived from software contributed to Berkeley by
   188  // Berkeley Software Design, Inc.
   189  //
   190  // Redistribution and use in source and binary forms, with or without
   191  // modification, are permitted provided that the following conditions
   192  // are met:
   193  // 1. Redistributions of source code must retain the above copyright
   194  //    notice, this list of conditions and the following disclaimer.
   195  // 2. Redistributions in binary form must reproduce the above copyright
   196  //    notice, this list of conditions and the following disclaimer in the
   197  //    documentation and/or other materials provided with the distribution.
   198  // 3. Neither the name of the University nor the names of its contributors
   199  //    may be used to endorse or promote products derived from this software
   200  //    without specific prior written permission.
   201  //
   202  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   203  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   204  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   205  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   206  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   207  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   208  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   209  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   210  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   211  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   212  // SUCH DAMAGE.
   213  //
   214  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   215  // $FreeBSD$
   216  
   217  // Testing against Clang-specific extensions.
   218  
   219  // This code has been put in place to help reduce the addition of
   220  // compiler specific defines in FreeBSD code.  It helps to aid in
   221  // having a compiler-agnostic source tree.
   222  
   223  // Compiler memory barriers, specific to gcc and clang.
   224  
   225  // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
   226  
   227  // Macro to test if we're using a specific version of gcc or later.
   228  
   229  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   230  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   231  // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
   232  // mode -- there must be no spaces between its arguments, and for nested
   233  // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also
   234  // concatenate double-quoted strings produced by the __STRING macro, but
   235  // this only works with ANSI C.
   236  //
   237  // __XSTRING is like __STRING, but it expands any macros in its argument
   238  // first.  It is only available with ANSI C.
   239  
   240  // Compiler-dependent macros to help declare dead (non-returning) and
   241  // pure (no side effects) functions, and unused variables.  They are
   242  // null except for versions of gcc that are known to support the features
   243  // properly (old versions of gcc-2 supported the dead and pure features
   244  // in a different (wrong) way).  If we do not provide an implementation
   245  // for a given compiler, let the compile fail if it is told to use
   246  // a feature that we cannot live without.
   247  
   248  // Keywords added in C11.
   249  
   250  // Emulation of C11 _Generic().  Unlike the previously defined C11
   251  // keywords, it is not possible to implement this using exactly the same
   252  // syntax.  Therefore implement something similar under the name
   253  // __generic().  Unlike _Generic(), this macro can only distinguish
   254  // between a single type, so it requires nested invocations to
   255  // distinguish multiple cases.
   256  
   257  // C99 Static array indices in function parameter declarations.  Syntax such as:
   258  // void bar(int myArray[static 10]);
   259  // is allowed in C99 but not in C++.  Define __min_size appropriately so
   260  // headers using it can be compiled in either language.  Use like this:
   261  // void bar(int myArray[__min_size(10)]);
   262  
   263  // XXX: should use `#if __STDC_VERSION__ < 199901'.
   264  
   265  // C++11 exposes a load of C99 stuff
   266  
   267  // GCC 2.95 provides `__restrict' as an extension to C90 to support the
   268  // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as
   269  // a way to define the `restrict' type qualifier without disturbing older
   270  // software that is unaware of C99 keywords.
   271  
   272  // GNU C version 2.96 adds explicit branch prediction so that
   273  // the CPU back-end can hint the processor and also so that
   274  // code blocks can be reordered such that the predicted path
   275  // sees a more linear flow, thus improving cache behavior, etc.
   276  //
   277  // The following two macros provide us with a way to utilize this
   278  // compiler feature.  Use __predict_true() if you expect the expression
   279  // to evaluate to true, and __predict_false() if you expect the
   280  // expression to evaluate to false.
   281  //
   282  // A few notes about usage:
   283  //
   284  //	* Generally, __predict_false() error condition checks (unless
   285  //	  you have some _strong_ reason to do otherwise, in which case
   286  //	  document it), and/or __predict_true() `no-error' condition
   287  //	  checks, assuming you want to optimize for the no-error case.
   288  //
   289  //	* Other than that, if you don't know the likelihood of a test
   290  //	  succeeding from empirical or other `hard' evidence, don't
   291  //	  make predictions.
   292  //
   293  //	* These are meant to be used in places that are run `a lot'.
   294  //	  It is wasteful to make predictions in code that is run
   295  //	  seldomly (e.g. at subsystem initialization time) as the
   296  //	  basic block reordering that this affects can often generate
   297  //	  larger code.
   298  
   299  // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
   300  // require it.
   301  
   302  // Given the pointer x to the member m of the struct s, return
   303  // a pointer to the containing structure.  When using GCC, we first
   304  // assign pointer x to a local variable, to check that its type is
   305  // compatible with member m.
   306  
   307  // Compiler-dependent macros to declare that functions take printf-like
   308  // or scanf-like arguments.  They are null except for versions of gcc
   309  // that are known to support the features properly (old versions of gcc-2
   310  // didn't permit keeping the keywords out of the application namespace).
   311  
   312  // Compiler-dependent macros that rely on FreeBSD-specific extensions.
   313  
   314  // Embed the rcs id of a source file in the resulting library.  Note that in
   315  // more recent ELF binutils, we use .ident allowing the ID to be stripped.
   316  // Usage:
   317  //	__FBSDID("$FreeBSD$");
   318  
   319  // -
   320  // The following definitions are an extension of the behavior originally
   321  // implemented in <sys/_posix.h>, but with a different level of granularity.
   322  // POSIX.1 requires that the macros we test be defined before any standard
   323  // header file is included.
   324  //
   325  // Here's a quick run-down of the versions:
   326  //  defined(_POSIX_SOURCE)		1003.1-1988
   327  //  _POSIX_C_SOURCE == 1		1003.1-1990
   328  //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option
   329  //  _POSIX_C_SOURCE == 199309		1003.1b-1993
   330  //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995,
   331  //					and the omnibus ISO/IEC 9945-1: 1996
   332  //  _POSIX_C_SOURCE == 200112		1003.1-2001
   333  //  _POSIX_C_SOURCE == 200809		1003.1-2008
   334  //
   335  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   336  // Specification, defines a feature-test macro which indicates the version of
   337  // that specification, and which subsumes _POSIX_C_SOURCE.
   338  //
   339  // Our macros begin with two underscores to avoid namespace screwage.
   340  
   341  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
   342  
   343  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
   344  
   345  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   346  
   347  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   348  // important.
   349  // -
   350  // Deal with _ANSI_SOURCE:
   351  // If it is defined, and no other compilation environment is explicitly
   352  // requested, then define our internal feature-test macros to zero.  This
   353  // makes no difference to the preprocessor (undefined symbols in preprocessing
   354  // expressions are defined to have value zero), but makes it more convenient for
   355  // a test program to print out the values.
   356  //
   357  // If a program mistakenly defines _ANSI_SOURCE and some other macro such as
   358  // _POSIX_C_SOURCE, we will assume that it wants the broader compilation
   359  // environment (and in fact we will never get here).
   360  
   361  // User override __EXT1_VISIBLE
   362  
   363  // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
   364  // translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
   365  
   366  // Nullability qualifiers: currently only supported by Clang.
   367  
   368  // Type Safety Checking
   369  //
   370  // Clang provides additional attributes to enable checking type safety
   371  // properties that cannot be enforced by the C type system.
   372  
   373  // Lock annotations.
   374  //
   375  // Clang provides support for doing basic thread-safety tests at
   376  // compile-time, by marking which locks will/should be held when
   377  // entering/leaving a functions.
   378  //
   379  // Furthermore, it is also possible to annotate variables and structure
   380  // members to enforce that they are only accessed when certain locks are
   381  // held.
   382  
   383  // Structure implements a lock.
   384  
   385  // Function acquires an exclusive or shared lock.
   386  
   387  // Function attempts to acquire an exclusive or shared lock.
   388  
   389  // Function releases a lock.
   390  
   391  // Function asserts that an exclusive or shared lock is held.
   392  
   393  // Function requires that an exclusive or shared lock is or is not held.
   394  
   395  // Function should not be analyzed.
   396  
   397  // Function or variable should not be sanitized, e.g., by AddressSanitizer.
   398  // GCC has the nosanitize attribute, but as a function attribute only, and
   399  // warns on use as a variable attribute.
   400  
   401  // Guard variables and structure members by lock.
   402  
   403  // Alignment builtins for better type checking and improved code generation.
   404  // Provide fallback versions for other compilers (GCC/Clang < 10):
   405  
   406  // -
   407  // SPDX-License-Identifier: BSD-3-Clause
   408  //
   409  // Copyright (c) 1988, 1993
   410  //	The Regents of the University of California.  All rights reserved.
   411  //
   412  // Redistribution and use in source and binary forms, with or without
   413  // modification, are permitted provided that the following conditions
   414  // are met:
   415  // 1. Redistributions of source code must retain the above copyright
   416  //    notice, this list of conditions and the following disclaimer.
   417  // 2. Redistributions in binary form must reproduce the above copyright
   418  //    notice, this list of conditions and the following disclaimer in the
   419  //    documentation and/or other materials provided with the distribution.
   420  // 3. Neither the name of the University nor the names of its contributors
   421  //    may be used to endorse or promote products derived from this software
   422  //    without specific prior written permission.
   423  //
   424  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   425  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   426  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   427  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   428  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   429  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   430  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   431  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   432  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   433  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   434  // SUCH DAMAGE.
   435  //
   436  // $FreeBSD$
   437  
   438  // -
   439  // SPDX-License-Identifier: BSD-3-Clause
   440  //
   441  // Copyright (c) 1991, 1993
   442  //	The Regents of the University of California.  All rights reserved.
   443  //
   444  // This code is derived from software contributed to Berkeley by
   445  // Berkeley Software Design, Inc.
   446  //
   447  // Redistribution and use in source and binary forms, with or without
   448  // modification, are permitted provided that the following conditions
   449  // are met:
   450  // 1. Redistributions of source code must retain the above copyright
   451  //    notice, this list of conditions and the following disclaimer.
   452  // 2. Redistributions in binary form must reproduce the above copyright
   453  //    notice, this list of conditions and the following disclaimer in the
   454  //    documentation and/or other materials provided with the distribution.
   455  // 3. Neither the name of the University nor the names of its contributors
   456  //    may be used to endorse or promote products derived from this software
   457  //    without specific prior written permission.
   458  //
   459  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   460  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   461  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   462  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   463  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   464  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   465  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   466  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   467  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   468  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   469  // SUCH DAMAGE.
   470  //
   471  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   472  // $FreeBSD$
   473  
   474  // -
   475  // SPDX-License-Identifier: BSD-3-Clause
   476  //
   477  // Copyright (c) 1988, 1993
   478  //	The Regents of the University of California.  All rights reserved.
   479  //
   480  // Redistribution and use in source and binary forms, with or without
   481  // modification, are permitted provided that the following conditions
   482  // are met:
   483  // 1. Redistributions of source code must retain the above copyright
   484  //    notice, this list of conditions and the following disclaimer.
   485  // 2. Redistributions in binary form must reproduce the above copyright
   486  //    notice, this list of conditions and the following disclaimer in the
   487  //    documentation and/or other materials provided with the distribution.
   488  // 3. Neither the name of the University nor the names of its contributors
   489  //    may be used to endorse or promote products derived from this software
   490  //    without specific prior written permission.
   491  //
   492  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   493  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   494  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   495  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   496  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   497  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   498  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   499  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   500  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   501  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   502  // SUCH DAMAGE.
   503  //
   504  //	@(#)limits.h	8.3 (Berkeley) 1/4/94
   505  // $FreeBSD$
   506  
   507  // According to ANSI (section 2.2.4.2), the values below must be usable by
   508  // #if preprocessing directives.  Additionally, the expression must have the
   509  // same type as would an expression that is an object of the corresponding
   510  // type converted according to the integral promotions.  The subtraction for
   511  // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an
   512  // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
   513  
   514  // max value for an unsigned long long
   515  
   516  // Quads and long longs are the same size.  Ensure they stay in sync.
   517  
   518  // Minimum signal stack size.
   519  
   520  // -
   521  // SPDX-License-Identifier: BSD-3-Clause
   522  //
   523  // Copyright (c) 1988, 1993
   524  //	The Regents of the University of California.  All rights reserved.
   525  //
   526  // Redistribution and use in source and binary forms, with or without
   527  // modification, are permitted provided that the following conditions
   528  // are met:
   529  // 1. Redistributions of source code must retain the above copyright
   530  //    notice, this list of conditions and the following disclaimer.
   531  // 2. Redistributions in binary form must reproduce the above copyright
   532  //    notice, this list of conditions and the following disclaimer in the
   533  //    documentation and/or other materials provided with the distribution.
   534  // 3. Neither the name of the University nor the names of its contributors
   535  //    may be used to endorse or promote products derived from this software
   536  //    without specific prior written permission.
   537  //
   538  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   539  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   540  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   541  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   542  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   543  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   544  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   545  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   546  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   547  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   548  // SUCH DAMAGE.
   549  //
   550  //	@(#)syslimits.h	8.1 (Berkeley) 6/2/93
   551  // $FreeBSD$
   552  
   553  // Do not add any new variables here.  (See the comment at the end of
   554  // the file for why.)
   555  
   556  // We leave the following values undefined to force applications to either
   557  // assume conservative values or call sysconf() to get the current value.
   558  //
   559  // HOST_NAME_MAX
   560  //
   561  // (We should do this for most of the values currently defined here,
   562  // but many programs are not prepared to deal with this yet.)
   563  
   564  var _ uint8 /* gen.c:2:13: */