FcCacheDir

3 Fontconfig &version;

FcCacheDir

Return directory of `cache`

    #include <fontconfig/fontconfig.h>

    	    const FcChar8 * FcCacheDir
    		const FcCache *cache

## Description

This function returns the directory from which the cache was constructed.

FcCacheCopySet

3 Fontconfig &version;

FcCacheCopySet

Returns a copy of the fontset from `cache`

    #include <fontconfig/fontconfig.h>

    	    FcFontSet * FcCacheCopySet
    		const FcCache *cache

## Description

The returned fontset contains each of the font patterns from `cache`. This fontset may be modified, but the patterns from the cache are read-only.

FcCacheSubdir

3 Fontconfig &version;

FcCacheSubdir

Return the `i`'th subdirectory.

    #include <fontconfig/fontconfig.h>

    	    const FcChar8 * FcCacheSubdir
    		const FcCache *cache
    		inti

## Description

The set of subdirectories stored in a cache file are indexed by this function, `i` should range from 0 to `n`-1, where `n` is the return value from FcCacheNumSubdir.

FcCacheNumSubdir

3 Fontconfig &version;

FcCacheNumSubdir

Return the number of subdirectories in `cache`.

    #include <fontconfig/fontconfig.h>

    	    int FcCacheNumSubdir
    		const FcCache *cache

## Description

This returns the total number of subdirectories in the cache.

FcCacheNumFont

3 Fontconfig &version;

FcCacheNumFont

Returns the number of fonts in `cache`.

    #include <fontconfig/fontconfig.h>

    	    int FcCacheNumFont
    		const FcCache *cache

## Description

This returns the number of fonts which would be included in the return from FcCacheCopySet.

FcDirCacheClean

3 Fontconfig &version;

FcDirCacheClean

This tries to clean up the cache directory of `cache_dir`. This returns FcTrue if the operation is successfully complete. otherwise FcFalse.

    #include <fontconfig/fontconfig.h>

    	    FcBool FcDirCacheClean
    		const FcChar8 *cache_dir
    		FcBoolverbose

## Description

## Since

version 2.9.91

FcCacheCreateTagFile

3 Fontconfig &version;

FcCacheCreateTagFile

Create CACHEDIR.TAG at cache directory.

    #include <fontconfig/fontconfig.h>

    	    void FcCacheCreateTagFile
    		const FcConfig *config

## Description

This tries to create CACHEDIR.TAG file at the cache directory registered to `config`.

## Since

version 2.9.91