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