Lines Matching refs:domainname
254 * arguments defined below: (domainname=y.z)
273 char domainname[MAXHOSTNAMELEN + 1];
304 if (len >= sizeof (domainname)) {
307 (void) strcpy(domainname, p);
309 domainname[0] = NULL;
310 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0)
315 if (len >= sizeof (domainname)) {
318 (void) strcpy(domainname, domain);
321 i = strlen(domainname);
323 /* No domainname */
325 if (domainname[i - 1] == '.')
326 domainname[i - 1] = 0;
332 if ((strlen(domainname) + strlen(hostname) + OPSYS_LEN + 3)
338 "%s.%s@%s", OPSYS, hostname, domainname);