From: Alejandro Colomar Date: Wed, 13 May 2026 13:00:50 +0000 (+0200) Subject: lib/string/README: Document stprintf(,0,) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fshadow.git lib/string/README: Document stprintf(,0,) Signed-off-by: Alejandro Colomar --- diff --git a/lib/string/README b/lib/string/README index 02b4bdc00..d36388f69 100644 --- a/lib/string/README +++ b/lib/string/README @@ -217,6 +217,8 @@ sprintf/ - Formatted string creation snprintf(3) wrapper that reports truncation with -1. If you need more than one call to form a string, use seprintf() instead. + If the size is 0, the behavior is undefined; currently, we + abort(3). stprintf_a() Like stprintf(), but takes an array.