diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-18 15:25:05 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-18 15:25:05 +0200 |
commit | d0db192fa5a50eee27bce3e92c89f3ec1294638d (patch) | |
tree | c9e41aea1ce2464b1464a7b7e7c70ea2af6c2d31 /udev/udev.h | |
parent | d7ddce186c8a0171eb98862b6f8ff72d64261b33 (diff) |
move run_program to util
Diffstat (limited to 'udev/udev.h')
-rw-r--r-- | udev/udev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udev.h b/udev/udev.h index eb020cd3bb..be76fe3ceb 100644 --- a/udev/udev.h +++ b/udev/udev.h @@ -111,6 +111,8 @@ extern int delete_path(struct udev *udev, const char *path); extern int unlink_secure(struct udev *udev, const char *filename); extern uid_t lookup_user(struct udev *udev, const char *user); extern gid_t lookup_group(struct udev *udev, const char *group); +extern int run_program(struct udev *udev, const char *command, char **envp, + char *result, size_t ressize, size_t *reslen); /* udev_utils_file.c */ extern int file_map(const char *filename, char **buf, size_t *bufsize); |