chiark / gitweb /
journalctl: use _COMM= match for scripts
[elogind.git] / src / shared / fileio.h
index 0ca6878ea48e487bf6c7b340cb7c8e899602ae74..a0aae28bae75685bfe9ff01332af72cbb3b0fd4d 100644 (file)
@@ -35,3 +35,5 @@ int read_full_file(const char *fn, char **contents, size_t *size);
 int parse_env_file(const char *fname, const char *separator, ...) _sentinel_;
 int load_env_file(const char *fname, const char *separator, char ***l);
 int write_env_file(const char *fname, char **l);
+
+int executable_is_script(const char *path, char **interpreter);