From 9ddc65812d3ddc2054823e084d0f148246a87b0e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 29 Aug 2015 23:29:45 +0200 Subject: m err.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/err.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') diff --git a/src/err.c b/src/err.c index c0e2e3f..f92dd60 100644 --- a/src/err.c +++ b/src/err.c @@ -25,6 +25,8 @@ * Print a warning to stderr, followed by a description * of the value of `errno`. * + * This is a non-standard BSD extension. + * * @param format Formatting-string for the warning. * @param ... Formatting-arguments. */ @@ -41,6 +43,8 @@ void warn(const char* format, ...) * Print a warning to stderr, followed by a description * of the value of `errno`. * + * This is a non-standard BSD extension. + * * @param format Formatting-string for the warning. * @param args Formatting-arguments. */ @@ -54,6 +58,8 @@ void vwarn(const char* format, va_list args) * Print a warning to stderr, but do not print a * description of the value of `errno`. * + * This is a non-standard BSD extension. + * * @param format Formatting-string for the warning. * @param ... Formatting-arguments. */ @@ -70,6 +76,8 @@ void warnx(const char* format, ...) * Print a warning to stderr, but do not print a * description of the value of `errno`. * + * This is a non-standard BSD extension. + * * @param format Formatting-string for the warning. * @param args Formatting-arguments. */ @@ -83,6 +91,8 @@ void vwarnx(const char* format, va_list args) * Print an error message to stderr, followed by a * description of the value of `errno`. Then exit the process. * + * This is a non-standard BSD extension. + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param ... Formatting-arguments. @@ -100,6 +110,8 @@ void err(int status, const char* format, ...) * Print an error message to stderr, followed by a * description of the value of `errno`. Then exit the process. * + * This is a non-standard BSD extension. + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param args Formatting-arguments. @@ -114,6 +126,8 @@ void verr(int status, const char* format, va_list args) * Print an error message to stderr, but do not print a * description of the value of `errno`. Then exit the process. * + * This is a non-standard BSD extension. + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param ... Formatting-arguments. @@ -131,6 +145,8 @@ void errx(int status, const char* format, ...) * Print an error message to stderr, but do not print a * description of the value of `errno`. Then exit the process. * + * This is a non-standard BSD extension. + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param args Formatting-arguments. -- cgit v1.2.3-70-g09d2