inttypes.h - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
inttypes.h (531B)
---
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 intmax_t imaxabs(intmax_t);
12 imaxdiv_t imaxdiv(intmax_t, intmax_t);
13 intmax_t strtoimax(const char * restrict, char ** restrict, int);
14 uintmax_t strtoumax(const char * restrict, char ** restrict, int);
15
16 #ifdef _NEED_WCHART
17 intmax_t wcstoimax(const wchar_t * restrict, wchar_t ** restrict, int);
18 uintmax_t wcstoumax(const wchar_t * restrict, wchar_t ** restrict, int);
19 #endif
20
21 #endif