SilverScreen Solid Modeler

fgetc

fgetc

Previous topic Next topic  

fgetc

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

int fgetc( FILE *fp )

 

FILE *fp;        /* input stream pointer */

 

 

 




Synopsis

#include "stdio.h"

 

The fgetc function reads a character from the current location in the stream associated with fp . The current file pointer is updated.

 

 

Parameters

fp is an open input stream pointer.

 

 

Return Value

fgetc returns the character (as an integer) if successful, and EOF (-1) if not.

 

 

Comments

The fgetc function is identical to getc .

 

 

See Also

getc , fgets , fputc