_ec_atonum — Convert e string "str" to a signed integral value and store the result in "*nptr"
int **_ec_atonum** ( | str, | |
| | nptr, | |
| | width, | |
| | endptr
); | |
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 a signed 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 integer, 1 if it was