|
||
int fclose( FILE *fp )
FILE *fp; /* stream pointer */
|
|
|
Synopsis |
#include "stdio.h"
The fclose function closes the open stream referred to by fp .
|
|
Parameters |
fp is an open stream pointer.
|
|
Return Value |
fclose returns 0 if the close was successful; and returns EOF (-1) otherwise.
|
|
See Also |
|
|
|
|