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