fn GetCurrentDirectory(buffer: []u8) GetCurrentDirectoryError![]u8
The result is a slice of buffer, indexed from 0.
buffer
buffer: []u8,