Searched refs:interpreter (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dfileio.h53 int executable_is_script(const char *path, char **interpreter);
/systemd/src/journal/
H A Djournalctl.c915 _cleanup_free_ char *p, *t = NULL, *t2 = NULL, *interpreter = NULL; local
926 if (executable_is_script(path, &interpreter) > 0) {
937 /* Append _EXE only if the interpreter is not a link.
939 if (lstat(interpreter, &st) == 0 && !S_ISLNK(st.st_mode)) {
940 t2 = strappend("_EXE=", interpreter);

Completed in 17 milliseconds