xref: /titanic_41/usr/src/lib/libast/common/man/iblocks.3 (revision b3697b90e692e3e5d859fb77d285d4c056d99eda)
.fp 5 CW .. .nr ;G \\n(.f .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" \\*(;G .. .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" ..

0

..

..

IBLOCKS 3
NAME
iblocks - compute number file blocks used
SYNOPSIS
.EX #include <ls.h> long _iblocks(struct stat* st);
DESCRIPTION
.L _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 .LI "struct stat" st_blocks field.

"SEE ALSO"
ls(1), stat(2)