newlib/winsup/cygwin/include/err.h
Corinna Vinschen 6e623e9320 Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause.

Everything else stays under GPLv3+.

New Linking Exception exempts resulting executables from LGPLv3 section 4.

Add CONTRIBUTORS file to keep track of licensing.

Remove 'Copyright Red Hat Inc' comments.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23 10:09:17 +02:00

32 lines
834 B
C

/* err.h
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, ...) __attribute__ ((__noreturn__));
extern void errx (int eval, const char *fmt, ...) __attribute__ ((__noreturn__));
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) __attribute__ ((__noreturn__));
extern void verrx (int eval, const char *fmt, va_list ap) __attribute__ ((__noreturn__));
__END_DECLS
#endif /* _ERR_H */