Function symlinkat [src]
Queues (but does not submit) an SQE to perform a symlinkat(2).
Returns a pointer to the SQE.
Prototype
pub fn symlinkat( self: *IoUring, user_data: u64, target: [*:0]const u8, new_dir_fd: posix.fd_t, link_path: [*:0]const u8, ) !*linux.io_uring_sqe Parameters
self: *IoUringuser_data: u64target: [*:0]const u8new_dir_fd: posix.fd_tlink_path: [*:0]const u8 Source
pub fn symlinkat(
self: *IoUring,
user_data: u64,
target: [*:0]const u8,
new_dir_fd: posix.fd_t,
link_path: [*:0]const u8,
) !*linux.io_uring_sqe {
const sqe = try self.get_sqe();
sqe.prep_symlinkat(target, new_dir_fd, link_path);
sqe.user_data = user_data;
return sqe;
}