@node putchar, stdio @subheading Syntax @example #include int putchar(int c); @end example @subheading Description This is the same as @code{fputc(c, stdout)}. @xref{fputc}. @subheading Return Value The character written. @subheading Portability @portability ansi, posix @subheading Example @example while ((c = getchar()) != EOF) putchar(c); @end example