iblocks(3)

iblocks3

Compute number file blocks used

Usage

#include <ls.h>
long     _iblocks(struct stat* st);

Overview

$1$2_iblocks_iblocks_iblocks_iblocks_iblocks_iblocks_iblocks_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.

This routine is used by <ls.h> on system without the field.

Releases

Unchanged in 135 releases since Mac OS X 10.4.

  1. 10.4–26.5

From ksh 42 in macOS 26.5. Parsed by carta from the page's man source.