diff options
Diffstat (limited to 'src/inttypes/wcstoimax.c')
-rw-r--r-- | src/inttypes/wcstoimax.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/inttypes/wcstoimax.c b/src/inttypes/wcstoimax.c new file mode 100644 index 00000000..12c9a850 --- /dev/null +++ b/src/inttypes/wcstoimax.c @@ -0,0 +1,21 @@ +#include <inttypes.h> + +intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base) +{ + /* like wcstoll */ + + /* if > INTMAX_MAX */ + /* errno = ERANGE; */ + /* return INTMAX_MAX */ + + /* if < INTMAX_MIN */ + /* errno = ERANGE; */ + /* return INTMAX_MIN; */ + + /* if no conversion */ + return 0; +} + +/* +STDC(199901) +*/ |