From: Andre Noll Date: Mon, 17 Mar 2008 06:40:48 +0000 (+0100) Subject: signal.c: Cosmetics. X-Git-Tag: v0.3.2~61^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=026b8a73a399d13ddb00bd96453747790b40d3ad;hp=db2953d4922b4afb303ca73c75d53a2dbba3acd6 signal.c: Cosmetics. --- diff --git a/signal.c b/signal.c index 0490a3a1..f8be2f46 100644 --- a/signal.c +++ b/signal.c @@ -73,7 +73,7 @@ static void generic_signal_handler(int s) * one otherwise. If and only if the function returns one, the content of \a * pid is meaningful. * - * \sa waitpid(2) + * \sa waitpid(2). */ int para_reap_child(pid_t *pid) { @@ -110,12 +110,15 @@ void para_reap_children(void) } /** - * wrapper around signal(2) - * \param sig the number of the signal to catch + * Wrapper around signal(2). + * + * \param sig The number of the signal to catch. * * This installs the generic signal handler for the given signal. + * * \return This function returns 1 on success and \p -E_SIGNAL_SIG_ERR on errors. - * \sa signal(2) + * + * \sa signal(2). */ int para_install_sighandler(int sig) { @@ -152,7 +155,7 @@ int para_next_signal(void) } /** - * Close the signal pipe. + * Close the write end of the signal pipe. */ void para_signal_shutdown(void) {