diff options
Diffstat (limited to 'wrapper.c')
-rw-r--r-- | wrapper.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -328,3 +328,8 @@ int unlink_or_warn(const char *file) { return warn_if_unremovable("unlink", file, unlink(file)); } + +int rmdir_or_warn(const char *file) +{ + return warn_if_unremovable("rmdir", file, rmdir(file)); +} |