_ec_atounum — Convert e string "str" to an unsigned integral value and store the result in "*nptr"
int **_ec_atounum** ( | str, | |
| | nptr, | |
| | width, | |
| | endptr
); | |
const char * <var class="pdparam">str</var>;
void * <var class="pdparam">nptr</var>;
int <var class="pdparam">width</var>;
char ** <var class="pdparam">endptr</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Convert e string "str" to an unsigned integral value and store the result in "*nptr".
Recognises decimal, hex and octal values.
the source string
the destination pointer the number is stored in
the size in bytes of the integer type to be used
if non-NULL, holds the address of the first non-digit found
0 if "str" was not a valid unsigned integer, 1 if it was