Linux Manuals · Linux Manuals session 3 FcStrCopy (3) Linux Manual Page ByLinux Manual Posted onApr 20, 2026 FcStrCopy – duplicate a string Synopsis#include <fontconfig/fontconfig.h> FcChar8 * FcStrCopy (const FcChar8 *s); DescriptionAllocates memory, copies s and returns the resulting buffer. Yes, this is strdup, but that function isn’t available on every platform.