Module Name:    src
Committed By:   nros
Date:           Fri Dec  6 16:19:32 UTC 2019

Modified Files:
        src/lib/libc/stdlib: posix_memalign.3

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/stdlib/posix_memalign.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/posix_memalign.3
diff -u src/lib/libc/stdlib/posix_memalign.3:1.6 src/lib/libc/stdlib/posix_memalign.3:1.7
--- src/lib/libc/stdlib/posix_memalign.3:1.6	Fri Jul 27 15:15:30 2018
+++ src/lib/libc/stdlib/posix_memalign.3	Fri Dec  6 16:19:32 2019
@@ -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 <[email protected]>.
 .\" All rights reserved.
@@ -113,17 +113,6 @@ The
 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 ,

Reply via email to