From e83bdb8edcd9388f13b71372b277fdcce386a9b0 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 30 Oct 2014 21:47:47 +0000 Subject: clean up verbiage around the calculations; ok ingo jmc otto --- src/lib/libc/stdlib/malloc.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 8ae3ba20e6..3ce9d2e28c 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.84 2014/10/30 20:43:35 millert Exp $ +.\" $OpenBSD: malloc.3,v 1.85 2014/10/30 21:47:47 deraadt Exp $ .\" .Dd $Mdocdate: October 30 2014 $ .Dt MALLOC 3 @@ -62,8 +62,8 @@ .Sh DESCRIPTION The .Fn malloc -function allocates uninitialized space for an object whose -size is specified by +function allocates uninitialized space for an object of +the specified .Fa size . .Fn malloc maintains multiple lists of free blocks according to size, allocating @@ -78,7 +78,7 @@ The .Fn calloc function allocates space for an array of .Fa nmemb -objects, each of whose size is +objects, each of the specified .Fa size . The space is initialized to zero. .Pp @@ -114,7 +114,7 @@ except it operates on .Fa nmemb members of size .Fa size -and checks for integer overflow in +and checks for integer overflow in the calculation .Fa nmemb * .Fa size . -- cgit v1.2.3-55-g6feb