1ustricmp(3)                     Allegro manual                     ustricmp(3)
2
3
4

NAME

6       ustricmp - Compares two strings ignoring case. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int ustricmp(const char *s1, const char *s2);
14

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

28       uconvert(3),   ustrsize(3),   ustrsizez(3),  ustrnicmp(3),  ustrcmp(3),
29       ustrncmp(3), exconfig(3)
30
31
32
33Allegro                          version 4.2.3                     ustricmp(3)
Impressum