Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/gen/getbsize.3
Show All 39 Lines | |||||
.In stdlib.h | .In stdlib.h | ||||
.Ft char * | .Ft char * | ||||
.Fn getbsize "int *headerlenp" "long *blocksizep" | .Fn getbsize "int *headerlenp" "long *blocksizep" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Fn getbsize | .Fn getbsize | ||||
function returns a preferred block size for reporting by system utilities | function returns a preferred block size for reporting by system utilities | ||||
.Xr df 1 , | .Xr df 1 , | ||||
.Xr du 1 , | .Xr du 1 | ||||
.Xr ls 1 | |||||
and | and | ||||
.Xr systat 1 , | .Xr ls 1 , | ||||
based on the value of the | based on the value of the | ||||
.Ev BLOCKSIZE | .Ev BLOCKSIZE | ||||
environment variable. | environment variable. | ||||
.Ev BLOCKSIZE | .Ev BLOCKSIZE | ||||
may be specified directly in bytes, or in multiples of a kilobyte by | may be specified directly in bytes, or in multiples of a kilobyte by | ||||
specifying a number followed by ``K'' or ``k'', in multiples of a | specifying a number followed by ``K'' or ``k'', in multiples of a | ||||
megabyte by specifying a number followed by ``M'' or ``m'' or in | megabyte by specifying a number followed by ``M'' or ``m'' or in | ||||
multiples of a gigabyte by specifying a number followed by ``G'' or | multiples of a gigabyte by specifying a number followed by ``G'' or | ||||
Show All 36 Lines |