Searched refs:logfd (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sbin/shutdown/
H A Dshutdown.c517 int logfd; local
525 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC,
527 (void)write(logfd, NOMSG, sizeof(NOMSG) - 1);
529 (void)write(logfd, ct + 11, 5);
530 (void)write(logfd, "\n\n", 2);
531 (void)write(logfd, mbuf, strlen(mbuf));
532 (void)close(logfd);
/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_logging.c635 * Parameter 'logfd' is a file handle referencing an open file in the
640 pmclog_configure_log(struct pmc_mdep *md, struct pmc_owner *po, int logfd) argument
647 PMCDBG2(LOG,CFG,1, "config po=%p logfd=%d", po, logfd);
660 error = fget_write(curthread, logfd,

Completed in 68 milliseconds