Fix major copy/paste and other style errors.

This commit is contained in:
Sergey Kandaurov 2015-05-05 10:44:17 +00:00
parent 53ee135632
commit 3ef1b3b535
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282472

View File

@ -1,6 +1,5 @@
.\"
.\" Copyright (c) 1980, 1991, 1993
.\">----The Regents of the University of California. All rights reserved.
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the American National Standards Committee X3, on Information
@ -44,6 +43,9 @@
.Sh DESCRIPTION
The
.Fn reallocarray
function is similar to the
.Fn realloc
function
except it operates on
.Fa nmemb
members of size
@ -53,8 +55,9 @@ and checks for integer overflow in the calculation
*
.Fa size .
.Sh RETURN VALUES
The
.Fn reallocarray
return a pointer to the allocated space; otherwise, a
function returns a pointer to the allocated space; otherwise, a
.Dv NULL
pointer is returned and
.Va errno
@ -132,6 +135,8 @@ if ((newp = reallocarray(p, num, size)) == NULL) {
.Xr realloc 3
.Sh HISTORY
The
.Fn reallocf
.Fn reallocarray
function first appeared in
.Ox 5.6 .
.Ox 5.6
and
.Fx 11.0 .