diff options
author | Glen Barber <gjb@FreeBSD.org> | 2011-03-21 23:59:20 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2011-03-21 23:59:20 +0000 |
commit | 5f2e9efbf964b12318d6e4e803fa4b0456310ec6 (patch) | |
tree | 69961d998df2299191b47bb9a3ff00f7d1079b58 /lib/libutil | |
parent | 3b1f0b5d11df6702fec056d62660553f1145adf4 (diff) | |
download | src-5f2e9efbf964b12318d6e4e803fa4b0456310ec6.tar.gz src-5f2e9efbf964b12318d6e4e803fa4b0456310ec6.zip |
s/buffer/buf as is used in the code.
Submitted by: arundel (via doc@)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=219850
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/humanize_number.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libutil/humanize_number.3 b/lib/libutil/humanize_number.3 index a4c31408fcff..82925ba4f29a 100644 --- a/lib/libutil/humanize_number.3 +++ b/lib/libutil/humanize_number.3 @@ -49,12 +49,12 @@ The function formats the signed 64-bit quantity given in .Fa number into -.Fa buffer . +.Fa buf . A space and then .Fa suffix is appended to the end. The buffer pointed to by -.Fa buffer +.Fa buf must be at least .Fa len bytes long. @@ -62,7 +62,7 @@ bytes long. If the formatted number (including .Fa suffix ) would be too long to fit into -.Fa buffer , +.Fa buf , then divide .Fa number by 1024 until it will. @@ -91,7 +91,7 @@ The argument must be at least 4 plus the length of .Fa suffix , in order to ensure a useful result is generated into -.Fa buffer . +.Fa buf . To use a specific prefix, specify this as .Fa scale (multiplier = 1024 ^ scale). @@ -132,7 +132,7 @@ with 1000 instead of 1024. The .Fn humanize_number function returns the number of characters stored in -.Fa buffer +.Fa buf (excluding the terminating .Dv NUL ) upon success, or \-1 upon failure. |