PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Provides API for format conversion of integer types. More...
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | imaxdiv_t |
Functions | |
intmax_t | imaxabs (intmax_t) |
imaxdiv_t | imaxdiv (intmax_t, intmax_t) |
intmax_t | strtoimax (const char *__restrict, char **__restrict, int) |
uintmax_t | strtouimax (const char *__restrict, char **__restrict, int) |
intmax_t | wcstoimax (const _WCHAR_T_TYPE *__restrict, _WCHAR_T_TYPE **__restrict, int) |
uintmax_t | wcstouimax (const _WCHAR_T_TYPE *__restrict, _WCHAR_T_TYPE **__restrict, int) |
Provides API for format conversion of integer types.
It declares four functions for converting numeric character strings to greatest-width integers and, for each type declared in <stdint.h>, it defines corresponding macros for conversion specifiers for use with the formatted input/output functions.
These macros are provided mainly in support of fprintf and fscanf.
Definition in file inttypes.h.
struct imaxdiv_t |
Definition at line 23 of file inttypes.h.
Class Members | ||
---|---|---|
long long | quot | |
long long | rem |
The strtoimax and strtoumax functions are equivalent to the strtol, strtoll, strtoul, and strtoull functions, except that the initial portion of the string is converted to intmax_t and uintmax_t representation, respectively.
intmax_t wcstoimax | ( | const _WCHAR_T_TYPE * | __restrict, |
_WCHAR_T_TYPE ** | __restrict, | ||
int | |||
) |
The wcstoimax and wcstoumax functions are equivalent to the wcstol, wcstoll, wcstoul, and wcstoull functions except that the initial portion of the wide string is converted to intmax_t and uintmax_t representation, respectively.
uintmax_t wcstouimax | ( | const _WCHAR_T_TYPE * | __restrict, |
_WCHAR_T_TYPE ** | __restrict, | ||
int | |||
) |
see wcstrtoimax