]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/string/README: Document stprintf(,0,) master
authorAlejandro Colomar <alx@kernel.org>
Wed, 13 May 2026 13:00:50 +0000 (15:00 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Fri, 15 May 2026 10:06:49 +0000 (12:06 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/string/README

index 02b4bdc00c7c58eb334825f62b86cfa048f4a8dd..d36388f6941fd603ff7d7d45dd57333dd9f0d19e 100644 (file)
@@ -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.