fn getFdPath(fd: fd_t, out_buffer: *[MAX_PATH_BYTES]u8) RealPathError![]u8

Return canonical path of handle fd. This function is very host-specific and is not universally supported by all hosts. For example, while it generally works on Linux, macOS, FreeBSD or Windows, it is unsupported on WASI.

Parameters

fd: fd_t,
out_buffer: *[MAX_PATH_BYTES]u8,