]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ldns/compat/isascii.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ldns / compat / isascii.c
1 /* Just a replacement, if the original isascii is not
2    present */
3
4 #if HAVE_CONFIG_H
5 #include <ldns/config.h>
6 #endif
7
8 int isascii(int c);
9
10 /* true if character is ascii. */
11 int
12 isascii(int c)
13 {
14         return c >= 0 && c < 128;
15 }