Searched refs:hostbuf (Results 1 – 3 of 3) sorted by relevance
21 char hostbuf[8*1024]; member
210 bp = rs->hostbuf; in getanswer()211 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()410 if (bp + n >= &rs->hostbuf[sizeof rs->hostbuf]) { in getanswer()578 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()579 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()580 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal()581 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal()582 rs->host.h_name = rs->hostbuf; in gethostbyname_internal()612 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()613 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()[all …]
1058 char hostbuf[8*1024]; in getanswer() local1084 bp = hostbuf; in getanswer()1085 ep = hostbuf + sizeof hostbuf; in getanswer()1407 char hostbuf[8*1024]; in _gethtent() local1416 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()