github.com/afumu/libc@v0.0.6/limits/limits_netbsd_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_netbsd_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:45:1:
    19  	BC_BASE_MAX                          = 2147483647           // syslimits.h:63:1:
    20  	BC_DIM_MAX                           = 65535                // syslimits.h:64:1:
    21  	BC_SCALE_MAX                         = 2147483647           // syslimits.h:65:1:
    22  	BC_STRING_MAX                        = 2147483647           // syslimits.h:66:1:
    23  	CHARCLASS_NAME_MAX                   = 14                   // limits.h:125:1:
    24  	CHAR_BIT                             = 8                    // limits.h:39:1:
    25  	CHAR_MAX                             = 255                  // limits.h:160:1:
    26  	CHAR_MIN                             = 0                    // limits.h:159:1:
    27  	CHILD_MAX                            = 160                  // syslimits.h:47:1:
    28  	COLL_WEIGHTS_MAX                     = 2                    // syslimits.h:67:1:
    29  	DBL_DIG                              = 15                   // limits.h:93:1:
    30  	EXPR_NEST_MAX                        = 32                   // syslimits.h:68:1:
    31  	FLT_DIG                              = 6                    // limits.h:97:1:
    32  	GID_MAX                              = 2147483647           // syslimits.h:49:1:
    33  	INT_MAX                              = 0x7fffffff           // limits.h:50:1:
    34  	INT_MIN                              = -2147483648          // limits.h:51:1:
    35  	IOV_MAX                              = 1024                 // syslimits.h:84:1:
    36  	LINE_MAX                             = 2048                 // syslimits.h:69:1:
    37  	LINK_MAX                             = 32767                // syslimits.h:50:1:
    38  	LLONG_MAX                            = 0x7fffffffffffffff   // limits.h:66:1:
    39  	LLONG_MIN                            = -9223372036854775808 // limits.h:67:1:
    40  	LOGIN_NAME_MAX                       = 17                   // syslimits.h:77:1:
    41  	LONG_BIT                             = 32                   // limits.h:89:1:
    42  	LONG_MAX                             = 0x7fffffff           // limits.h:59:1:
    43  	LONG_MIN                             = -2147483648          // limits.h:60:1:
    44  	MAX_CANON                            = 255                  // syslimits.h:51:1:
    45  	MAX_INPUT                            = 255                  // syslimits.h:52:1:
    46  	MB_LEN_MAX                           = 32                   // limits.h:145:1:
    47  	NAME_MAX                             = 511                  // syslimits.h:53:1:
    48  	NGROUPS_MAX                          = 16                   // syslimits.h:55:1:
    49  	NL_ARGMAX                            = 9                    // limits.h:126:1:
    50  	NL_LANGMAX                           = 14                   // limits.h:127:1:
    51  	NL_MSGMAX                            = 32767                // limits.h:128:1:
    52  	NL_NMAX                              = 1                    // limits.h:129:1:
    53  	NL_SETMAX                            = 255                  // limits.h:130:1:
    54  	NL_TEXTMAX                           = 2048                 // limits.h:131:1:
    55  	NZERO                                = 20                   // syslimits.h:85:1:
    56  	OPEN_MAX                             = 128                  // syslimits.h:58:1:
    57  	PASS_MAX                             = 128                  // limits.h:123:1:
    58  	PATH_MAX                             = 1024                 // syslimits.h:60:1:
    59  	PIPE_BUF                             = 512                  // syslimits.h:61:1:
    60  	PTHREAD_DESTRUCTOR_ITERATIONS        = 4                    // limits.h:90:1:
    61  	PTHREAD_KEYS_MAX                     = 256                  // limits.h:91:1:
    62  	PTHREAD_THREADS_MAX                  = 64                   // limits.h:93:1:
    63  	QUAD_MAX                             = 0x7fffffffffffffff   // limits.h:79:1:
    64  	QUAD_MIN                             = -9223372036854775808 // limits.h:80:1:
    65  	RE_DUP_MAX                           = 255                  // syslimits.h:70:1:
    66  	SCHAR_MAX                            = 0x7f                 // limits.h:42:1:
    67  	SCHAR_MIN                            = -128                 // limits.h:43:1:
    68  	SHRT_MAX                             = 0x7fff               // limits.h:46:1:
    69  	SHRT_MIN                             = -32768               // limits.h:47:1:
    70  	SIZE_T_MAX                           = 4294967295           // limits.h:76:1:
    71  	SSIZE_MAX                            = 2147483647           // limits.h:72:1:
    72  	SSIZE_MIN                            = -2147483648          // limits.h:75:1:
    73  	TMP_MAX                              = 308915776            // limits.h:139:1:
    74  	UCHAR_MAX                            = 0xff                 // limits.h:41:1:
    75  	UID_MAX                              = 2147483647           // syslimits.h:56:1:
    76  	UINT_MAX                             = 0xffffffff           // limits.h:49:1:
    77  	ULLONG_MAX                           = 0xffffffffffffffff   // limits.h:65:1:
    78  	ULONG_MAX                            = 0xffffffff           // limits.h:58:1:
    79  	UQUAD_MAX                            = 0xffffffffffffffff   // limits.h:78:1:
    80  	USHRT_MAX                            = 0xffff               // limits.h:45:1:
    81  	WORD_BIT                             = 32                   // limits.h:91:1:
    82  	X_ARM_LIMITS_H_                      = 0                    // limits.h:35:1:
    83  	X_FILE_OFFSET_BITS                   = 64                   // <builtin>:25:1:
    84  	X_GETGR_R_SIZE_MAX                   = 1024                 // limits.h:134:1:
    85  	X_GETPW_R_SIZE_MAX                   = 1024                 // limits.h:135:1:
    86  	X_LIMITS_H_                          = 0                    // limits.h:35:1:
    87  	X_NETBSD_SOURCE                      = 1                    // featuretest.h:70:1:
    88  	X_POSIX2_BC_BASE_MAX                 = 99                   // limits.h:103:1:
    89  	X_POSIX2_BC_DIM_MAX                  = 2048                 // limits.h:104:1:
    90  	X_POSIX2_BC_SCALE_MAX                = 99                   // limits.h:105:1:
    91  	X_POSIX2_BC_STRING_MAX               = 1000                 // limits.h:106:1:
    92  	X_POSIX2_CHARCLASS_NAME_MAX          = 14                   // limits.h:107:1:
    93  	X_POSIX2_COLL_WEIGHTS_MAX            = 2                    // limits.h:108:1:
    94  	X_POSIX2_EXPR_NEST_MAX               = 32                   // limits.h:109:1:
    95  	X_POSIX2_LINE_MAX                    = 2048                 // limits.h:110:1:
    96  	X_POSIX2_RE_DUP_MAX                  = 255                  // limits.h:111:1:
    97  	X_POSIX_AIO_LISTIO_MAX               = 2                    // limits.h:41:1:
    98  	X_POSIX_AIO_MAX                      = 1                    // limits.h:42:1:
    99  	X_POSIX_ARG_MAX                      = 4096                 // limits.h:43:1:
   100  	X_POSIX_CHILD_MAX                    = 25                   // limits.h:44:1:
   101  	X_POSIX_DELAYTIMER_MAX               = 32                   // limits.h:99:1:
   102  	X_POSIX_HOST_NAME_MAX                = 255                  // limits.h:45:1:
   103  	X_POSIX_LINK_MAX                     = 8                    // limits.h:46:1:
   104  	X_POSIX_LOGIN_NAME_MAX               = 9                    // limits.h:47:1:
   105  	X_POSIX_MAX_CANON                    = 255                  // limits.h:48:1:
   106  	X_POSIX_MAX_INPUT                    = 255                  // limits.h:49:1:
   107  	X_POSIX_MQ_OPEN_MAX                  = 8                    // limits.h:50:1:
   108  	X_POSIX_MQ_PRIO_MAX                  = 32                   // limits.h:51:1:
   109  	X_POSIX_NAME_MAX                     = 14                   // limits.h:52:1:
   110  	X_POSIX_NGROUPS_MAX                  = 8                    // limits.h:53:1:
   111  	X_POSIX_OPEN_MAX                     = 20                   // limits.h:54:1:
   112  	X_POSIX_PATH_MAX                     = 256                  // limits.h:55:1:
   113  	X_POSIX_PIPE_BUF                     = 512                  // limits.h:56:1:
   114  	X_POSIX_REALTIME_SIGNALS             = 200112               // limits.h:98:1:
   115  	X_POSIX_RE_DUP_MAX                   = 255                  // limits.h:57:1:
   116  	X_POSIX_SEM_NSEMS_MAX                = 256                  // limits.h:96:1:
   117  	X_POSIX_SIGQUEUE_MAX                 = 32                   // limits.h:97:1:
   118  	X_POSIX_SSIZE_MAX                    = 32767                // limits.h:58:1:
   119  	X_POSIX_STREAM_MAX                   = 8                    // limits.h:59:1:
   120  	X_POSIX_SYMLINK_MAX                  = 255                  // limits.h:60:1:
   121  	X_POSIX_SYMLOOP_MAX                  = 8                    // limits.h:61:1:
   122  	X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4                    // limits.h:81:1:
   123  	X_POSIX_THREAD_KEYS_MAX              = 128                  // limits.h:82:1:
   124  	X_POSIX_THREAD_THREADS_MAX           = 64                   // limits.h:83:1:
   125  	X_POSIX_TIMER_MAX                    = 32                   // limits.h:95:1:
   126  	X_POSIX_TTY_NAME_MAX                 = 9                    // limits.h:100:1:
   127  	X_POSIX_TZNAME_MAX                   = 6                    // limits.h:101:1:
   128  	X_SYS_SYSLIMITS_H_                   = 0                    // syslimits.h:35:1:
   129  	X_XOPEN_IOV_MAX                      = 16                   // limits.h:119:1:
   130  	X_XOPEN_NAME_MAX                     = 256                  // limits.h:120:1:
   131  	X_XOPEN_PATH_MAX                     = 1024                 // limits.h:121:1:
   132  )
   133  
   134  type Ptrdiff_t = int32 /* <builtin>:3:26 */
   135  
   136  type Size_t = uint32 /* <builtin>:9:23 */
   137  
   138  type Wchar_t = int32 /* <builtin>:15:24 */
   139  
   140  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   141  type X__float128 = float64        /* <builtin>:47:21 */
   142  
   143  //	$NetBSD: limits.h,v 1.40 2016/08/04 06:43:43 christos Exp $
   144  
   145  // Copyright (c) 1988, 1993
   146  //	The Regents of the University of California.  All rights reserved.
   147  //
   148  // Redistribution and use in source and binary forms, with or without
   149  // modification, are permitted provided that the following conditions
   150  // are met:
   151  // 1. Redistributions of source code must retain the above copyright
   152  //    notice, this list of conditions and the following disclaimer.
   153  // 2. Redistributions in binary form must reproduce the above copyright
   154  //    notice, this list of conditions and the following disclaimer in the
   155  //    documentation and/or other materials provided with the distribution.
   156  // 3. Neither the name of the University nor the names of its contributors
   157  //    may be used to endorse or promote products derived from this software
   158  //    without specific prior written permission.
   159  //
   160  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   161  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   162  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   163  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   164  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   165  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   166  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   167  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   168  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   169  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   170  // SUCH DAMAGE.
   171  //
   172  //	@(#)limits.h	8.2 (Berkeley) 1/4/94
   173  
   174  //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
   175  
   176  // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
   177  // Public domain.
   178  //
   179  // NOTE: Do not protect this header against multiple inclusion.  Doing
   180  // so can have subtle side-effects due to header file inclusion order
   181  // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
   182  // protect each CPP macro that we want to supply.
   183  
   184  // Feature-test macros are defined by several standards, and allow an
   185  // application to specify what symbols they want the system headers to
   186  // expose, and hence what standard they want them to conform to.
   187  // There are two classes of feature-test macros.  The first class
   188  // specify complete standards, and if one of these is defined, header
   189  // files will try to conform to the relevant standard.  They are:
   190  //
   191  // ANSI macros:
   192  // _ANSI_SOURCE			ANSI C89
   193  //
   194  // POSIX macros:
   195  // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   196  // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   197  // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   198  // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   199  // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   200  // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   201  // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   202  //
   203  // X/Open macros:
   204  // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   205  // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   206  // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   207  // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   208  // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   209  // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   210  //
   211  // NetBSD macros:
   212  // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   213  //
   214  // If more than one of these "major" feature-test macros is defined,
   215  // then the set of facilities provided (and namespace used) is the
   216  // union of that specified by the relevant standards, and in case of
   217  // conflict, the earlier standard in the above list has precedence (so
   218  // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   219  // of rename() that's used is the POSIX one).  If none of the "major"
   220  // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   221  //
   222  // There are also "minor" feature-test macros, which enable extra
   223  // functionality in addition to some base standard.  They should be
   224  // defined along with one of the "major" macros.  The "minor" macros
   225  // are:
   226  //
   227  // _REENTRANT
   228  // _ISOC99_SOURCE
   229  // _ISOC11_SOURCE
   230  // _LARGEFILE_SOURCE		Large File Support
   231  //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   232  
   233  // We have not implemented these yet
   234  //
   235  // _POSIX_THREAD_ATTR_STACKADDR
   236  // _POSIX_THREAD_ATTR_STACKSIZE
   237  // _POSIX_THREAD_CPUTIME
   238  // _POSIX_THREAD_PRIORITY_SCHEDULING
   239  // _POSIX_THREAD_PRIO_INHERIT
   240  // _POSIX_THREAD_PRIO_PROTECT
   241  // _POSIX_THREAD_PROCESS_SHARED
   242  // _POSIX_THREAD_SAFE_FUNCTIONS
   243  // _POSIX_THREAD_SPORADIC_SERVER
   244  
   245  // The following 3 are defined in
   246  // Open Group Base Specifications Issue 7
   247  
   248  // These are the correct names, defined in terms of the above
   249  // except for PTHREAD_KEYS_MAX which is bigger than standard
   250  // mandated minimum value _POSIX_THREAD_KEYS_MAX.
   251  // Not yet: PTHREAD_STACK_MIN
   252  
   253  // X/Open CAE Specifications,
   254  // adopted in IEEE Std 1003.1-2001 XSI.
   255  
   256  // IEEE Std 1003.1-2001 TSF
   257  
   258  // Always ensure that this is consistent with <stdio.h>
   259  
   260  // X/Open Extended API set 2 (a.k.a. C063)
   261  // This hides unimplemented functions from GNU configure until
   262  // we are done implementing them.
   263  
   264  //	$NetBSD: limits.h,v 1.19 2019/01/21 20:28:17 dholland Exp $
   265  
   266  // Copyright (c) 1988 The Regents of the University of California.
   267  // All rights reserved.
   268  //
   269  // Redistribution and use in source and binary forms, with or without
   270  // modification, are permitted provided that the following conditions
   271  // are met:
   272  // 1. Redistributions of source code must retain the above copyright
   273  //    notice, this list of conditions and the following disclaimer.
   274  // 2. Redistributions in binary form must reproduce the above copyright
   275  //    notice, this list of conditions and the following disclaimer in the
   276  //    documentation and/or other materials provided with the distribution.
   277  // 3. Neither the name of the University nor the names of its contributors
   278  //    may be used to endorse or promote products derived from this software
   279  //    without specific prior written permission.
   280  //
   281  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   282  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   283  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   284  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   285  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   286  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   287  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   288  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   289  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   290  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   291  // SUCH DAMAGE.
   292  //
   293  //	from: @(#)limits.h	7.2 (Berkeley) 6/28/90
   294  
   295  //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
   296  
   297  // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
   298  // Public domain.
   299  //
   300  // NOTE: Do not protect this header against multiple inclusion.  Doing
   301  // so can have subtle side-effects due to header file inclusion order
   302  // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
   303  // protect each CPP macro that we want to supply.
   304  
   305  // Feature-test macros are defined by several standards, and allow an
   306  // application to specify what symbols they want the system headers to
   307  // expose, and hence what standard they want them to conform to.
   308  // There are two classes of feature-test macros.  The first class
   309  // specify complete standards, and if one of these is defined, header
   310  // files will try to conform to the relevant standard.  They are:
   311  //
   312  // ANSI macros:
   313  // _ANSI_SOURCE			ANSI C89
   314  //
   315  // POSIX macros:
   316  // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   317  // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   318  // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   319  // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   320  // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   321  // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   322  // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   323  //
   324  // X/Open macros:
   325  // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   326  // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   327  // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   328  // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   329  // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   330  // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   331  //
   332  // NetBSD macros:
   333  // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   334  //
   335  // If more than one of these "major" feature-test macros is defined,
   336  // then the set of facilities provided (and namespace used) is the
   337  // union of that specified by the relevant standards, and in case of
   338  // conflict, the earlier standard in the above list has precedence (so
   339  // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   340  // of rename() that's used is the POSIX one).  If none of the "major"
   341  // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   342  //
   343  // There are also "minor" feature-test macros, which enable extra
   344  // functionality in addition to some base standard.  They should be
   345  // defined along with one of the "major" macros.  The "minor" macros
   346  // are:
   347  //
   348  // _REENTRANT
   349  // _ISOC99_SOURCE
   350  // _ISOC11_SOURCE
   351  // _LARGEFILE_SOURCE		Large File Support
   352  //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   353  
   354  //	$NetBSD: syslimits.h,v 1.28 2015/08/21 07:19:39 uebayasi Exp $
   355  
   356  // Copyright (c) 1988, 1993
   357  //	The Regents of the University of California.  All rights reserved.
   358  //
   359  // Redistribution and use in source and binary forms, with or without
   360  // modification, are permitted provided that the following conditions
   361  // are met:
   362  // 1. Redistributions of source code must retain the above copyright
   363  //    notice, this list of conditions and the following disclaimer.
   364  // 2. Redistributions in binary form must reproduce the above copyright
   365  //    notice, this list of conditions and the following disclaimer in the
   366  //    documentation and/or other materials provided with the distribution.
   367  // 3. Neither the name of the University nor the names of its contributors
   368  //    may be used to endorse or promote products derived from this software
   369  //    without specific prior written permission.
   370  //
   371  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   372  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   373  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   374  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   375  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   376  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   377  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   378  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   379  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   380  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   381  // SUCH DAMAGE.
   382  //
   383  //	@(#)syslimits.h	8.1 (Berkeley) 6/2/93
   384  
   385  //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
   386  
   387  // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
   388  // Public domain.
   389  //
   390  // NOTE: Do not protect this header against multiple inclusion.  Doing
   391  // so can have subtle side-effects due to header file inclusion order
   392  // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
   393  // protect each CPP macro that we want to supply.
   394  
   395  // Feature-test macros are defined by several standards, and allow an
   396  // application to specify what symbols they want the system headers to
   397  // expose, and hence what standard they want them to conform to.
   398  // There are two classes of feature-test macros.  The first class
   399  // specify complete standards, and if one of these is defined, header
   400  // files will try to conform to the relevant standard.  They are:
   401  //
   402  // ANSI macros:
   403  // _ANSI_SOURCE			ANSI C89
   404  //
   405  // POSIX macros:
   406  // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   407  // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   408  // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   409  // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   410  // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   411  // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   412  // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   413  //
   414  // X/Open macros:
   415  // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   416  // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   417  // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   418  // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   419  // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   420  // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   421  //
   422  // NetBSD macros:
   423  // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   424  //
   425  // If more than one of these "major" feature-test macros is defined,
   426  // then the set of facilities provided (and namespace used) is the
   427  // union of that specified by the relevant standards, and in case of
   428  // conflict, the earlier standard in the above list has precedence (so
   429  // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   430  // of rename() that's used is the POSIX one).  If none of the "major"
   431  // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   432  //
   433  // There are also "minor" feature-test macros, which enable extra
   434  // functionality in addition to some base standard.  They should be
   435  // defined along with one of the "major" macros.  The "minor" macros
   436  // are:
   437  //
   438  // _REENTRANT
   439  // _ISOC99_SOURCE
   440  // _ISOC11_SOURCE
   441  // _LARGEFILE_SOURCE		Large File Support
   442  //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   443  
   444  // kept in sync with MAXNAMLEN
   445  
   446  // IEEE Std 1003.1c-95, adopted in X/Open CAE Specification Issue 5 Version 2
   447  
   448  // X/Open CAE Specification Issue 5 Version 2
   449  
   450  var _ uint8 /* gen.c:2:13: */