sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit f1ffe6975262c56b0061fd4d1b003d7b69036c92
parent 229ea70bcecc63cdd6c1ed1867d082ce02abcb01
Author: sin <sin@2f30.org>
Date:   Thu, 25 Dec 2014 17:46:12 +0000

Implement kill command

Diffstat:
Mcmd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd.c b/cmd.c @@ -2,6 +2,7 @@ #include <fcntl.h> #include <limits.h> +#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -243,6 +244,7 @@ cmdclose(int fd, int argc, char **argv) static void cmdkill(int fd, int argc, char **argv) { + raise(SIGTERM); } static void