mtext_casecmp(3m17n)
π mtext_casecmp β the m17n library's chill, case-blind comparison π
okay bestie, welcome to mtext_casecmp(3m17n), a page from The m17n Library manual. yes it's a real manual page, yes it's 3m17n, yes we're doing this together π«Ά
β¨ SYNOPSIS β¨
int mtext_casecmp (MText * mt1, MText * mt2)
like. that's it. two M-Texts walk into a function and we find out which one is bigger. iconic behavior honestly πΈ
πΈ DESCRIPTION πΈ
so the whole vibe of mtext_casecmp() is: compare two M-texts while ignoring cases. that's the job. that's the entire job.
she's basically mtext_cmp()'s cooler twin β literally the same energy, same comparison, except she does NOT care about case when she compares. capital A, lowercase a, doesn't matter, she's not looking π ngl that's main character energy fr fr.
π RETURN VALUE π
she gives you back exactly one of three little numbers, and each one is a whole mood:
1βmt1is greater thanmt2π0β they're equal β¨ (the best outcome, obviously)-1βmt1is less thanmt2π₯²
so like: greater β1, equal β0, less β-1. that's the order. don't get it twisted bestie π
π¦ SEE ALSO π¦
the whole friend group, go say hi:
mtext_cmp()mtext_ncmp()mtext_ncasecmp()mtext_compare()mtext_case_compare()
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
and that's the page, bestie!! π this was Version 1.8.4, dated Mon Sep 25 2023, straight from the mtext_casecmp(3m17n) corner of the m17n manual. go forth and compare case-insensitively, you absolute legend ππ
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms