Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib reallocarray.3: minor grammar and style tweaks
details: https://anonhg.NetBSD.org/src/rev/f8d067712537
branches: trunk
changeset: 372435:f8d067712537
user: gutteridge <gutteridge%NetBSD.org@localhost>
date: Sun Nov 27 20:17:20 2022 +0000
description:
reallocarray.3: minor grammar and style tweaks
diffstat:
lib/libc/stdlib/reallocarray.3 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r 9939ca24e8e4 -r f8d067712537 lib/libc/stdlib/reallocarray.3
--- a/lib/libc/stdlib/reallocarray.3 Sun Nov 27 14:54:25 2022 +0000
+++ b/lib/libc/stdlib/reallocarray.3 Sun Nov 27 20:17:20 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: reallocarray.3,v 1.5 2022/10/28 09:43:59 wiz Exp $
+.\" $NetBSD: reallocarray.3,v 1.6 2022/11/27 20:17:20 gutteridge Exp $
.\"
.\" Copyright (c) 2015 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -104,19 +104,19 @@
and
.Fa size .
.Pp
-There are still portability issues (it does not solve
-the
+There are still portability issues.
+(It does not solve the
.Dv 0
sized allocation return ambiguity in the C standard: does
.Fn reallocarray
return
.Dv NULL
-or a unique pointer to memory that cannot be accessed? Does a
+or a unique pointer to memory that cannot be accessed?
+Does a
.Dv NULL
mean that an error occurred, and can someone check
.Dv errno
-in that case to find out what happened?).
-.Pp
+in that case to find out what happened?)
For this reason
.Nx
decided to go with an alternative implementation, and created
Home |
Main Index |
Thread Index |
Old Index