delorie.com/djgpp/doc/libc/libc_786.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <inttypes.h> uintmax_t strtoumax (const char *s, char **endp, int base); |
This is just like strtoimax
(see section strtoimax) except that
the result is unsigned.
The value.
ANSI/ISO C | C99; not C89 |
POSIX | 1003.1-2001; not 1003.2-1992 |
printf("Enter a number: "); fflush(stdout); gets(buf); char *bp; printf("The value is %" PRIuMAX "\n", strtoumax(buf, &bp, 0)); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |