|
CC78K4 Datasheet, PDF (193/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
4-10 puts
I/O Functions
FUNCTION
puts outputs a character string.
HEADER
stdio.h
FUNCTION PROTOTYPE
int puts (const char *s);
Function
puts
Arguments
s ...Pointer to an output
character string
Return Value
Normal ... 0
When putchar function
returns â1 ... â1
EXPLANATION
⢠Writes the character string indicated by s using the putchar function and adds a line feed character at the end
of the output.
⢠Writing of the null character at the end of the character string is not performed.
⢠When the return value is normal, 0 is returned, and when the putchar function returns â1, â1 is returned.
Userâs Manual U15556EJ1V0UM
193
|
▷ |