[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1290567844_20137@mail4.comsite.net>
Date: Tue, 23 Nov 2010 21:04:04 -0600
From: Milton Miller <miltonm@....com>
To: <u.kleine-koenig@...gutronix.de>
Cc: trivial@...nel.org, Steven Rostedt <rostedt@...dmis.org>,
Will Schmidt <will_schmidt@...t.ibm.com>,
Randy Dunlap <rdunlap@...otime.net>
Subject: Re: trivial: make comment about vs{n,cn,}printf more understandable
On Tue, 23 Nov 2010 at about 16:12:45 -0000, Uwe Kleine-König wrote:
>
> "You probably want ... instead." sounds like a recommendation better
> not to use the v... functions.
>
Which is true, if you dont' have a va_list its hard to get them.
But I do get your point.
> * the @buf not including the trailing '\0'. If @size is <= 0 the function
> * returns 0.
> *
> - * Call this function if you are already dealing with a va_list.
> - * You probably want scnprintf() instead.
> + * If you're not already dealing with a va_list better use scnprintf().
That doesn't flow off my (mid-western usa) tounge.
How about
* Call this function if you are already dealing with a va_list.
* Otherwise you probably want to use scnprintf().
Alternatively,
* If you're not already dealing with a va_list consider scnprintf().
Thanks,
milton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists