From 319a897014101bcf7c9c0d17164cc676565d1193 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 10 May 2021 19:30:38 -0400 Subject: [PATCH 1/1] toupperw: add note about freeing return value --- man/toupperw.3.scd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/toupperw.3.scd b/man/toupperw.3.scd index 28090da..55fd5a8 100644 --- a/man/toupperw.3.scd +++ b/man/toupperw.3.scd @@ -16,7 +16,8 @@ Like ctype.h's toupper() and tolower(), except that it can take full strings instead of just single characters. # RETURN VALUE -A pointer to the converted string. +A pointer to the converted string. This string is allocated with calloc(3), so +be sure to free(3) it! # SEE ALSO toupper(3), tolower(3) -- 2.39.2