Fontconfig Developers Reference, Version 2.2.2
Prev |  | Next

# FcStrCopy

## Name

FcStrCopy -- duplicate a string

## Synopsis

    #include <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.

## Version

Fontconfig version 2.2.2

Prev | Home | Next
FcUtf16Len | Up | FcStrCopyFilename