[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240209083330.391a773e@hermes.local>
Date: Fri, 9 Feb 2024 08:33:30 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Denis Kirjanov <kirjanov@...il.com>
Cc: dsahern@...nel.org, netdev@...r.kernel.org, Denis Kirjanov
<dkirjanov@...e.de>
Subject: Re: [PATCH iproute2 1/2] lib: utils: introduce scnprintf
On Fri, 9 Feb 2024 04:36:18 -0500
Denis Kirjanov <kirjanov@...il.com> wrote:
> The function is similar to the standard snprintf but
> returns the number of characters actually written to @buf
> argument excluding the trailing '\0'
>
> Signed-off-by: Denis Kirjanov <dkirjanov@...e.de>
> ---
I don't understand, why not use snprintf in ifstat?
None of the cases in patch 2 care about the return value length.
Powered by blists - more mailing lists