Download 78K0 Coding - Renesas Electronics
Transcript
CubeSuite+ V1.01.00 CHAPTER 6 FUNCTION SPECIFICATIONS ltoa (normal model only) Converts long to a string [Syntax] #include <stdlib.h> char *ltoa (long value, char *string, int radix) ; [Argument(s)/Return value] Argument value : String to which integer is to be converted string : Pointer to the conversion result Return Value If converted properly : Pointer to the converted string If not converted properly : Null pointer radix : Base of output string [Description] - The itoa, ltoa, and ultoa functions all convert the integer value specified by value to its string equivalent which is terminated with a null character and store the result in the area pointed to by "string". - The base of the output string is determined by radix, which must be in the range 2 through 36. Each function performs conversion based on the specified radix and returns a pointer to the converted string. If the specified radix is outside the range 2 through 36, the function performs no conversion and returns a null pointer. R20UT0782EJ0100 Rev.1.00 Oct 01, 2011 Page 669 of 836
Related documents
CubeSuite Ver.1.30 Integrated Development Environment 78K0
uPD78F0828B 8-bit Single-Chip Microcontroller Flash Self
CA850 Ver. 3.20 C Compiler Package C Language UM
78K0/Kx2 8-Bit Single-Chip Microcontrollers Flash Memory
Renesas Starter Kit for RSK+RX64M Code Generator Tutorial Manual
RL78,78K0R Coding - Renesas Electronics
CubeSuite+ V1.00.00 Integrated Development Environment User`s
CubeSuite Ver.1.40 Integrated Development Environment User`s
CubeSuite+ V2.00.00 Integrated Development Environment User`s
RH850 Build - Renesas Electronics