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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms