summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/libltp/include/rmobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/libltp/include/rmobj.h')
-rw-r--r--winsup/testsuite/libltp/include/rmobj.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/testsuite/libltp/include/rmobj.h b/winsup/testsuite/libltp/include/rmobj.h
new file mode 100644
index 000000000..4808ca258
--- /dev/null
+++ b/winsup/testsuite/libltp/include/rmobj.h
@@ -0,0 +1,12 @@
+#ifndef _RMOBJ_H_
+#define _RMOBJ_H_
+
+/*
+ * rmobj() - Remove the specified object. If the specified object is a
+ * directory, recursively remove everything inside of it. If
+ * there are any problems, set errmsg (if it is not NULL) and
+ * return -1. Otherwise return 0.
+ */
+int rmobj( char *object , char **errmesg );
+
+#endif