Searched refs:snamebuf (Results 1 – 1 of 1) sorted by relevance
220 char hnamebuf[MAXHOSTNAMELEN], snamebuf[MAXHOSTNAMELEN]; in ping() local571 (void)strncpy(snamebuf, hp->h_name, in ping()572 sizeof(snamebuf) - 1); in ping()573 snamebuf[sizeof(snamebuf) - 1] = '\0'; in ping()574 shostname = snamebuf; in ping()