FcStrCopy(3)

🌸 NAME 🌸

FcStrCopy β€” duplicate a string πŸ’…βœ¨

Okay so bestie, this is the manual page for FcStrCopy(3), and its whole personality is literally duplicating a string. Tiny function, main character energy 🫢.


✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrCopy (const FcChar8 *s);

πŸ¦‹ DESCRIPTION πŸ¦‹

It allocates memory, copies s, and returns the resulting buffer. That’s the whole serve, no cap πŸ’….

Yes, this is strdup, but that function isn’t available on every platform. So fontconfig said β€œfine, I’ll do it myself,” and honestly? Iconic πŸ‘‘.


mwah πŸ’‹ β€” this cutie page is from Fontconfig 2.17.0, dated 27 June 2025. Bye bestie, go copy that string πŸŽ€πŸ«Ά
πŸ“¦ where this page comes from