Searched refs:numserv (Results 1 – 2 of 2) sorted by relevance
117 char numserv[512]; local147 sprintf(numserv, "%d", ntohs(port));148 if (strlen(numserv) > servlen)150 strcpy(serv, numserv);
187 char numserv[512]; in getnameinfo_inet() local242 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet()243 if (strlen(numserv) + 1 > servlen) in getnameinfo_inet()245 strlcpy(serv, numserv, servlen); in getnameinfo_inet()