diff options
author | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
---|---|---|
committer | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
commit | 2c29b6a5145a4c44cbef03197db64cd2d7decd15 (patch) | |
tree | db4129c7efad3b79ee1b21c5ed4ef634044de5eb /src/unix/draw.c | |
parent | 77c6ef13a0599fdb9966a3a7dc967e204b77c7d5 (diff) |
Basic functionality for using autotools over basic Makefile
Diffstat (limited to 'src/unix/draw.c')
-rw-r--r-- | src/unix/draw.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unix/draw.c b/src/unix/draw.c new file mode 100644 index 0000000..ae7f758 --- /dev/null +++ b/src/unix/draw.c @@ -0,0 +1,14 @@ +#include <stdlib.h> +#include <string.h> + +#include "../include/draw.h" + +void launch(){ + char full_command[BUF_LEN]; + + strcpy(full_command, get_launch()); + strcat(full_command, " > /dev/null 2>&1 &"); + system(full_command); + + return; +} |