github.com/afumu/libc@v0.0.6/langinfo/langinfo_netbsd_amd64.go (about)

     1  // Code generated by 'ccgo langinfo/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 langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
     2  
     3  package langinfo
     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  	NL_CAT_LOCALE      = 1  // nl_types.h:75:1:
    19  	NL_SETD            = 1  // nl_types.h:74:1:
    20  	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
    21  	X_LANGINFO_H_      = 0  // langinfo.h:9:1:
    22  	X_LP64             = 1  // <predefined>:268:1:
    23  	X_NL_TYPES_H_      = 0  // nl_types.h:33:1:
    24  	X_SYS_CDEFS_ELF_H_ = 0  // cdefs_elf.h:31:1:
    25  	X_SYS_CDEFS_H_     = 0  // cdefs.h:37:1:
    26  	X_X86_64_CDEFS_H_  = 0  // cdefs.h:4:1:
    27  )
    28  
    29  type Ptrdiff_t = int64 /* <builtin>:3:26 */
    30  
    31  type Size_t = uint64 /* <builtin>:9:23 */
    32  
    33  type Wchar_t = int32 /* <builtin>:15:24 */
    34  
    35  type X__int128_t = struct {
    36  	Flo int64
    37  	Fhi int64
    38  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    39  type X__uint128_t = struct {
    40  	Flo uint64
    41  	Fhi uint64
    42  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    43  
    44  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    45  type X__float128 = float64        /* <builtin>:47:21 */
    46  
    47  // return true if value 'a' fits in type 't'
    48  
    49  //	$NetBSD: nl_types.h,v 1.13 2013/08/19 08:03:33 joerg Exp $
    50  
    51  // -
    52  // Copyright (c) 1996 The NetBSD Foundation, Inc.
    53  // All rights reserved.
    54  //
    55  // This code is derived from software contributed to The NetBSD Foundation
    56  // by J.T. Conklin.
    57  //
    58  // Redistribution and use in source and binary forms, with or without
    59  // modification, are permitted provided that the following conditions
    60  // are met:
    61  // 1. Redistributions of source code must retain the above copyright
    62  //    notice, this list of conditions and the following disclaimer.
    63  // 2. Redistributions in binary form must reproduce the above copyright
    64  //    notice, this list of conditions and the following disclaimer in the
    65  //    documentation and/or other materials provided with the distribution.
    66  //
    67  // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    68  // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    69  // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    70  // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    71  // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    72  // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    73  // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    74  // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    75  // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    76  // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    77  // POSSIBILITY OF SUCH DAMAGE.
    78  
    79  //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    80  
    81  // * Copyright (c) 1991, 1993
    82  //	The Regents of the University of California.  All rights reserved.
    83  //
    84  // This code is derived from software contributed to Berkeley by
    85  // Berkeley Software Design, Inc.
    86  //
    87  // Redistribution and use in source and binary forms, with or without
    88  // modification, are permitted provided that the following conditions
    89  // are met:
    90  // 1. Redistributions of source code must retain the above copyright
    91  //    notice, this list of conditions and the following disclaimer.
    92  // 2. Redistributions in binary form must reproduce the above copyright
    93  //    notice, this list of conditions and the following disclaimer in the
    94  //    documentation and/or other materials provided with the distribution.
    95  // 3. Neither the name of the University nor the names of its contributors
    96  //    may be used to endorse or promote products derived from this software
    97  //    without specific prior written permission.
    98  //
    99  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   100  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   101  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   102  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   103  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   104  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   105  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   106  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   107  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   108  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   109  // SUCH DAMAGE.
   110  //
   111  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   112  
   113  type X__nl_cat_d = struct {
   114  	F__data      uintptr
   115  	F__size      int32
   116  	F__ccgo_pad1 [4]byte
   117  } /* nl_types.h:77:9 */
   118  
   119  // return true if value 'a' fits in type 't'
   120  
   121  //	$NetBSD: nl_types.h,v 1.13 2013/08/19 08:03:33 joerg Exp $
   122  
   123  // -
   124  // Copyright (c) 1996 The NetBSD Foundation, Inc.
   125  // All rights reserved.
   126  //
   127  // This code is derived from software contributed to The NetBSD Foundation
   128  // by J.T. Conklin.
   129  //
   130  // Redistribution and use in source and binary forms, with or without
   131  // modification, are permitted provided that the following conditions
   132  // are met:
   133  // 1. Redistributions of source code must retain the above copyright
   134  //    notice, this list of conditions and the following disclaimer.
   135  // 2. Redistributions in binary form must reproduce the above copyright
   136  //    notice, this list of conditions and the following disclaimer in the
   137  //    documentation and/or other materials provided with the distribution.
   138  //
   139  // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   140  // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   141  // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   142  // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   143  // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   144  // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   145  // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   146  // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   147  // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   148  // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   149  // POSSIBILITY OF SUCH DAMAGE.
   150  
   151  //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
   152  
   153  // * Copyright (c) 1991, 1993
   154  //	The Regents of the University of California.  All rights reserved.
   155  //
   156  // This code is derived from software contributed to Berkeley by
   157  // Berkeley Software Design, Inc.
   158  //
   159  // Redistribution and use in source and binary forms, with or without
   160  // modification, are permitted provided that the following conditions
   161  // are met:
   162  // 1. Redistributions of source code must retain the above copyright
   163  //    notice, this list of conditions and the following disclaimer.
   164  // 2. Redistributions in binary form must reproduce the above copyright
   165  //    notice, this list of conditions and the following disclaimer in the
   166  //    documentation and/or other materials provided with the distribution.
   167  // 3. Neither the name of the University nor the names of its contributors
   168  //    may be used to endorse or promote products derived from this software
   169  //    without specific prior written permission.
   170  //
   171  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   172  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   173  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   174  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   175  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   176  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   177  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   178  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   179  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   180  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   181  // SUCH DAMAGE.
   182  //
   183  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   184  
   185  type Nl_catd = uintptr /* nl_types.h:80:3 */
   186  
   187  type Nl_item = int64 /* nl_types.h:82:14 */
   188  
   189  var _ int8 /* gen.c:2:13: */