From patchwork Sat Jun 17 08:42:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rical Jasan X-Patchwork-Id: 21061 Received: (qmail 110769 invoked by alias); 17 Jun 2017 08:42:07 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 110738 invoked by uid 89); 17 Jun 2017 08:42:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=documents X-HELO: smtp.pacific.net From: Rical Jasan To: libc-alpha@sourceware.org Cc: Joseph Myers , Zack Weinberg , Carlos O'Donell , Michael Kerrisk Subject: manual: Update @standards for [__]va_copy. Date: Sat, 17 Jun 2017 01:42:01 -0700 Message-Id: <20170617084202.4662-1-ricaljasan@pacific.net> MIME-Version: 1.0 There is question as to whether __va_copy should be documented in the glibc manual at all. Since users searching for *va_copy are likely to find this manual, and GCC doesn't document either, it is important we continue to provide some kind of reference. stdarg(3) documents va_copy as being introduced in C99. * lang.texi (va_copy): Change standard from ISO to C99. (__va_copy): Add standard and header annotation. --- manual/lang.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/lang.texi b/manual/lang.texi index c4b641d4e1..cf0e4e73cd 100644 --- a/manual/lang.texi +++ b/manual/lang.texi @@ -471,7 +471,8 @@ of the same type. @deftypefn {Macro} void va_copy (va_list @var{dest}, va_list @var{src}) @deftypefnx {Macro} void __va_copy (va_list @var{dest}, va_list @var{src}) -@standardsx{va_copy, ISO, stdarg.h} +@standardsx{va_copy, C99, stdarg.h} +@standardsx{__va_copy, GNU, stdarg.h} @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} @c This is no longer provided by glibc, but rather by the compiler. The @code{va_copy} macro allows copying of objects of type