Lines Matching refs:domainname
271 char domainname[MAXHOSTNAMELEN + 1]; in host2netname() local
302 if (len >= sizeof (domainname)) { in host2netname()
305 (void) strcpy(domainname, p); in host2netname()
307 domainname[0] = '\0'; in host2netname()
308 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0) in host2netname()
313 if (len >= sizeof (domainname)) { in host2netname()
316 (void) strcpy(domainname, domain); in host2netname()
319 i = strlen(domainname); in host2netname()
323 if (domainname[i - 1] == '.') in host2netname()
324 domainname[i - 1] = 0; in host2netname()
330 if ((strlen(domainname) + strlen(hostname) + OPSYS_LEN + 3) in host2netname()
336 "%s.%s@%s", OPSYS, hostname, domainname); in host2netname()