Lines Matching refs:hostname
77 static char hostname[MAXHOSTNAMELEN + 1];
238 len = snprintf(NULL, 0, subj_fmt, hostname,
242 (void) snprintf(subj, len + 1, subj_fmt, hostname,
246 len = snprintf(NULL, 0, subj_fmt, hostname, ev_info->ei_fmri,
250 (void) snprintf(subj, len + 1, subj_fmt, hostname,
255 len = snprintf(NULL, 0, subj_fmt, hostname);
258 (void) snprintf(subj, len + 1, subj_fmt, hostname);
266 * hostname
283 hostname, XHDR_CLASS, ev_info->ei_class, XHDR_UUID,
292 XHDR_HOSTNAME, hostname, XHDR_CLASS, ev_info->ei_class,
299 "Subject: %s\n\n", XHDR_HOSTNAME, hostname, XHDR_CLASS,
310 "Subject: %s\n\n", XHDR_HOSTNAME, hostname, XHDR_CLASS,
319 hostname, XHDR_CLASS, ev_info->ei_class, XHDR_MSGID,
327 XHDR_HOSTNAME, hostname, XHDR_CLASS, ev_info->ei_class,
624 len = snprintf(NULL, 0, body_fmt, hostname, tstamp,
630 (void) snprintf(body, len, body_fmt, hostname, tstamp,
641 len = snprintf(NULL, 0, body_fmt, hostname, tstamp, class);
644 (void) snprintf(body, len, body_fmt, hostname, tstamp, class);
876 (void) gethostname(hostname, MAXHOSTNAMELEN + 1);