Searched refs:hbuf (Results 1 - 5 of 5) sorted by relevance

/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c1139 char hbuf[NI_MAXHOST]; local
1145 if (getnameinfo(address, alen, hbuf,
1146 (socklen_t)sizeof(hbuf), sbuf, (socklen_t)sizeof(sbuf),
1148 strncpy(hbuf, "?", sizeof(hbuf) - 1);
1149 hbuf[sizeof(hbuf) - 1] = '\0';
1154 string, hbuf, sbuf, strerror(error));
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetnameinfo.c384 char hbuf[4096]; local
387 hbuf, sizeof(hbuf), &he);
H A Dgethnamaddr.c570 char hbuf[MAXHOSTNAMELEN]; local
605 hbuf, sizeof(hbuf))))
/haiku/src/bin/network/telnet/
H A Dcommands.c1665 char hbuf[256+1];
1668 gethostname(hbuf, 256);
1669 hbuf[256] = '\0';
1670 cp = (char *)malloc(strlen(hbuf) + strlen(cp2) + 1);
1671 sprintf((char *)cp, "%s%s", hbuf, cp2);
1657 char hbuf[256+1]; local
/haiku/src/bin/network/ping/
H A Dping6.c2751 char hbuf[NI_MAXHOST]; local
2759 if (l > 63 || l > sizeof(hbuf) - 1)
2761 strncpy(hbuf, name, l);
2762 hbuf[(int)l] = '\0';
2795 if (inet_ntop(AF_INET6, &in6, hbuf, sizeof(hbuf)) == NULL)
2798 return strdup(hbuf);

Completed in 191 milliseconds