Lines Matching refs:emsg
84 log_warn(const char *emsg, ...) in log_warn() argument
90 if (emsg == NULL) in log_warn()
93 va_start(ap, emsg); in log_warn()
95 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) { in log_warn()
97 vlog(LOG_ERR, emsg, ap); in log_warn()
108 log_warnx(const char *emsg, ...) in log_warnx() argument
112 va_start(ap, emsg); in log_warnx()
113 vlog(LOG_ERR, emsg, ap); in log_warnx()
118 log_info(const char *emsg, ...) in log_info() argument
122 va_start(ap, emsg); in log_info()
123 vlog(LOG_INFO, emsg, ap); in log_info()
128 log_debug(const char *emsg, ...) in log_debug() argument
133 va_start(ap, emsg); in log_debug()
134 vlog(LOG_DEBUG, emsg, ap); in log_debug()
140 fatal(const char *emsg) in fatal() argument
142 if (emsg == NULL) in fatal()
148 log_procname, emsg, strerror(errno)); in fatal()
151 log_procname, emsg); in fatal()
157 fatalx(const char *emsg) in fatalx() argument
160 fatal(emsg); in fatalx()