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