FILE(3type)
β¨ FILE(3type) β¨
okay so bestie, gather round, because today we're talking about FILE β the input/output stream type β and honestly? she's the blueprint π
π NAME π
FILE β the input/output stream, aka the moment your program decides it wants to talk to literally anything π«Ά
π LIBRARY π
Standard C library (libc) β she's been here since forever, no cap.
πΈ SYNOPSIS πΈ
#include <stdio.h>
typedef /* ... */ FILE;
btw that /* ... */ is doing so much heavy lifting. the internals are not your business, bestie, that's the whole point of her. mystery is her brand π§
π DESCRIPTION π
okay so. FILE is an object type used for streams. that's it. that's the whole description. she's the type you hold onto when you're reading from or writing to a stream β files, terminals, pipes, whatever β and you never ever peek inside her. icon behaviour honestly π
π STANDARDS π
C11POSIX.1-2024
so like, standards-approved across the board, periodt β¨
π¦ HISTORY π¦
C89POSIX.1-1988
she's lowkey a legacy icon. been slaying since C89, fr fr π
π NOTES π
heads up bestie β this header ALSO gives you this type: <wchar.h> π
(the way that <stdio.h> gets all the clout and <wchar.h> is just standing there holding the same type like π β anyway now you know, iykyk)
π₯ SEE ALSO π₯
and that's the vibe check!! this came to you courtesy of Linux man-pages 6.20, dated 2026-02-08 β go forth and stream responsibly, love u, bye ππβ
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- Copyright 2020, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms