mirror of
https://github.com/siemens-mobile-hacks/sdk.git
synced 2026-11-25 22:27:39 +00:00
27 lines
1.4 KiB
C
27 lines
1.4 KiB
C
#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
|