Searched refs:snamebuf (Results 1 – 1 of 1) sorted by relevance
255 char hnamebuf[MAXHOSTNAMELEN], snamebuf[MAXHOSTNAMELEN]; in ping() local600 (void)strncpy(snamebuf, hp->h_name, in ping()601 sizeof(snamebuf) - 1); in ping()602 snamebuf[sizeof(snamebuf) - 1] = '\0'; in ping()603 shostname = snamebuf; in ping()