From 2b39c39421648cdd65987934e5432d5a12d097b0 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Wed, 18 Feb 2026 00:56:45 +0000 Subject: should work without peru --- chad/remove_all.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 chad/remove_all.h (limited to 'chad/remove_all.h') diff --git a/chad/remove_all.h b/chad/remove_all.h new file mode 100644 index 0000000..2c218b1 --- /dev/null +++ b/chad/remove_all.h @@ -0,0 +1,11 @@ +#ifndef REMOVE_ALL_H +#define REMOVE_ALL_H + +/* C imitation of `std::filesystem::remove_all()` from C++17. + * Unlike standard C remove(3), it can remove recursively. + */ +int remove_all(const char * const p); + +// The contents of this file are Public Domain. + +#endif -- cgit v1.2.3