make getservby*_r return error code rather than -1 (and using errno)
[musl] / src / ctype / isdigit.c
1 #include <ctype.h>
2 #undef isdigit
3
4 int isdigit(int c)
5 {
6         return (unsigned)c-'0' < 10;
7 }