al_add_config_comment(3)

al_add_config_comment3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_add_config_comment(ALLEGRO_CONFIG *config,
   const char *section, const char *comment)

Overview

Add a comment in a section of a configuration. If the section doesn’t yet exist, it will be created. The section can be NULL or “” for the global section.

The comment may or may not begin with a hash character. Any newlines in the comment string will be replaced by space characters.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.