---
name: "FcNameConstant"
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/FcNameConstant"
---

# FcNameConstant(3)

Get the value for a symbolic constant

## NAME

FcNameConstant - Get the value for a symbolic constant

## SYNOPSIS

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

**FcBool FcNameConstant (FcChar8 \****string***, int \****result***);**

## DESCRIPTION

Returns whether a symbolic constant with name *string* is registered, placing the value of the constant in *result* if present.
