---
name: "FcStrCmp"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcStrCmp"
---

# FcStrCmp(3)

compare UTF-8 strings

## NAME

FcStrCmp - compare UTF-8 strings

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**int FcStrCmp (const FcChar8 \****s1***, const FcChar8 \****s2***);**

## DESCRIPTION

Returns the usual \<0, 0, \>0 result of comparing *s1* and *s2*.
