Function readLinkWasi [src]
WASI-only. Same as readLink except targeting WASI.
Prototype
pub fn readLinkWasi(self: Dir, sub_path: []const u8, buffer: []u8) ![]u8 Parameters
self: Dirsub_path: []const u8buffer: []u8 Source
pub fn readLinkWasi(self: Dir, sub_path: []const u8, buffer: []u8) ![]u8 {
return posix.readlinkat(self.fd, sub_path, buffer);
}