Function getCwd [src]
The result is a slice of out_buffer, from index 0.
On Windows, the result is encoded as WTF-8.
On other platforms, the result is an opaque sequence of bytes with no particular encoding.
Prototype
pub fn getCwd(out_buffer: []u8) ![]u8
Parameters
out_buffer: []u8
Source
pub fn getCwd(out_buffer: []u8) ![]u8 {
return posix.getcwd(out_buffer);
}