]> git.sur5r.net Git - i3/i3status/blobdiff - include/i3status.h
Use kill(pid, 0) to check if the process is alive
[i3/i3status] / include / i3status.h
index a79be1842812155feacd89246711b8b6dab9723d..0ed0d1f0803144610652d735a7a0a2c6d1b6a634 100644 (file)
@@ -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();