FcStrCopy(3) FcStrCopy(3)

FcStrCopy - duplicate a string

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrCopy (const FcChar8 *s);

Allocates memory, copies s and returns the resulting buffer. Yes, this is strdup, but that function isn't available on every platform.

21 October 2022 Fontconfig 2.14.1