Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Claim C17 (although I'm unsure), add a note ...
details: https://anonhg.NetBSD.org/src/rev/72368f8bedc4
branches: trunk
changeset: 324950:72368f8bedc4
user: maya <maya%NetBSD.org@localhost>
date: Fri Jul 27 14:34:44 2018 +0000
description:
Claim C17 (although I'm unsure), add a note about C11's requirements.
diffstat:
lib/libc/stdlib/posix_memalign.3 | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r ae27cb532e9c -r 72368f8bedc4 lib/libc/stdlib/posix_memalign.3
--- a/lib/libc/stdlib/posix_memalign.3 Fri Jul 27 14:29:46 2018 +0000
+++ b/lib/libc/stdlib/posix_memalign.3 Fri Jul 27 14:34:44 2018 +0000
@@ -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@localhost>.
.\" All rights reserved.
@@ -137,4 +137,8 @@
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.
Home |
Main Index |
Thread Index |
Old Index