1al_ustr_size_utf16(3) al_ustr_size_utf16(3)
23
4
NAME
6al_ustr_size_utf16 - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
size_t al_ustr_size_utf16(const ALLEGRO_USTR *us)
12
DESCRIPTION
14Returns the number of bytes required to encode the string in UTF-16
15(including the terminating 0). Usually called before al_ustr_en‐
16code_utf16(3) to determine the size of the buffer to allocate.
17
SEE ALSO
19al_ustr_size(3)
2021
22
23
Allegro reference manual al_ustr_size_utf16(3)