Go to the first, previous, next, last section, table of contents.


putchar

Syntax

#include <stdio.h>

int putchar(int c);

Description

This is the same as fputc(c, stdout). See section fputc.

Return Value

The character written.

Portability

ANSI, POSIX

Example

while ((c = getchar()) != EOF)
  putchar(c);


Go to the first, previous, next, last section, table of contents.