blkcnt_t(3type)
π blkcnt_t β the manual page, but make it group chat π
okay bestie so you opened blkcnt_t(3type) and it's literally one of the shortest little guys in the whole Linux man-pages family, but we are still giving it main character energy, periodt. this is the story of a type. a whole type. a signed integer type that counts file blocks. iconic. let's go β¨
πΈ NAME πΈ
blkcnt_t β file block counts π
π LIBRARY π
Standard C library (libc) π«Ά
β¨ SYNOPSIS β¨
#include <sys/types.h>
typedef /* ... */ blkcnt_t;
so yeah, you include <sys/types.h> and boom, blkcnt_t is just there, vibing, being a typedef whose actual guts are /* ... */ because honestly we don't need to see them, the manpage said no cap π
π¦ DESCRIPTION π¦
okay so here's the tea: blkcnt_t is used for file block counts. that's its whole job. that's its whole personality. it's a signed integer type, which means it can go negative β she contains multitudes π
π STANDARDS π
POSIX.1-2024. that's it, that's the standard, she's certified π―
π§ HISTORY π§
SUSv2, POSIX.1-2001. so she's been around. she's a legacy icon. we stan an OG π
π NOTES π
not me finding out there's a second header serving this exact same type π«’ the following header also provides blkcnt_t: <sys/stat.h>. so if you already pulled that one in, congrats bestie, you're covered π
β SEE ALSO β
stat(3type)β go read her sister's page next, it's giving lore π
and that's the whole thing! tiny page, big vibes, every flag and fact accounted for, no skips, no shortcuts π₯
<cute sign-off>this was brought to you by Linux man-pages 6.20, dated 2026-02-08 β mwah, love you, bye ππ</cute sign-off>
π¦ 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