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