From 1368b794c3079c2c641a406f004e207bdbc746a0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 18 Oct 2009 04:22:26 +0200 Subject: doxygen updates --- libdaemon/dexec.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'libdaemon/dexec.h') diff --git a/libdaemon/dexec.h b/libdaemon/dexec.h index 1f7f7e8..9b34240 100644 --- a/libdaemon/dexec.h +++ b/libdaemon/dexec.h @@ -33,13 +33,15 @@ extern "C" { * STDERR redirected to syslog */ -/** This variable is defined to 1 iff daemon_exec() is supported.*/ +/** This variable is defined to 1 iff daemon_exec() is supported. + * @since 0.4 + * @see daemon_exec() */ #define DAEMON_EXEC_AVAILABLE 1 #if defined(__GNUC__) && ! defined(DAEMON_GCC_SENTINEL) -/** A macro for making use of GCCs printf compilation warnings */ #define DAEMON_GCC_SENTINEL __attribute__ ((sentinel)) #else +/** A macro for making use of GCCs printf compilation warnings */ #define DAEMON_GCC_SENTINEL #endif @@ -55,13 +57,19 @@ extern "C" { * @param prog The path to the executable * @param ... The arguments to be passed to the program, followed by a (char *) NULL * @return Nonzero on failure, zero on success + * @since 0.4 + * @see DAEMON_EXEC_AVAILABLE */ int daemon_exec(const char *dir, int *ret, const char *prog, ...) DAEMON_GCC_SENTINEL; -/** This variable is defined to 1 iff daemon_execv() is supported.*/ +/** This variable is defined to 1 iff daemon_execv() is supported. + * @since 0.11 + * @see daemon_execv() */ #define DAEMON_EXECV_AVAILABLE 1 -/** The same as daemon_exec, but without variadic arguments */ +/** The same as daemon_exec, but without variadic arguments + * @since 0.11 + * @see DAEMON_EXECV_AVAILABLE */ int daemon_execv(const char *dir, int *ret, const char *prog, va_list ap); #ifdef __cplusplus -- cgit