Searched defs:sbuf (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/dns/resolv/
H A Dres_init.c354 char sbuf[NI_MAXSERV]; local
367 sprintf(sbuf, "%u", NAMESERVER_PORT);
368 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
H A Dres_send.c1277 char sbuf[NI_MAXSERV]; local
1281 sbuf, sizeof(sbuf), niflags)) {
1284 strncpy(sbuf, "?", sizeof(sbuf) - 1);
1285 sbuf[sizeof(sbuf) - 1] = '\0';
1288 string, hbuf, sbuf, strerror(error));
H A Dres_cache.c1936 char sbuf[NI_MAXSERV]; local
1957 snprintf(sbuf, sizeof(sbuf), "%u", NAMESERVER_PORT);
1961 rt = getaddrinfo(servers[i], sbuf, &hints, &cache_info->nsaddrinfo[index]);

Completed in 53 milliseconds