summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.38
-rw-r--r--lib/libc/stdlib/tsearch.36
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index dc3e691ece2..9bd498ab50d 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $
+.\" $OpenBSD: malloc.3,v 1.129 2022/03/31 17:27:16 naddy Exp $
.\"
-.Dd $Mdocdate: April 9 2021 $
+.Dd $Mdocdate: March 31 2022 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -423,7 +423,7 @@ and multiplying
.Fa oldnmemb
and
.Fa size
-results in integer overflow
+results in integer overflow,
.Fn recallocarray
returns
.Dv NULL
@@ -610,7 +610,7 @@ Here is a brief description of the error messages and what they mean:
.It Dq out of memory
If the
.Cm X
-option is specified it is an error for the allocation functions
+option is specified, it is an error for the allocation functions
to return
.Dv NULL .
.It Dq bogus pointer (double free?)
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3
index cd904356148..a7ab9850130 100644
--- a/lib/libc/stdlib/tsearch.3
+++ b/lib/libc/stdlib/tsearch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tsearch.3,v 1.21 2019/01/25 00:19:25 millert Exp $
+.\" $OpenBSD: tsearch.3,v 1.22 2022/03/31 17:27:16 naddy Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <millert@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 25 2019 $
+.Dd $Mdocdate: March 31 2022 $
.Dt TSEARCH 3
.Os
.Sh NAME
@@ -63,7 +63,7 @@ except that if no match is found,
is inserted into the tree and a pointer to it is returned.
If
.Fa rootp
-points to a null value a new binary search tree is created.
+points to a null value, a new binary search tree is created.
.Pp
.Fn tdelete
deletes a node from the specified binary search tree and returns