Name
ec_atoui — Converts an ASCII string to an unsigned integer
Synopsis
#include "util.h"
| int **ec_atoui** ( | var, | |
| | value); | |
Description
Converts an ASCII string to an unsigned integer.
- var
-
The string to convert to an
unsigned int. This function assumes the string is an ASCII version of a hexadecimal, octal, or decimal representation of an integer. - value
-
The address of an
int. The converted value is stored in*value.
This function returns 1 on success, and 0 on failure.
It is legal to call this function in any thread.
See Also
Was this page helpful?