FcStrDirname(3)

directory part of filename

Section 3 libfontconfig-doc bookworm source

Description

FcStrDirname

NAME

FcStrDirname - directory part of filename

SYNOPSIS

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrDirname (const FcChar8 *file);

DESCRIPTION

Returns the directory containing file. This is returned in newly allocated storage which should be freed when no longer needed.