Searched refs:snamebuf (Results 1 – 1 of 1) sorted by relevance
232 char hnamebuf[MAXHOSTNAMELEN], snamebuf[MAXHOSTNAMELEN]; in ping() local583 (void)strncpy(snamebuf, hp->h_name, in ping()584 sizeof(snamebuf) - 1); in ping()585 snamebuf[sizeof(snamebuf) - 1] = '\0'; in ping()586 shostname = snamebuf; in ping()