diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-10-18 04:22:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-10-18 04:22:26 +0200 |
commit | 1368b794c3079c2c641a406f004e207bdbc746a0 (patch) | |
tree | 1947f2369f82d54c65c541399af93ca68c0d0406 /libdaemon/dexec.h | |
parent | 9dc480c478f1dc61e3f38593ea93a27fd5c6ae81 (diff) |
doxygen updates
Diffstat (limited to 'libdaemon/dexec.h')
-rw-r--r-- | libdaemon/dexec.h | 16 |
1 files changed, 12 insertions, 4 deletions
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 |