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 › os › linux › IoUring › send_zc_fixed Public Function send_zc_fixed Doc Source Public Function std.os.linux.IoUring.send_zc_fixed
pub fn send_zc_fixed (
self : *IoUring ,
user_data : u64 ,
fd : linux .fd_t ,
buffer : []const u8 ,
send_flags : u32 ,
zc_flags : u16 ,
buf_index : u16 ,
) !*linux .io_uring_sqe Params self : *IoUring user_data : u64 fd : linux .fd_t buffer : []const u8 send_flags : u32 zc_flags : u16 buf_index : u16 File os/linux/IoUring.zig: 702
702
703
704
705
706
707
708
709
710
711
712
713
714
715 pub fn send_zc_fixed (
self : *IoUring ,
user_data : u64 ,
fd : linux .fd_t ,
buffer : []const u8 ,
send_flags : u32 ,
zc_flags : u16 ,
buf_index : u16 ,
) !*linux .io_uring_sqe {
const sqe = try self .get_sqe ();
sqe .prep_send_zc_fixed (fd , buffer , send_flags , zc_flags , buf_index );
sqe .user_data = user_data ;
return sqe ;
}
Queues (but does not submit) an SQE to perform an async zerocopy
send(2). Returns a pointer to the SQE. Available since 6.0