From: Andre Noll <maan@systemlinux.org>
Date: Sat, 6 Jul 2013 18:23:04 +0000 (+0200)
Subject: ggo.c: Document return value of printf_or_die().
X-Git-Tag: v0.4.13~9
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=bff0e1a42507311758bc12e73ae0b8d37e01675b;p=paraslash.git

ggo.c: Document return value of printf_or_die().

Commit b59a3c41 (filter: Wrap lines in the available filter list)
changed the return value of this function from void to int but missed
to update the documentation.
---

diff --git a/ggo.c b/ggo.c
index 58d86d07..99171c73 100644
--- a/ggo.c
+++ b/ggo.c
@@ -15,6 +15,9 @@
  * Wrapper for printf() that exits on errors.
  *
  * \param fmt Usual format string.
+ *
+ * \return The return value of the underlying (successful) call to vprintf(3),
+ * i.e. the number of characters printed, excluding the terminating null byte.
  */
 __printf_1_2 int printf_or_die(const char *fmt, ...)
 {