FcStrCopy man page

FcStrCopy — duplicate a string

Synopsis

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrCopy (const FcChar8 *s);

Description

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

Info

31 5月 2017 Fontconfig 2.12.3