From 3950ffe2a485479f6561c27364d3d7df5a21d124 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 24 Jun 2012 22:28:35 +0000 Subject: Imported Upstream version 93u+ --- src/lib/libast/man/iblocks.3 | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/lib/libast/man/iblocks.3 (limited to 'src/lib/libast/man/iblocks.3') diff --git a/src/lib/libast/man/iblocks.3 b/src/lib/libast/man/iblocks.3 new file mode 100644 index 0000000..0c615f8 --- /dev/null +++ b/src/lib/libast/man/iblocks.3 @@ -0,0 +1,62 @@ +.fp 5 CW +.de Af +.ds ;G \\*(;G\\f\\$1\\$3\\f\\$2 +.if !\\$4 .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" +.. +.de aF +.ie \\$3 .ft \\$1 +.el \{\ +.ds ;G \& +.nr ;G \\n(.f +.Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" +\\*(;G +.ft \\n(;G \} +.. +.de L +.aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" +.. +.de LR +.aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" +.. +.de RL +.aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" +.. +.de EX \" start example +.ta 1i 2i 3i 4i 5i 6i +.PP +.RS +.PD 0 +.ft 5 +.nf +.. +.de EE \" end example +.fi +.ft +.PD +.RE +.PP +.. +.TH IBLOCKS 3 +.SH NAME +iblocks \- compute number file blocks used +.SH SYNOPSIS +.EX +#include + +long _iblocks(struct stat* \fIst\fP); +.EE +.SH DESCRIPTION +.L _iblocks +returns the number of blocks used by the file whose +.IR stat (2) +information is pointed to by +.IR st . +The count includes both data and indirect blocks. +.PP +This routine is used by +.B +on system without the +.LI "struct stat" st_blocks +field. +.SH "SEE ALSO" +ls(1), stat(2) -- cgit v1.2.3