Return to getaddrinfo.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / net |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.43, 2000/07/05 12:41:16 | version 1.44, 2000/07/07 08:03:38 | ||
---|---|---|---|
|
|
||
str_isnumber(p) | str_isnumber(p) | ||
const char *p; | const char *p; | ||
{ | { | ||
const char *q = (const char *)p; | const u_char *q = (const u_char *)p; | ||
while (*q) { | while (*q) { | ||
if (!isdigit(*q)) | if (!isdigit(*q)) | ||
return NO; | return NO; |