diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-29 20:21:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-29 20:21:29 +0100 |
commit | 5a9d53c47e3c6ce5bc7d38c60501a37ce2c2b276 (patch) | |
tree | e04c756e01daa0e71a209a5ed60e464395268d85 /include/fs.h | |
parent | 159109f5ff2e3b0ee7c44685e2241605ae41b662 (diff) | |
download | barebox-5a9d53c47e3c6ce5bc7d38c60501a37ce2c2b276.tar.gz barebox-5a9d53c47e3c6ce5bc7d38c60501a37ce2c2b276.tar.xz |
rm: implement -r
To recursively remove files and directories.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 3d5714c1fb..8ff7300919 100644 --- a/include/fs.h +++ b/include/fs.h @@ -182,4 +182,6 @@ void automount_remove(const char *_path); int automount_add(const char *path, const char *cmd); void automount_print(void); +int unlink_recursive(const char *path, char **failedpath); + #endif /* __FS_H */ |