From 4132a111276f4410b7326559d8235df652b0560b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Nov 2015 23:38:02 +0100 Subject: etymology for some functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/err.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/err.h') diff --git a/include/err.h b/include/err.h index a603cbb..63dcdda 100644 --- a/include/err.h +++ b/include/err.h @@ -37,6 +37,8 @@ * * This is a non-standard BSD extension. * + * @etymology Print (warn)ing! + * * @param format Formatting-string for the warning. * @param ... Formatting-arguments. */ @@ -49,6 +51,8 @@ void warn(const char*, ...) * * This is a non-standard BSD extension. * + * @etymology (V)ariadic version of (`warn`). + * * @param format Formatting-string for the warning. * @param args Formatting-arguments. */ @@ -60,6 +64,8 @@ void vwarn(const char*, va_list); * * This is a non-standard BSD extension. * + * @etymology (`warn`), [x=](lesser variant). + * * @param format Formatting-string for the warning. * @param ... Formatting-arguments. */ @@ -72,6 +78,8 @@ void warnx(const char*, ...) * * This is a non-standard BSD extension. * + * @etymology (V)ariadic version of (`warnx`). + * * @param format Formatting-string for the warning. * @param args Formatting-arguments. */ @@ -83,6 +91,8 @@ void vwarnx(const char*, va_list); * * This is a non-standard BSD extension. * + * @etymology Report (err)or! + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param ... Formatting-arguments. @@ -96,6 +106,8 @@ __noreturn void err(int, const char*, ...) * * This is a non-standard BSD extension. * + * @etymology (V)ariadic version of (`err`). + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param args Formatting-arguments. @@ -108,6 +120,8 @@ __noreturn void verr(int, const char*, va_list); * * This is a non-standard BSD extension. * + * @etymology (`err`), [x=](lesser variant). + * * @parma status The exit status the process should have. * @param format Formatting-string for the warning. * @param ... Formatting-arguments. @@ -121,6 +135,8 @@ __noreturn void errx(int, const char*, ...) * * This is a non-standard BSD extension. * + * @etymology (V)ariadic version of (`errx`). + * * @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