uisspace(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– uisspace(3) β€” Allegro manual πŸ’–

✨ NAME ✨

uisspace β€” tells if a character is whitespace. Part of the Allegro game programming library. That's it, bestie. πŸ’…

🌸 SYNOPSIS 🌸

#include <allegro.h>

int uisspace(int c);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so literally, uisspace() returns nonzero if c is whitespace. And what counts as whitespace? carriage return, newline, form feed, tab, vertical tab, or space. That's the whole list. No cap. ✨

Example, because we love a visual:

          for (counter = 0; counter < ustrlen(text_string); counter++) {
             if (uisspace(ugetat(text_string, counter)))
                usetat(text_string, counter, '_');
          }

πŸ‘‘ SEE ALSO πŸ‘‘

Go read those too, bestie. They're iconic. 🫢


πŸ’– Allegro version 4.4.3 β€” uisspace(3), signing off πŸ’–

πŸ“¦ where this page comes from