struct io_uring_sqe *sqe = io_uring_get_sqe(ring);
*sqe = (struct io_uring_sqe){
.opcode = IORING_OP_SOCKET,
.fd = domain,
.off = type,
.len = protocol,
.user_data = user_data,
.flags = flags
};
if I do this the compiler is responsible for zeroing the unused fields as well as assigning the set ones right?
becaus it's prvalue I belive I should not end up with an allocation even on the stack right? This ends up being better than setting all the fields manually including zeroing them out right?
