---
name: "config_is_hooked"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/config_is_hooked/3alleg4"
---

# config\_is\_hooked(3alleg4)

Tells if a config section has custom hooks. Allegro game programming library.

## NAME

config\_is\_hooked - Tells if a config section has custom hooks. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int config\_is\_hooked(const char \*section);**

## DESCRIPTION

Returns TRUE if the specified config section has been hooked. Example:

```
   if (config_is_hooked("high_scores")) {
      hook_config_section("high_scores, NULL, NULL, NULL);
   }
```

## SEE ALSO

**hook\_config\_section**(3alleg4)
