FcStrCopy - duplicate a string

NAME  SYNOPSIS  DESCRIPTION 

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.


Updated 2024-01-29 - jenkler.se | uex.se