FcAtomicDestroy(3)

πŸ’… FcAtomicDestroy(3) πŸ’…

okay so bestie, we're in the Fontconfig manual, section 3, and today's main character is FcAtomicDestroy β€” literally the function that yeets an FcAtomic object out of existence. no cap. ✨


πŸŽ€ NAME πŸŽ€

FcAtomicDestroy β€” destroy an FcAtomic object πŸ’€

like, it's giving cleanup era. the object had its moment, slayed its little atomic file-rename arc, and now it's time to say bye 🫢


🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

void FcAtomicDestroy (FcAtomic *atomic);

so first you gotta pull in the header (mandatory bestie, it's the whole vibe check for the types):

#include <fontconfig/fontconfig.h>

and then the actual function signature, which returns nothing (void, iconic, no receipts) and takes exactly one argument:

  • FcAtomic *atomic β€” a pointer to the FcAtomic you're about to send to the shadow realm πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

it destroys atomic. that's it. that's the whole thing. πŸ’…

no return value, no error code, no drama β€” you hand it your FcAtomic *atomic and it's gone. lowkey the most straightforward function in the whole library. not me being obsessed with how uncomplicated this is 😭

fr fr though β€” it destroys atomic, so don't go touching that pointer afterward. it's not coming back. πŸ™ˆ

🧚 bye bestie 🧚

this little icon of a page came to you from Fontconfig 2.17.0, dated 27 June 2025 β€” keep those receipts, they're literally part of the lore πŸ’–πŸŒˆβ­

xoxo, go destroy your atomics responsibly πŸ’œ

πŸ“¦ where this page comes from