SysTutorials

Linux Manual Pages › Section 3

fcstrcmpignorecase(3)

FcStrCmpIgnoreCase – compare UTF-8 strings ignoring case

Synopsis

#include <fontconfig/fontconfig.h>

int FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);

Description

Returns the usual <0, 0, >0 result of comparing s1 and s2. This test is case-insensitive for all proper UTF-8 encoded strings.