FcStrCopy

Section: (3)
Updated: 18 November 2009
Index Return to Main Contents
 

NAME

FcStrCopy - duplicate a string  

SYNOPSIS

#include <fontconfig.h>

FcChar8 * FcStrCopy(const FcChar8 *s);
.fi
 

DESCRIPTION

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

VERSION

Fontconfig version 2.8.0