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