summaryrefslogtreecommitdiff
path: root/include/vsprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vsprintf.h')
-rw-r--r--include/vsprintf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vsprintf.h b/include/vsprintf.h
index d4bf3211da4..5172ceedec1 100644
--- a/include/vsprintf.h
+++ b/include/vsprintf.h
@@ -98,6 +98,9 @@ long long simple_strtoll(const char *cp, char **endp, unsigned int base);
* Given a string this finds a trailing number on the string and returns it.
* For example, "abc123" would return 123.
*
+ * Note that this does not handle a string without a prefix. See dectoul() for
+ * that case.
+ *
* @str: String to examine
* Return: trailing number if found, else -1
*/