aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/err.h
blob: d1002c527151f88d32ad81350e5e6f7f3ce1e336 (plain)
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
28
29
30
31
32
33
/* err.h

   Copyright 2003 Red Hat, Inc.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#ifndef _ERR_H
#define _ERR_H

#include <sys/cdefs.h>
#include <stdarg.h>

__BEGIN_DECLS

extern void warn (const char *fmt, ...);
extern void warnx (const char *fmt, ...);

extern void err (int eval, const char *fmt, ...);
extern void errx (int eval, const char *fmt, ...);

extern void vwarn (const char *fmt, va_list ap);
extern void vwarnx (const char *fmt, va_list ap);

extern void verr (int eval, const char *fmt, va_list ap);
extern void verrx (int eval, const char *fmt, va_list ap);

__END_DECLS

#endif /* _ERR_H */