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 › Dispatch › fileHardLink Private Function fileHardLink Doc Source Private Function std.Io.Dispatch.fileHardLink
fn fileHardLink (
userdata : ?*anyopaque ,
file : File ,
new_dir : Dir ,
new_sub_path : []const u8 ,
options : File .HardLinkOptions ,
) File .HardLinkError !void Params userdata : ?*anyopaque file : File new_dir : Dir new_sub_path : []const u8 options : File .HardLinkOptions File Io/Dispatch.zig: 3803
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817 fn fileHardLink (
userdata : ?*anyopaque ,
file : File ,
new_dir : Dir ,
new_sub_path : []const u8 ,
options : File .HardLinkOptions ,
) File .HardLinkError !void {
const ev : *Evented = @ptrCast (@alignCast (userdata ));
_ = ev ;
_ = file ;
_ = new_dir ;
_ = new_sub_path ;
_ = options ;
return error .OperationUnsupported ;
}