================
@@ -176,4 +183,103 @@ int get_fileno(File *f) {
return lf->get_fd();
}
+int reopenfile(File *f, const char *path, const char *mode) {
----------------
kaladron wrote:
Should this be an ErrorOr case to make the API cleaner?
https://github.com/llvm/llvm-project/pull/207837