logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_ustr_to_buffer - Allegro 5 API

Description

       Write the contents of the string into a pre-allocated buffer of the given size in bytes.  The result will
       always be NUL terminated, so a maximum of size - 1 bytes will be copied.

Name

       al_ustr_to_buffer - Allegro 5 API

See Also

al_cstr(3alleg5), al_cstr_dup(3alleg5)

Allegro reference manual                                                              al_ustr_to_buffer(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              void al_ustr_to_buffer(const ALLEGRO_USTR *us, char *buffer, int size)

See Also