Searched defs:syslog_msgfd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c77 static int syslog_msgfd = -1; /* sysmsg(7D) file descriptor */ variable
79 static int syslog_cons; /* log to syslog_msgfd */
172 if (syslog_cons && write(syslog_msgfd, dat.buf, dat.len) != dat.len) {
352 if ((syslog_msgfd = open("/dev/sysmsg", O_WRONLY | O_NOCTTY)) == -1)
422 (void) close(syslog_msgfd);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c239 static int syslog_msgfd = -1; /* sysmsg(7D) file descriptor */ variable
241 static int syslog_cons = 0; /* log to syslog_msgfd */
1397 if (write(syslog_msgfd, dat.buf, dat.len) != dat.len) {
3824 if (syslog_cons && (syslog_msgfd = open("/dev/sysmsg",
4234 if (syslog_msgfd != -1) {
4235 (void) close(syslog_msgfd);

Completed in 187 milliseconds