---
name: "FcConfigGetWarningFlags"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcConfigGetWarningFlags"
---

# FcConfigGetWarningFlags(3)

Retrieve the enabled warning flags

## NAME

FcConfigGetWarningFlags - Retrieve the enabled warning flags

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**int FcConfigGetWarningFlags (FcConfig \****config***);**

## DESCRIPTION

Returns a bitmask of the currently enabled warning flags. Each bit in the returned integer correeesponds to a different warning type defined by FC\_WARN\_\* macros. If *config* is NULL, the warning flags for the current configuration are returned.
