diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-29 16:08:56 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-29 16:08:56 +0000 |
commit | a8d24b6330f4e9dea2af4dd4739ab2cefa8ce755 (patch) | |
tree | ba298f3eb43da551e2d92cd07fafea03ee072104 /lib/libc/gen/getbsize.3 | |
parent | 71ac002b27dc0a8cf837935798598632b828b6a7 (diff) |
repairs
Diffstat (limited to 'lib/libc/gen/getbsize.3')
-rw-r--r-- | lib/libc/gen/getbsize.3 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/libc/gen/getbsize.3 b/lib/libc/gen/getbsize.3 index 2f15b02daeb..aefa6a120c6 100644 --- a/lib/libc/gen/getbsize.3 +++ b/lib/libc/gen/getbsize.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getbsize.3,v 1.3 1999/05/23 14:10:59 aaron Exp $ +.\" $OpenBSD: getbsize.3,v 1.4 1999/05/29 16:08:55 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,25 +43,28 @@ .Fn getbsize "int *headerlenp" "long *blocksizep" .Sh DESCRIPTION The -.Nm getbsize +.Fn getbsize function determines the user's preferred block size based on the value of the -.Dq BLOCKSIZE +.Ev BLOCKSIZE environment variable; see .Xr environ 7 for details on its use and format. .Pp The -.Nm getbsize -function returns a pointer to a null-terminated string describing +.Fn getbsize +function returns a pointer to a +.Dv NULL Ns -terminated +string describing the block size, something like -.Dq 1K-blocks . +.Qq 1K-blocks . The memory referenced by .Fa headerlenp is filled in with the length of the string (not including the -terminating null). +terminating +.Dv NULL ) . The memory referenced by .Fa blocksizep -is filled in with block size, in bytes. +is filled in with the block size, in bytes. .Pp If the user's block size is unreasonable, a warning message is written to standard error and the returned information reflects |