aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/rmdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/rmdir.h')
-rw-r--r--lib/sys/rmdir.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/rmdir.h b/lib/sys/rmdir.h
new file mode 100644
index 0000000..1656ee9
--- /dev/null
+++ b/lib/sys/rmdir.h
@@ -0,0 +1,11 @@
+#ifndef RMDIR_H
+#define RMDIR_H
+
+#include "syscalls.h"
+
+int rmdir(const char *pathname)
+{
+ return syscall(RMDIR, pathname);
+}
+
+#endif