/usr/include/diet/err.h is in dietlibc-dev 0.33~cvs20120325-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef _ERR_H
#define _ERR_H
#include <sys/cdefs.h>
#include <stdarg.h>
__BEGIN_DECLS
void err(int s, const char *f, ...) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,2,3)));
void errc(int s, int e, const char *f, ...) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,3,4)));
void errx(int s, const char *f, ...) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,2,3)));
void warn(const char *f, ...) __attribute__((__deprecated__,__format__(__printf__,1,2)));
void warnc(int e, const char *f, ...) __attribute__((__deprecated__,__format__(__printf__,2,3)));
void warnx(const char *f, ...) __attribute__((__deprecated__,__format__(__printf__,1,2)));
void verr(int s, const char *f, va_list va) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,2,0)));
void verrc(int s, int e, const char *f, va_list va) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,3,0)));
void verrx(int s, const char *f, va_list va) __attribute__((__deprecated__,__noreturn__,__format__(__printf__,2,0)));
void vwarn(const char *f, va_list va) __attribute__((__deprecated__,__format__(__printf__,1,0)));
void vwarnc(int e, const char *f, va_list va) __attribute__((__deprecated__,__format__(__printf__,2,0)));
void vwarnx(const char *f, va_list va) __attribute__((__deprecated__,__format__(__printf__,1,0)));
__END_DECLS
#endif
|