Searched defs:h_name (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libresolv/
H A Dnetdb.h57 char *h_name; /* official name of host */ member in struct:hostent
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c71 char *cname = NULL, *h_name = NULL; local
178 /* Filter cname that's identical to h_name */
180 h_name = cname;
183 } else if (strcasecmp(cname, h_name) != 0) {
207 /* Skip the canonical name and h_name */
209 strcasecmp(name, h_name) != 0) {
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c657 char *h_name; local
691 h_name = NULL;
728 if (nhosts && strcasestr(instr, h_name) == 0) {
763 (void) memcpy(abuf, h_name, h_namelen);
795 h_name = malloc(namelen + 1);
796 if (h_name == NULL) {
801 (void) memcpy(h_name, namep, namelen);
802 h_name[namelen] = '\0';
888 hp->h_name = hp->h_aliases[0];
903 if (h_name)
[all...]

Completed in 25 milliseconds