Function close [src]
Prototype
pub fn close(self: *Dir) void
Parameters
self: *Dir
Source
pub fn close(self: *Dir) void {
posix.close(self.fd);
self.* = undefined;
}
pub fn close(self: *Dir) void
self: *Dir
pub fn close(self: *Dir) void {
posix.close(self.fd);
self.* = undefined;
}