| 729 | } |
| 730 | |
| 731 | int __syscall_chdir(const char* path) { |
| 732 | auto parsed = path::parseFile(path); |
| 733 | if (auto err = parsed.getError()) { |
| 734 | return err; |
| 735 | } |
| 736 | return doChdir(parsed.getFile()); |
| 737 | } |
| 738 | |
| 739 | int __syscall_fchdir(int fd) { |
| 740 | auto openFile = wasmFS.getFileTable().locked().getEntry(fd); |
no test coverage detected