1ustricmp(3) Allegro manual ustricmp(3)
2
3
4
6 ustricmp - Compares two strings ignoring case. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 int ustricmp(const char *s1, const char *s2);
14
16 This function compares `s1' and `s2', ignoring case. Example:
17
18 if (ustricmp(string, user_input) == 0) {
19 /* string and user_input are equal (ignoring case) */
20 }
21
23 Returns zero if the strings are equal, a positive number if `s1' comes
24 after `s2' in the ASCII collating sequence, else a negative number.
25
26
28 uconvert(3), ustrsize(3), ustrsizez(3), ustrnicmp(3), ustrcmp(3),
29 ustrncmp(3), exconfig(3)
30
31
32
33Allegro version 4.2.2 ustricmp(3)