summaryrefslogtreecommitdiff
path: root/src/libunixonacid/atomic_rm_rf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/atomic_rm_rf.c')
-rw-r--r--src/libunixonacid/atomic_rm_rf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libunixonacid/atomic_rm_rf.c b/src/libunixonacid/atomic_rm_rf.c
new file mode 100644
index 0000000..b7f157b
--- /dev/null
+++ b/src/libunixonacid/atomic_rm_rf.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/skamisc.h>
+#include <skalibs/unix-transactional.h>
+
+int atomic_rm_rf (char const *filename)
+{
+ return atomic_rm_rf_tmp(filename, &satmp) ;
+}