summaryrefslogtreecommitdiff
path: root/mysys/mf_casecnv.c
diff options
context:
space:
mode:
authorpeter@mysql.com <>2002-08-08 19:34:15 +0400
committerpeter@mysql.com <>2002-08-08 19:34:15 +0400
commite33ac1e3bd799e816aff14fe6cbcada561a19a7c (patch)
tree4f7c0907638b41b8f81dbc66a1e4a049454ab2f7 /mysys/mf_casecnv.c
parent2440182b1e042d792dd1baf6bf753c6afefae371 (diff)
downloadmariadb-git-e33ac1e3bd799e816aff14fe6cbcada561a19a7c.tar.gz
Some comments added to function
Diffstat (limited to 'mysys/mf_casecnv.c')
-rw-r--r--mysys/mf_casecnv.c33
1 files changed, 31 insertions, 2 deletions
diff --git a/mysys/mf_casecnv.c b/mysys/mf_casecnv.c
index 1fae3aead32..c037cbd0f16 100644
--- a/mysys/mf_casecnv.c
+++ b/mysys/mf_casecnv.c
@@ -28,7 +28,21 @@
#include <m_string.h>
#endif
- /* string to uppercase */
+/*
+ Upcase string
+
+ SYNOPSIS
+ str IN/OUT String to upcase
+
+ RETURN VALUE
+ none
+ DESCRIPTION
+ Function changes input parameter so all chars it consist from
+ are replaced with matching one in upper case.
+ String should be writable with exception read-only empty string
+ constant is handled correctly.
+*/
+
void caseup_str(my_string str)
{
@@ -52,7 +66,22 @@ void caseup_str(my_string str)
}
} /* caseup_str */
- /* string to lowercase */
+
+/*
+ Downcase string
+
+ SYNOPSIS
+ str IN/OUT String to downcase
+
+ RETURN VALUE
+ none
+ DESCRIPTION
+ Function changes input parameter so all chars it consist from
+ are replaced with matching one in lower case.
+ String should be writable with exception read-only empty string
+ constant is handled correctly.
+*/
+
void casedn_str(my_string str)
{