From 116e13e124d7e080cd4b4ca0edd805a743ccff43 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 14 Mar 2012 14:41:50 +0100 Subject: [PATCH] doc: Avoid \0 in comments. Doxygen treats \0 as a command, spits out a warning and produces no output. --- string.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/string.c b/string.c index a1f2a43c..aa3bcbdd 100644 --- a/string.c +++ b/string.c @@ -128,7 +128,8 @@ __must_check __malloc char *para_strdup(const char *s) * function calls exit() if insufficient memory is available, while vasprintf() * returns -1 in this case. * - * \return Number of bytes written, not including the terminating '\0'. + * \return Number of bytes written, not including the terminating \p NULL + * character. * * \sa printf(3), vsnprintf(3), va_start(3), vasprintf(3), \ref xasprintf(). */ -- 2.39.5