Scroll to navigation

uisspace(3alleg4) Allegro manual uisspace(3alleg4)

NAME

uisspace - Tells if a character is whitespace. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int uisspace(int c);

DESCRIPTION

Returns nonzero if `c' is whitespace, that is, carriage return, newline, form feed, tab, vertical tab, or space. Example:

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

SEE ALSO

uisdigit(3alleg4), ugetc(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4)
version 4.4.2 Allegro