github.com/golang-haiku/go-1.4.3@v0.0.0-20190609233734-1f5ae41cc308/include/plan9/libc.h (about)

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  #include "/sys/include/ctype.h"
     6  #include "fmt.h"
     7  #include "utf.h"
     8  #include "libc_plan9.h"
     9  
    10  char*	getgoos(void);
    11  char*	getgoarch(void);
    12  char*	getgoroot(void);
    13  char*	getgoversion(void);
    14  char*	getgoarm(void);
    15  char*	getgo386(void);
    16  char*	getgoextlinkenabled(void);
    17  
    18  void	flagcount(char*, char*, int*);
    19  void	flagint32(char*, char*, int32*);
    20  void	flagint64(char*, char*, int64*);
    21  void	flagstr(char*, char*, char**);
    22  void	flagparse(int*, char***, void (*usage)(void));
    23  void	flagfn0(char*, char*, void(*fn)(void));
    24  void	flagfn1(char*, char*, void(*fn)(char*));
    25  void	flagfn2(char*, char*, void(*fn)(char*, char*));
    26  void	flagprint(int);
    27  
    28  // The libraries use size_t to avoid -Wconversion warnings from GCC
    29  // when calling standard library functions like memcpy.
    30  typedef unsigned long size_t;
    31  
    32  // math.h
    33  #define HUGE_VAL 1.79769313486231e+308