Home
last modified time | relevance | path

Searched refs:portstr (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/nscd/
Dnscd_getserv_r.c52 char portstr[3 * sizeof (int) + 2]; in __nscd_getservbyport_r() local
53 portstr[sizeof (portstr) - 1] = '\0'; in __nscd_getservbyport_r()
54 char *cp = _itoa_word (port, portstr + sizeof (portstr) - 1, 10, 0); in __nscd_getservbyport_r()
56 return nscd_getserv_r (cp, portstr + sizeof (portstr) - 1 - cp, proto, in __nscd_getservbyport_r()
/glibc-2.36/hesiod/nss_hesiod/
Dhesiod-service.c141 char portstr[6]; /* Port numbers are restricted to 16 bits. */ in _nss_hesiod_getservbyport_r() local
143 snprintf (portstr, sizeof portstr, "%d", ntohs (port)); in _nss_hesiod_getservbyport_r()
145 return lookup (portstr, "port", protocol, serv, buffer, buflen, errnop); in _nss_hesiod_getservbyport_r()
/glibc-2.36/posix/
Dtst-getaddrinfo2.c13 const char portstr[] = "583"; in do_test() local
14 int port = atoi (portstr); in do_test()
21 rv = getaddrinfo (NULL, portstr, &hints, &aires); in do_test()
/glibc-2.36/ChangeLog.old/
DChangeLog.176609 instead of portstr to nscd_getserv_r. Patch by