English
Language : 

CC78K4 Datasheet, PDF (198/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
strtol,
strtoul
Utility Functions
• If the correct value causes an overflow, the function returns ULONG_MAX (4294967295U) and sets errno to
ERANGE (2).
• If the string in (2) is empty or the first non-white-space character of the string in (2) is not appropriate for an
integer with the given base, the function performs no conversion and returns 0. In this case, the value of the
string nptr is stored in the object pointed to by endptr (if it is not a null string). This holds true with the bases
0 and 2 to 36.
198
User’s Manual U15556EJ1V0UM