Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 59203 invoked from network); 12 Jan 2006 18:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jan 2006 18:03:12 -0000 Received: (qmail 34409 invoked by uid 500); 12 Jan 2006 18:03:12 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 34391 invoked by uid 500); 12 Jan 2006 18:03:11 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 34380 invoked by uid 500); 12 Jan 2006 18:03:11 -0000 Delivered-To: apmail-incubator-stdcxx-cvs@incubator.apache.org Received: (qmail 34377 invoked by uid 99); 12 Jan 2006 18:03:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 10:03:11 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 12 Jan 2006 10:03:11 -0800 Received: (qmail 58964 invoked by uid 65534); 12 Jan 2006 18:02:50 -0000 Message-ID: <20060112180250.58961.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r368429 - /incubator/stdcxx/trunk/tests/include/printf.h Date: Thu, 12 Jan 2006 18:02:50 -0000 To: stdcxx-cvs@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Thu Jan 12 10:02:41 2006 New Revision: 368429 URL: http://svn.apache.org/viewcvs?rev=368429&view=rev Log: 2006-01-12 Martin Sebor * printf.h (%Ac, %K): Documented. Modified: incubator/stdcxx/trunk/tests/include/printf.h Modified: incubator/stdcxx/trunk/tests/include/printf.h URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/include/printf.h?rev=368429&r1=368428&r2=368429&view=diff ============================================================================== --- incubator/stdcxx/trunk/tests/include/printf.h (original) +++ incubator/stdcxx/trunk/tests/include/printf.h Thu Jan 12 10:02:41 2006 @@ -2,7 +2,7 @@ * * printf.h - declarations of the rw_printf family of functions * - * $Id:$ + * $Id$ * ************************************************************************ * @@ -127,22 +127,30 @@ * %{?} if clause (extracts an int) * %{:} else clause * %{;} end of if/else clause + * + * %{Ac} quoted array of narrow characters + * %{*Ac} quoted array of characters of width '*' each + * where '*' is an int argument extracted from + * the argument list * %{#s} quoted narrow character string * %{#ls} quoted wide character string * %{$envvar} value of an environment variable envvar * %{f} function pointer + * %{K} signal name (such as "SIGABRT") * %{M} member pointer - * %{#m} name of the errno constant (such as EINVAL) + * %{#m} name of the errno constant (such as "EINVAL") * %{n} buffer size * %{S} pointer to std::string * %{lS} pointer to std::wstring * %{tm} pointer to struct tm - * %{InJ} where n is one of { 8, 16, 32, 64 } and J { d, o, x, X } + * %{InJ} where n is one of { 8, 16, 32, 64 } + * and J is one of { d, o, x, X } * * @return On success, returns the number of characters formatted into * the buffer, otherwise -1. */ _TEST_EXPORT int rw_asnprintf (char** pbuf, _RWSTD_SIZE_T *pbufsize, const char *fmt, ...); + #endif // RW_PRINTF_H_INCLUDED