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/dfork.h | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'libdaemon/dfork.h') diff --git a/libdaemon/dfork.h b/libdaemon/dfork.h index 566844f..4a9c43e 100644 --- a/libdaemon/dfork.h +++ b/libdaemon/dfork.h @@ -99,37 +99,58 @@ int daemon_retval_wait(int timeout); */ int daemon_retval_send(int s); -/** This variable is defined to 1 iff daemon_close_all() and daemon_close_allv() are supported.*/ +/** This variable is defined to 1 iff daemon_close_all() and + * daemon_close_allv() are supported. + * @since 0.11 + * @see daemon_close_all(), daemon_close_allv() */ #define DAEMON_CLOSE_ALL_AVAILABLE 1 /** Close all file descriptors except those passed. List needs to be - * terminated by -1. FDs 0, 1, 2 will be kept open anyway. */ + * terminated by -1. FDs 0, 1, 2 will be kept open anyway. + * @since 0.11 + * @see DAEMON_CLOSE_ALL_AVAILABLE */ int daemon_close_all(int except_fd, ...); /** Same as daemon_close_all but takes an array of fds, terminated by - * -1 */ + * -1 + * @since 0.11 + * @see DAEMON_CLOSE_ALL_AVAILABLE */ int daemon_close_allv(const int except_fds[]); -/** This variable is defined to 1 iff daemon_unblock_sigs() and daemon_unblock_sigsv() are supported.*/ +/** This variable is defined to 1 iff daemon_unblock_sigs() and + * daemon_unblock_sigsv() are supported. + * @since 0.13 + * @see daemon_unblock_sigs(), daemon_unblock_sigsv()*/ #define DAEMON_UNBLOCK_SIGS_AVAILABLE 1 /** Unblock all signals except those passed. List needs to be - * terminated by -1. */ + * terminated by -1. + * @since 0.13 + * @see DAEMON_UNBLOCK_SIGS_AVAILABLE */ int daemon_unblock_sigs(int except, ...); /** Same as daemon_unblock_sigs() but takes an array of signals, - * terminated by -1 */ + * terminated by -1 + * @since 0.13 + * @see DAEMON_UNBLOCK_SIGS_AVAILABLE */ int daemon_unblock_sigsv(const int except[]); -/** This variable is defined to 1 iff daemon_reset_sigs() and daemon_reset_sigsv() are supported.*/ +/** This variable is defined to 1 iff daemon_reset_sigs() and + * daemon_reset_sigsv() are supported. + * @since 0.13 + * @see daemon_reset_sigs(), daemon_reset_sigsv() */ #define DAEMON_RESET_SIGS_AVAILABLE 1 /** Reset all signal handlers except those passed. List needs to be - * terminated by -1. */ + * terminated by -1. + * @since 0.13 + * @see DAEMON_RESET_SIGS_AVAILABLE */ int daemon_reset_sigs(int except, ...); /** Same as daemon_reset_sigs() but takes an array of signals, - * terminated by -1 */ + * terminated by -1 + * @since 0.13 + * @see DAEMON_RESET_SIGS_AVAILABLE */ int daemon_reset_sigsv(const int except[]); #ifdef __cplusplus -- cgit