Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2011 11:14:42 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r220381 - stable/7/lib/libutil
Message-ID:  <201104061114.p36BEgGs086502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb (doc committer)
Date: Wed Apr  6 11:14:42 2011
New Revision: 220381
URL: http://svn.freebsd.org/changeset/base/220381

Log:
  MFC 219850:
  s/buffer/buf as is used in the code.

Modified:
  stable/7/lib/libutil/humanize_number.3
Directory Properties:
  stable/7/lib/libutil/   (props changed)

Modified: stable/7/lib/libutil/humanize_number.3
==============================================================================
--- stable/7/lib/libutil/humanize_number.3	Wed Apr  6 11:13:55 2011	(r220380)
+++ stable/7/lib/libutil/humanize_number.3	Wed Apr  6 11:14:42 2011	(r220381)
@@ -56,12 +56,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.
@@ -69,7 +69,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.
@@ -98,7 +98,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).
@@ -139,7 +139,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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104061114.p36BEgGs086502>