FcStrCmp(3)
β¨ FcStrCmp(3) β¨
okay so bestie, welcome to FcStrCmp β a page from the fontconfig manual, section 3, and honestly? it's giving "short and iconic." she does one thing and she does it well π
π NAME π
FcStrCmp β compare UTF-8 strings
like, literally just compares two strings. that's the whole gig. no cap π«Ά
πΈ SYNOPSIS πΈ
#include <fontconfig/fontconfig.h>
int FcStrCmp (const FcChar8 *s1, const FcChar8 *s2);
you gotta pull in <fontconfig/fontconfig.h> first β that's the assignment, don't skip it π₯ then call FcStrCmp with your two const FcChar8 * args, s1 and s2, and she hands you back an int. yes queen, signature copied exactly, we respect the source π
π¦ DESCRIPTION π¦
so here's the tea β: FcStrCmp returns the usual <0, 0, >0 result of comparing s1 and s2.
that's it. that's the entire paragraph. the way that fontconfig said "we're not elaborating" and then didn't elaborate π
but iykyk what <0, 0, and >0 are doing here β it's the classic three-way comparison vibe check. one of those three results comes back at you, and that's the whole personality. periodt β¨
ngl, she's a small function with main character energy. treat her right, pass her the right pointers, and she'll slay every time π
π little sign-off π
this page came from Fontconfig 2.17.0, dated 27 June 2025 β so like, mark your calendar bestie, that's the version and the date, mwah πππ
π¦ where this page comes from
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms