]> Gentwo Git Trees - linux/.git/commit
lib/vsprintf: Improve vsprintf + sprintf function comments
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 3 Nov 2025 09:09:13 +0000 (10:09 +0100)
committerPetr Mladek <pmladek@suse.com>
Mon, 3 Nov 2025 17:39:29 +0000 (18:39 +0100)
commit2e448748146dd37b178925f17d3c1f47298a7542
tree57694a1466f55a1f529d0019045b4e8108034626
parent67e1b0052f6bb82be84e30a5af7d27f29533a83b
lib/vsprintf: Improve vsprintf + sprintf function comments

Clarify that the return values of vsprintf() and sprintf() exclude the
trailing NUL character.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251103090913.2066-2-thorsten.blum@linux.dev
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/vsprintf.c