| 1 |
.\" Copyright 2020, Michael Kerrisk <[email protected]> |
| 2 |
.\" Copyright, the authors of the Linux man-pages project |
| 3 |
.\" |
| 4 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 5 |
.\" |
| 6 |
.TH FILE 3type 2026-02-08 "Linux man-pages 6.18" |
| 7 |
.SH NAME |
| 8 |
FILE \- input/output stream |
| 9 |
.SH LIBRARY |
| 10 |
Standard C library |
| 11 |
.RI ( libc ) |
| 12 |
.SH SYNOPSIS |
| 13 |
.nf |
| 14 |
.B #include <stdio.h> |
| 15 |
.P |
| 16 |
.BR typedef " /* ... */ " FILE; |
| 17 |
.fi |
| 18 |
.SH DESCRIPTION |
| 19 |
An object type used for streams. |
| 20 |
.SH STANDARDS |
| 21 |
C11, POSIX.1-2024. |
| 22 |
.SH HISTORY |
| 23 |
C89, |
| 24 |
POSIX.1-1988. |
| 25 |
.SH NOTES |
| 26 |
The following header also provides this type: |
| 27 |
.IR <wchar.h> . |
| 28 |
.SH SEE ALSO |
| 29 |
.BR fclose (3), |
| 30 |
.BR flockfile (3), |
| 31 |
.BR fopen (3), |
| 32 |
.BR fprintf (3), |
| 33 |
.BR fread (3), |
| 34 |
.BR fscanf (3), |
| 35 |
.BR stdin (3), |
| 36 |
.BR stdio (3) |