IBLOCKS(3)

πŸ“¦ version 93vu, in opensuse-leap 16.0

okay so bestie, welcome to IBLOCKS(3) β€” the page for iblocks from the Library Functions Manual πŸ’…βœ¨

πŸ’– NAME πŸ’–

iblocks β€” compute number file blocks used πŸŽ€

🌸 SYNOPSIS 🌸

first, the include, bestie:

#include <ls.h>

then the function signature, exactly like this:

long     _iblocks(struct stat* st);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so _iblocks returns the number of blocks used by the file whose stat(2) information is pointed to by st ✨ the count includes both data and indirect blocks, no cap 🫢

this routine is used by <ls.h> on system without the struct statst_blocks field πŸ’‘ iykyk.

πŸŽ€ SEE ALSO πŸŽ€


that’s the whole thing, bestie β€” page IBLOCKS(3) from the Library Functions Manual, with no date printed on the footer, so this is your cute little sign-off instead πŸ’…πŸ’– mwah!

πŸ“¦ where this page comes from