fgetc

Returns the next character from a specified file.

Format

#include  <stdio.h>

int fgetc  (FILE *file_ptr);

Argument

file_ptr
A pointer to the file to be accessed.

Description

See the getc macro in this section.

Return Values
The returned character. 
EOF  Indicates the end-of-file or an error. 


Previous Page | Next Page | Table of Contents | Index