
NAME
fclose -
SYNOPSIS
#include <stdio.h>
int fclose(FILE *stream);
DESCRIPTION
fclose stream fflush(3)
RETURN VALUE
0 EOF errno ( fclose())
ERRORS
EBADF stream
fclose errno close(2), write(2) fflush(3)
NOTES
fclose C sync(2) fsync(2).
CONFORMING TO
fclose ANSI X3.159-1989 (``ANSI C'')
SEE ALSO
close(2), fcloseall(3), fflush(3), fopen(3), setbuf(3)