xref: /titanic_50/usr/src/lib/libast/common/man/iblocks.3 (revision c869993e79c1eafbec61a56bf6cea848fe754c71)
.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)