Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | FCLOSE |
2 | !!!FCLOSE | ||
3 | NAME | ||
4 | SYNOPSIS | ||
5 | DESCRIPTION | ||
6 | RETURN VALUE | ||
7 | SEE ALSO | ||
8 | CONFORMING TO | ||
9 | ---- | ||
10 | !!NAME | ||
11 | |||
12 | |||
13 | fcloseall - close all open streams | ||
14 | !!SYNOPSIS | ||
15 | |||
16 | |||
17 | __#define _GNU_SOURCE__ | ||
18 | |||
19 | |||
20 | __#include __ | ||
21 | |||
22 | |||
23 | __int fcloseall(void);__ | ||
24 | !!DESCRIPTION | ||
25 | |||
26 | |||
27 | The __fcloseall__ function dissociates all open streams | ||
28 | from its underlying file or set of functions. Any buffered | ||
29 | output data is written first, using fflush(3). Note | ||
30 | that the standard streams (stdin, stdout and stderr) are | ||
31 | also closed. | ||
32 | !!RETURN VALUE | ||
33 | |||
34 | |||
35 | This function always returns 0. | ||
36 | !!SEE ALSO | ||
37 | |||
38 | |||
39 | fclose(3), close(2), fflush(3), | ||
40 | fopen(3), setbuf(3) | ||
41 | !!CONFORMING TO | ||
42 | |||
43 | |||
44 | The __fcloseall__ function is a GNU | ||
45 | extension. | ||
46 | ---- |