ustricmp(3)
πΈ NAME πΈ
okay bestie, welcome to ustricmp(3) from the Allegro manual! This one is a function that compares two strings while ignoring case. It's part of the Allegro game programming library. No cap. π«Ά
β¨ SYNOPSIS β¨
#include <allegro.h>
int ustricmp(const char *s1, const char *s2);
π DESCRIPTION π
So like, ustricmp takes s1 and s2 and compares them, but it does not care about case. Uppercase? Lowercase? Same vibe. It's giving equality, but make it fashion. Example:
if (ustricmp(string, user_input) == 0) {
/* string and user_input are equal (ignoring case) */
}
π¦ RETURN VALUE π¦
- If the strings are equal? Returns zero. Slay.
- If
s1comes afters2in the ASCII collating sequence? Returns a positive number. - Otherwise? Returns a negative number.
π SEE ALSO π
And that's the whole page, bestie! This was ustricmp(3) from the Allegro manual, version 4.4.3. Stay iconic. π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms