Lines Matching defs:hostname
258 * - - unix.m@y.z (hostname=m)
259 * - a.b unix.m@a.b (hostname=m)
260 * - - unix.m@y.z (hostname=m.w.x)
261 * - a.b unix.m@a.b (hostname=m.w.x)
272 char hostname[MAXHOSTNAMELEN + 1];
281 (void) strncpy(hostname, nis_local_host(), sizeof (hostname));
282 p = (char *)strchr(hostname, '.');
292 if (len >= sizeof (hostname)) {
295 (void) strcpy(hostname, host);
298 dot_in_host = (char *)strchr(hostname, '.');
302 p = (char *)nis_domain_of(hostname);
332 if ((strlen(domainname) + strlen(hostname) + OPSYS_LEN + 3)
338 "%s.%s@%s", OPSYS, hostname, domainname);