From bff0e1a42507311758bc12e73ae0b8d37e01675b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Jul 2013 20:23:04 +0200 Subject: [PATCH] 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. --- ggo.c | 3 +++ 1 file changed, 3 insertions(+) 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, ...) { -- 2.39.5