Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Fix manpage due to updated aligned_alloc beh...



details:   https://anonhg.NetBSD.org/src/rev/58a468c62f4d
branches:  trunk
changeset: 846990:58a468c62f4d
user:      nros <nros%NetBSD.org@localhost>
date:      Fri Dec 06 16:19:32 2019 +0000

description:
Fix manpage due to updated aligned_alloc behavior

Since aligned_alloc does not demand that size is to be multiple of alignment
anymore, don't make that claim in the man page.

diffstat:

 lib/libc/stdlib/posix_memalign.3 |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (27 lines):

diff -r fa16897af7ca -r 58a468c62f4d lib/libc/stdlib/posix_memalign.3
--- a/lib/libc/stdlib/posix_memalign.3  Fri Dec 06 16:11:59 2019 +0000
+++ b/lib/libc/stdlib/posix_memalign.3  Fri Dec 06 16:19:32 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: posix_memalign.3,v 1.6 2018/07/27 15:15:30 maya Exp $
+.\"    $NetBSD: posix_memalign.3,v 1.7 2019/12/06 16:19:32 nros Exp $
 .\"
 .\" Copyright (C) 2006 Jason Evans <jasone%FreeBSD.org@localhost>.
 .\" All rights reserved.
@@ -113,17 +113,6 @@
 parameter is not at least as large as
 .Fn sizeof "void *" .
 .El
-.Pp
-The
-.Fn aligned_alloc
-function will also fail if
-.Bl -tag -width Er
-.It Bq Er EINVAL
-The
-.Fa size
-parameter is not an integer multiple of
-.Fa alignment .
-.El
 .Sh SEE ALSO
 .Xr free 3 ,
 .Xr malloc 3 ,



Home | Main Index | Thread Index | Old Index