diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-06-25 15:35:14 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-06-25 15:35:14 +0200 |
commit | be4bedd16b934c8663f8c231f07f23091cde8261 (patch) | |
tree | d16ee5e9900ef0672510bf62ed1b8e5c04e46bff /udev_utils.h | |
parent | bd0ed2ffbec325512c3131ce0db896234e36c923 (diff) |
unify execute_command() and execute_program()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_utils.h')
-rw-r--r-- | udev_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/udev_utils.h b/udev_utils.h index 3e372dd948..999a4fcf55 100644 --- a/udev_utils.h +++ b/udev_utils.h @@ -45,6 +45,7 @@ extern void remove_trailing_char(char *path, char c); extern void replace_untrusted_chars(char *string); extern int name_list_add(struct list_head *name_list, const char *name, int sort); extern int add_matching_files(struct list_head *name_list, const char *dirname, const char *suffix); -extern int execute_command(const char *command, const char *subsystem); +extern int execute_program(const char *command, const char *subsystem, + char *result, size_t ressize, size_t *reslen); #endif |