Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/err.h')
-rw-r--r--winsup/cygwin/include/err.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/winsup/cygwin/include/err.h b/winsup/cygwin/include/err.h
new file mode 100644
index 000000000..d1002c527
--- /dev/null
+++ b/winsup/cygwin/include/err.h
@@ -0,0 +1,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 */