*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: fclose | Section: 3 | Source: UNIX v7 | File: fclose.3s
FCLOSE(3S) FCLOSE(3S) NAME fclose, fflush - close or flush a stream SYNOPSIS #include <stdio.h> fclose(stream) FILE *stream; fflush(stream) FILE *stream; DESCRIPTION Fclose causes any buffers for the named stream to be emptied, and the file to be closed. Buffers allocated by the standard input/output sys- tem are freed. Fclose is performed automatically upon calling exit(2). Fflush causes any buffered data for the named output stream to be writ- ten to that file. The stream remains open. SEE ALSO close(2), fopen(3), setbuf(3) DIAGNOSTICS These routines return EOF if stream is not associated with an output file, or if buffered data cannot be transferred to that file. FCLOSE(3S)

Navigation Options