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


getc

Syntax

#include <stdio.h>

int getc(FILE *file);

Description

Get one character from file.

Return Value

The character ([0..255]) or EOF if eof or error.

Portability

ANSI, POSIX

Example

int c;
while ((c=getc(stdin)) != EOF)
  putc(c, stdout);


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