summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authormaya <maya@NetBSD.org>2018-07-27 14:34:44 +0000
committermaya <maya@NetBSD.org>2018-07-27 14:34:44 +0000
commit3588c3d2adbfc7dd9e8c32be22444ddca79b0ebe (patch)
tree35f86cf0bcc51b5c9c76ee3ee7fce10c5dcc4e8a /lib/libc/stdlib
parent71c5e5753a42223b6f1f7e7e48ce8c0b47374f1b (diff)
Claim C17 (although I'm unsure), add a note about C11's requirements.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/posix_memalign.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/stdlib/posix_memalign.3 b/lib/libc/stdlib/posix_memalign.3
index 7fc39fddda4..fc87c5b0acf 100644
--- a/lib/libc/stdlib/posix_memalign.3
+++ b/lib/libc/stdlib/posix_memalign.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_memalign.3,v 1.4 2018/07/27 13:08:47 maya Exp $
+.\" $NetBSD: posix_memalign.3,v 1.5 2018/07/27 14:34:44 maya Exp $
.\"
.\" Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
.\" All rights reserved.
@@ -137,4 +137,8 @@ function conforms to
The
.Fn aligned_alloc
function conforms to
-.St -isoC-2011 .
+.St -isoC-2017 .
+.Sh HISTORY
+.St -isoC-2011
+required size to be an integer multiple of alignment.
+This requirement was removed in later standards.