X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Date: Sat, 22 Dec 2012 22:00:11 +0200 From: Eli Zaretskii Subject: Re: Implementation of %n$ conversion specifier for scanf family of functions. In-reply-to: <50D5FEB0.6000000@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp-workers AT delorie DOT com Message-id: <83pq21q2lw.fsf@gnu.org> References: <50D4FBCF DOT 2060706 AT gmx DOT de> <8338yyqyod DOT fsf AT gnu DOT org> <50D5FEB0 DOT 6000000 AT gmx DOT de> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 22 Dec 2012 19:40:48 +0100 > From: Juan Manuel Guerrero > > Keeping the variable name shall make the djgpp description > match the linux scanf man page description and the descriptio given in > That's not Linux docs, that's Posix docs. There's a huge difference. > +@code{%@var{n}$} form. When numbered argument specifications are used, > +specifying the @var{n}th argument requires that all the leading arguments, > +from the first to the (@var{n-1})th, are pointers. This should be (@var{n}-1)th. Only N is a parameter, 1 is not. Thanks.