Function statx [src]
Queues (but does not submit) an SQE to perform an statx(2).
Returns a pointer to the SQE.
Prototype
pub fn statx( self: *IoUring, user_data: u64, fd: posix.fd_t, path: [:0]const u8, flags: u32, mask: u32, buf: *linux.Statx, ) !*linux.io_uring_sqe
Parameters
self: *IoUring
user_data: u64
fd: posix.fd_t
path: [:0]const u8
flags: u32
mask: u32
buf: *linux.Statx
Source
pub fn statx(
self: *IoUring,
user_data: u64,
fd: posix.fd_t,
path: [:0]const u8,
flags: u32,
mask: u32,
buf: *linux.Statx,
) !*linux.io_uring_sqe {
const sqe = try self.get_sqe();
sqe.prep_statx(fd, path, flags, mask, buf);
sqe.user_data = user_data;
return sqe;
}