summaryrefslogtreecommitdiff
path: root/lib/errs.h
blob: 7961880dce5418635d66f34a33cc3ccdf67bb3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _ERR_H_
#define	_ERR_H_

#include <stdarg.h>

void	err_nomsg (int);
void	err (int, const char *, ...);
void	verr (int, const char *, va_list);
void	errx (int, const char *, ...);
void	verrx (int, const char *, va_list);
void	warn (const char *, ...);
void	vwarn (const char *, va_list);
void	warnx (const char *, ...);
void	vwarnx (const char *, va_list);

#endif /* !_ERR_H_ */