1 /* ----------------------------------------------------------------------------
3 * ----------------------------------------------------------------------------
4 * Public Domain C Library - http://pdclib.sourceforge.net
5 * This code is Public Domain. Use, modify, and redistribute at will.
6 * ----------------------------------------------------------------------------
7 * Format conversion of integer types
8 * --------------------------------------------------------------------------*/
11 #define _INTTYPES_H _INTTYPES_H
13 /* TODO: Documentation */
15 /* ----------------------------------------------------------------------------
17 * --------------------------------------------------------------------------*/
26 /* ----------------------------------------------------------------------------
28 * --------------------------------------------------------------------------*/
30 intmax_t imaxabs( intmax_t i );
31 imaxdiv_t imaxdiv( intmax_t numer, intmax_t denom );
33 intmax_t strtoimax( const char * restrict s, char * * restrict endptr, int base );
34 uintmax_t strtoumax( const char * restrict s, char * * restrict endptr, int base );
35 intmax_t wcstoimax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base );
36 uintmax_t wcstoumax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base );
38 /* ----------------------------------------------------------------------------
40 * --------------------------------------------------------------------------*/
150 /* ----------------------------------------------------------------------------
152 * --------------------------------------------------------------------------*/
262 #endif /* _INTTYPES_H */