empty_string man page

empty_string — Universal string NULL terminator. Allegro game programming library.


#include <allegro.h>

extern char empty_string[];


You can't just rely on "" to be a valid empty string in any encoding format. This global buffer contains a number of consecutive zeros, so it will be a valid empty string no matter whether the program is running in ASCII, Unicode, or UTF-8 mode.

Referenced By

get_datafile_property(3), ustrsize(3), ustrsizez(3).

Explore man page connections for empty_string(3).

Allegro version 4.4.2 Allegro manual