Lines Matching refs:errh
221 log_buffer_prepare (const log_error_st * const errh, in __attribute_nonnull__()
227 if (errh->mode != FDLOG_SYSLOG) { /*(syslog() generates its own timestamp)*/ in __attribute_nonnull__()
228 if (-1 == errh->fd) return NULL; in __attribute_nonnull__()
238 log_error_write (const log_error_st * const errh, buffer * const restrict b) in __attribute_nonnull__()
240 if (errh->mode != FDLOG_SYSLOG) { /* FDLOG_FD FDLOG_FILE FDLOG_PIPE */ in __attribute_nonnull__()
242 write_all(errh->fd, BUF_PTR_LEN(b)); in __attribute_nonnull__()
263 log_error_va_list_impl (const log_error_st *errh, in log_error_va_list_impl() argument
271 if (NULL == errh) errh = log_errh; in log_error_va_list_impl()
272 buffer * const restrict b = log_buffer_prepare(errh, filename, line); in log_error_va_list_impl()
279 log_error_write(errh, b); in log_error_va_list_impl()
287 log_error(log_error_st * const errh, in log_error() argument
293 log_error_va_list_impl(errh, filename, line, fmt, ap, 0); in log_error()
299 log_perror (log_error_st * const errh, in log_perror() argument
305 log_error_va_list_impl(errh, filename, line, fmt, ap, 1); in log_perror()
311 log_error_multiline (log_error_st *errh, in log_error_multiline() argument
322 if (NULL == errh) errh = log_errh; in log_error_multiline()
323 buffer * const restrict b = log_buffer_prepare(errh, filename, line); in log_error_multiline()
342 log_error_write(errh, b); in log_error_multiline()
351 log_set_global_errh (log_error_st * const errh, const int ts_high_precision) in log_set_global_errh() argument
361 return (log_errh = errh ? errh : &log_stderrh); in log_set_global_errh()