Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › Io › Threaded › dirStatFileWindows Private Function dirStatFileWindows Doc Source Private Function std.Io.Threaded.dirStatFileWindows
fn dirStatFileWindows (
userdata : ?*anyopaque ,
dir : Dir ,
sub_path : []const u8 ,
options : Dir .StatFileOptions ,
) Dir .StatFileError !File .Stat Params userdata : ?*anyopaque dir : Dir sub_path : []const u8 options : Dir .StatFileOptions File Io/Threaded.zig: 3809
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821 fn dirStatFileWindows (
userdata : ?*anyopaque ,
dir : Dir ,
sub_path : []const u8 ,
options : Dir .StatFileOptions ,
) Dir .StatFileError !File .Stat {
const t : *Threaded = @ptrCast (@alignCast (userdata ));
const file = try dirOpenFileWindows (t , dir , sub_path , .{
.follow_symlinks = options .follow_symlinks ,
});
defer windows .CloseHandle (file .handle );
return fileStatWindows (t , file );
}