Scroll to navigation

FcStrCopy(3) FcStrCopy(3)

NAME

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.

22 12月 2023 Fontconfig 2.15.0