summaryrefslogtreecommitdiff
path: root/src/udev/util.h
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2012-11-19 15:48:48 -0500
committerRichard Yao <ryao@cs.stonybrook.edu>2012-11-22 22:53:32 -0500
commit9b996818cb6eacaaecaaa9bae8d0377fa1fdb803 (patch)
tree64985a4a9d926aa4ca69623416256e61798e4362 /src/udev/util.h
parent8a72e9e927f7d3fea2696e5c71a420d3638985e0 (diff)
Introduce execute_command
This is useful in situations where we do not have builtins avaiable. Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'src/udev/util.h')
-rw-r--r--src/udev/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/util.h b/src/udev/util.h
index a148ebbc58..b9230e38bc 100644
--- a/src/udev/util.h
+++ b/src/udev/util.h
@@ -453,6 +453,7 @@ bool tty_is_console(const char *tty);
int vtnr_from_tty(const char *tty);
const char *default_term_for_tty(const char *tty);
+int execute_command(const char *command, char *const argv[]);
void execute_directory(const char *directory, DIR *_d, char *argv[]);
int kill_and_sigcont(pid_t pid, int sig);