scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

inttypes.h (573B)


      1 #ifndef _INTTYPES_H_
      2 #define _INTTYPES_H_
      3 
      4 #include <stdint.h>
      5 #include <arch/inttypes.h>
      6 
      7 typedef struct {
      8         intmax_t quot, rem;
      9 } imaxdiv_t;
     10 
     11 extern intmax_t imaxabs(intmax_t);
     12 extern imaxdiv_t imaxdiv(intmax_t, intmax_t);
     13 extern intmax_t strtoimax(const char * restrict, char ** restrict, int);
     14 extern uintmax_t strtoumax(const char * restrict, char ** restrict, int);
     15 
     16 #ifdef _NEED_WCHART
     17 extern intmax_t wcstoimax(const wchar_t * restrict, wchar_t ** restrict, int);
     18 extern uintmax_t wcstoumax(const wchar_t * restrict, wchar_t ** restrict, int);
     19 #endif
     20 
     21 #endif