7 /* predicate if string is all ASCII
9 /* #include <stringops.h>
11 /* int allascii(buffer)
12 /* const char *buffer;
14 /* allascii() determines if its argument is an all-ASCII 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 /* allascii - return true if string is all ASCII */
41 int allascii(const char *string
)
48 for (cp
= string
; (ch
= *(unsigned char *) cp
) != 0; cp
++)