234: if (sp) {
235: if (strlen(sp->s_name) + 1 > servlen)
236: return EAI_MEMORY;
239: snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
240: if (strlen(numserv) + 1 > servlen)
241: return EAI_MEMORY;
316: return EAI_SYSTEM;
317: numaddrlen = strlen(numaddr);
318: if (numaddrlen + 1 > hostlen) /* don't forget terminator */
338: #endif
339: if (strlen(hp->h_name) + 1 > hostlen) {
340: return EAI_MEMORY;
388:
389: numaddrlen = strlen(numaddr);
390: if (numaddrlen + 1 > hostlen) /* don't forget terminator */
447: if (p) {
448: return(strlen(p));
449: }