]> git.armaanb.net Git - libacheam.git/commitdiff
toupperw: add note about freeing return value
authorArmaan Bhojwani <me@armaanb.net>
Mon, 10 May 2021 23:30:38 +0000 (19:30 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 10 May 2021 23:30:38 +0000 (19:30 -0400)
man/toupperw.3.scd

index 28090da8e67e24418fd4a17ca1d30222c1171484..55fd5a87b984ac1a4beebdd0e86f080026e8b621 100644 (file)
@@ -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)