mirror of
git://git.musl-libc.org/musl
synced 2024-11-27 12:04:14 +08:00
695a04fc25
not sure why this was missed in the earlier commit.
26 lines
472 B
C
26 lines
472 B
C
#ifndef _ERR_H
|
|
#define _ERR_H
|
|
|
|
#include <features.h>
|
|
#include <stdarg.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void warn(const char *, ...);
|
|
void vwarn(const char *, va_list);
|
|
void warnx(const char *, ...);
|
|
void vwarnx(const char *, va_list);
|
|
|
|
_Noreturn void err(int, const char *, ...);
|
|
_Noreturn void verr(int, const char *, va_list);
|
|
_Noreturn void errx(int, const char *, ...);
|
|
_Noreturn void verrx(int, const char *, va_list);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|