diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2010-11-28 16:45:34 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-11-28 16:45:34 +0100 |
commit | cf091024335052e4774d44179e80e1948da8610f (patch) | |
tree | 3d02b32bdc1de833f8f201256e7945b0ae347e86 /include | |
parent | 75670ba64a43f3382e5163b6ea7bf27de28d929b (diff) |
Use kill(pid, 0) to check if the process is alive
Diffstat (limited to 'include')
-rw-r--r-- | include/i3status.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |