(C) 1998 AROS - The Amiga Research OS


NAME
#include <stdio.h>

int fclose ()

SYNOPSIS
FILE * stream

FUNCTION
Closes a stream.

INPUTS
stream
Stream to close.

RESULT
Upon successful completion 0 is returned. Otherwise, EOF is returned and the global variable errno is set to indicate the error. In either case no further access to the stream is possible.

EXAMPLE

SEE ALSO
fopen(), open(), close()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
02.04.1997 ldp
Add BPTR casts
17.01.1997 digulla
New functions: fopen(), fclose(), fgets(), ferror(), clearerr(), fread(), fwrite(), getchar(), gets()