Debian Codegraph @

usr/lib/common/aix/err.h

raw symbols SCIP
1 /*
2 * Implementation of the err/errx/verr/verrx/warn/warnx/vwarn/vwarnx
3 * functions from BSD.
4 *
5 * This file is public-domain; anyone may deal in it without restriction.
6 *
7 * Written by Graue <[email protected]> on January 16, 2006.
8 */
9
10 #if defined(__WIN32) || defined(_AIX)
11 #define NEED_ERR
12 #endif
13
14 #ifndef NEED_ERR
15 #include <err.h> /* system version of this file */
16 #else
17
18 #ifndef _ERR_H
19 #define _ERR_H
20
21 #include <stdarg.h>
22
23 void err (int eval, const char *fmt, ...);
24 void errx (int eval, const char *fmt, ...);
25 void verr (int eval, const char *fmt, va_list args);
26 void verrx (int eval, const char *fmt, va_list args);
27
28 void warn ( const char *fmt, ...);
29 void warnx( const char *fmt, ...);
30 void vwarn ( const char *fmt, va_list args);
31 void vwarnx( const char *fmt, va_list args);
32
33 #endif
34
35 #endif