]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
i3-nagbar: take our terminal execution kludge to the next level
[i3/i3] / include / libi3.h
index 53f3383d35390671e0f2621e23c57150e1d1fc0a..b0141f1df9cc22c8eae3e6abf4b2961967ce0330 100644 (file)
@@ -364,4 +364,12 @@ bool is_debug_build() __attribute__((const));
  */
 char *get_process_filename(const char *prefix);
 
+/**
+ * This function returns the absolute path to the executable it is running in.
+ *
+ * The implementation follows http://stackoverflow.com/a/933996/712014
+ *
+ */
+const char *get_exe_path(const char *argv0);
+
 #endif