FcStrSetAdd(3)
π FcStrSetAdd(3) β the one where we add a string to a set π
okay so real talk, this is the FcStrSetAdd(3) page from the fontconfig manual, and honestly? it's a short one. like, blink-and-you-miss-it short. but we're gonna give it the full main-character treatment anyway because that's just who we are π
β¨ NAME β¨
FcStrSetAdd β add to a string set π¦
like yes bestie, that's the whole name section. it adds. to a string set. we love a function that knows exactly what it is π
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
FcBool FcStrSetAdd (FcStrSet *set, const FcChar8 *s);
so you pull in fontconfig/fontconfig.h first β non-negotiable, that's the door to the whole party πͺβ¨ β and then the signature itself hands you back an FcBool and takes two things: a FcStrSet *set and a const FcChar8 *s. that's the whole vibe check right there πΈ
β¨ DESCRIPTION β¨
okay so here's the tea β: FcStrSetAdd adds a copy of s to set. that's it. that's the entire description, no cap π
and the "a copy" part is lowkey the important bit β it's a copy of s that goes into the set, so the set gets its own version, bestie, not just a pointer situation π the original manpage keeps it that brief, so i'm keeping it that brief too. we respect the source π«Ά
ngl this page is a short king π β no OPTIONS, no ENVIRONMENT VARIABLES, no exit statuses, no SEE ALSO, nothing to scroll through. sometimes a manual page is just five lines and a dream π
and that's the whole thing! page FcStrSetAdd(3) from Fontconfig 2.17.0, dated 27 June 2025 β mwah, go forth and add your strings to your sets, it's giving iconic behavior π
β¨π
π¦ 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