7 /* predicate if string is all space
9 /* #include <stringops.h>
11 /* int allspace(buffer)
12 /* const char *buffer;
14 /* allspace() determines if its argument is an all-space string.
18 /* The null-terminated input string.
22 /* The Secure Mailer license must be distributed with this software.
25 /* IBM T.J. Watson Research
27 /* Yorktown Heights, NY 10598, USA
35 /* Utility library. */
37 #include "stringops.h"
39 /* allspace - return true if string is all space */
41 int allspace(const char *string
)
48 for (cp
= string
; (ch
= *(unsigned char *) cp
) != 0; cp
++)
49 if (!ISASCII(ch
) || !ISSPACE(ch
))