Searched refs:hostbuf (Results 1 – 3 of 3) sorted by relevance
21 char hostbuf[8*1024]; member
211 bp = rs->hostbuf; in getanswer()212 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()411 if (bp + n >= &rs->hostbuf[sizeof rs->hostbuf]) { in getanswer()579 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()580 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()581 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal()582 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal()583 rs->host.h_name = rs->hostbuf; in gethostbyname_internal()613 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()614 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()[all …]
1314 char hostbuf[8*1024]; in getanswer() local1340 bp = hostbuf; in getanswer()1341 ep = hostbuf + sizeof hostbuf; in getanswer()2034 char hostbuf[8*1024]; in _gethtent() local2043 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()