diff options
| author | Emil Williams | 2026-02-18 00:56:45 +0000 |
|---|---|---|
| committer | Emil Williams | 2026-02-18 01:02:35 +0000 |
| commit | 2b39c39421648cdd65987934e5432d5a12d097b0 (patch) | |
| tree | 136c7415cfe1cc268ffbd36f0f6a5ea60bcdfd4f /chad/remove_all.h | |
| parent | 42541df62871aaf403c0d62de1fdb44c862f2ea5 (diff) | |
| download | libchad-2b39c39421648cdd65987934e5432d5a12d097b0.tar.xz libchad-2b39c39421648cdd65987934e5432d5a12d097b0.tar.zst | |
should work without peru
Diffstat (limited to 'chad/remove_all.h')
| -rw-r--r-- | chad/remove_all.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
