FcStrStr(3)
π¦ NAME π¦
okay bestie, welcome to the FcStrStr(3) page β and it's literally serving one job: locate a UTF-8 substring. FcStrStr does exactly what it says on the tin. π
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
FcChar8 * FcStrStr (const FcChar8 *s1, const FcChar8 *s2);
π DESCRIPTION π
So you pass in s1 and s2, and FcStrStr returns the location of s2 in s1. Slay. β¨
If s2 is not present in s1, it returns NULL. No cap. π
And the cute part? This test will operate properly with UTF8 encoded strings. Periodt. π«Ά
xoxo, your fontconfig bestie π β this page is from Fontconfig 2.17.0, dated 27 June 2025 π
π¦ where this page comes from
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms