xt_strblank(3)

NAME
xt_strblank() - Return true is a string is empty or only whitespace

LIBRARY
#include <xtend/string.h>
-lxtend

SYNOPSIS
int     xt_strblank(const char *string)

ARGUMENTS
string: A null-terminated string

DESCRIPTION
xt_strblank() returns true if the null-terminated string contains only whitespace or nothing at all. It is the null-terminated string equivalent of isblank(3), which tests a single character.

RETURN VALUES
true is string contains only whitespace, or nothing false if any non-whitespace characters are present

SEE ALSO
isblank(3)