7 /* predicate if string is all numerical
9 /* #include <stringops.h>
12 /* const char *string;
14 /* alldig() determines if its argument is an all-numerical string.
16 /* An alldig() routine appears in Brian W. Kernighan, P.J. Plauger:
17 /* "Software Tools", Addison-Wesley 1976.
21 /* The Secure Mailer license must be distributed with this software.
24 /* IBM T.J. Watson Research
26 /* Yorktown Heights, NY 10598, USA
34 /* Utility library. */
36 #include <stringops.h>
38 /* alldig - return true if string is all digits */
40 int alldig(const char *string
)
46 for (cp
= string
; *cp
!= 0; cp
++)