diff options
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1528,6 +1528,16 @@ val chr_isxdigit(val ch) return c_true(iswxdigit(c_chr(ch))); } +val chr_toupper(val ch) +{ + return chr(towupper(c_chr(ch))); +} + +val chr_tolower(val ch) +{ + return chr(towlower(c_chr(ch))); +} + val chr_str(val str, val index) { bug_unless (length_str_gt(str, index)); |