From cf091024335052e4774d44179e80e1948da8610f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 28 Nov 2010 16:45:34 +0100 Subject: Use kill(pid, 0) to check if the process is alive --- include/i3status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/i3status.h b/include/i3status.h index a79be18..0ed0d1f 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -51,7 +51,7 @@ typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; /* src/general.c */ char *skip_character(char *input, char character, int amount); void die(const char *fmt, ...); -bool slurp(char *filename, char *destination, int size); +bool slurp(const char *filename, char *destination, int size); /* src/output.c */ void print_seperator(); -- cgit v1.2.3