00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _INTTYPES_H_
00030 #define _INTTYPES_H_
00031
00032 #include <sys/_inttypes.h>
00033 #include <sys/stdint.h>
00034
00035 typedef struct {
00036 intmax_t quot;
00037 intmax_t rem;
00038 } imaxdiv_t;
00039
00040 __BEGIN_DECLS
00041 intmax_t imaxabs(intmax_t) __pure2;
00042 imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2;
00043
00044 intmax_t strtoimax(const char * __restrict, char ** __restrict, int);
00045 uintmax_t strtoumax(const char * __restrict, char ** __restrict, int);
00046 #ifdef HAVE_WCHAR
00047 intmax_t wcstoimax(const __wchar_t * __restrict,
00048 __wchar_t ** __restrict, int);
00049 uintmax_t wcstoumax(const __wchar_t * __restrict,
00050 __wchar_t ** __restrict, int);
00051 #endif
00052 __END_DECLS
00053
00054 #endif