|
||
unsigned long strtoul( char *s, char **p, int base )
char *s; /* input string */ char **p; /* address of char pointer to receive last parse position */ int base; /* integer base */
|
|
|
Synopsis |
#include "stdlib.h"
The strtoul function identical to strtol .
|
|
Parameters |
s is a null-terminated string. *p is the address of a character pointer that is to receive the ending position of the parse. base is an integer that specifies the numeric base in which the conversion is to occur.
|
|
Return Value |
strtol returns the long integer converted. If the number would overflow, a range error is generated.
|
|
See Also |
|
|
|
|