FcStrDirname(3)
π
FcStrDirname(3) β the FcStrDirname manual, bestie β¨
π NAME π
FcStrDirname β directory part of filename
πΈ SYNOPSIS πΈ
#include <fontconfig/fontconfig.h>
FcChar8 * FcStrDirname (const FcChar8 *file);
π¦ DESCRIPTION π¦
Okay so FcStrDirname returns the directory containing file. Iconic. It hands you that directory in newly allocated storage, which you should free when you no longer need it β yes, bestie, that means you gotta clean up after yourself π
no cap: the storage is newly allocated, so donβt just leave it hanging around forever π«Ά
mwah π β Fontconfig 2.17.0, 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