std/system.rave

March 12, 2025 ยท View on GitHub

std::system::getCwd

Copies the current path to the working directory to the specified buffer with the specified length.

Example:

char* buffer = std::new<char>(256);
std::getCwd(buffer, 256);