vkill

Verbose & interactive pkill alternative
git clone https://git.sinitax.com/sinitax/vkill
Log | Files | Refs | LICENSE | sfeed.txt

commit 2ec963ffb2464f3649b0dff6adf3211b9a2d2c03
parent 5b0d9b7cea555e89ed6ceee0860ddf4369b92fd5
Author: Louis Burda <contact@sinitax.com>
Date:   Mon, 10 Feb 2025 12:50:11 +0100

Make build more reproducible

Diffstat:
MMakefile | 2+-
Mvkill.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ PREFIX ?= /usr/local BINDIR ?= /bin -CFLAGS = -Wunused-variable -Wunused-function +CFLAGS ?= -std=c99 -Wunused-variable -Wunused-function all: vkill diff --git a/vkill.c b/vkill.c @@ -1,10 +1,11 @@ +#define _POSIX_C_SOURCE 2008 + #include <linux/limits.h> #include <strings.h> #include <unistd.h> #include <termios.h> #include <dirent.h> #include <wait.h> -#include <ctype.h> #include <signal.h> #include <err.h> #include <string.h>