fputc
Default mainpagebasic-usart-hw-handshaking-projectfputc
Description Source Call Graph
fputc
Implementation of fputc using USART0 as the standard output.
 
Syntax / parameters
signed int fputc (signed int c, FILE *pStream)

Name Type Default Description
c signed int
  Character to write.
pStream FILE *
  Output stream.
 
Return value signed int
   
Description
Implementation of fputc using USART0 as the standard output.
Required for printf(). Returns the character written if successful, or -1 if the output stream is not stdout or stderr.
Variants
Variants Brief description
(int, FILE *) Outputs a character to a file.
 
Source
The documentation for this Member was generated from the following file:
  • printf_usart.c