FcStrListFirst(3)

✨ FcStrListFirst(3) ✨

okay so bestie, welcome to FcStrListFirst β€” it's a lil function from the fontconfig manual (like, section 3 of the man pages, iykyk) and honestly? it's giving "small but mighty" πŸ’…


🌸 NAME 🌸

FcStrListFirst β€” get the first string in an iteration πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <fontconfig/fontconfig.h>

void FcStrListFirst (FcStrList *list);

That's it. That's the whole vibe. No sneaky extra args, no return value, just a pointer to a FcStrList and off you go ✨


πŸ’– DESCRIPTION πŸ’–

Returns the first string in list.

Literally that's the whole thing, no cap 😭 β€” you hand it your FcStrList and it gives you back the first string in the sequence so you can start iterating from the top like a main character πŸ‘‘

Think of it as the "rewind to track one" button for your string list. 🎡


⭐ SINCE ⭐

available since version 2.11.0 🫢 (yes, it's been iconic for a while now)


ngl this one's short and sweet β€” but fr fr, remember it's void, so don't go trying to catch a return value, there isn't one πŸ™ˆ

and that's the page!! slay πŸ’œ this little writeup came to you from Fontconfig 2.17.0, dated 27 June 2025 β€” go forth and iterate, bestie 🧚🌸

πŸ“¦ where this page comes from