| ... | ... | @@ -474,8 +474,8 @@ pub const IO_Uring = struct { |
| 474 | 474 | self: *IO_Uring, |
| 475 | 475 | user_data: u64, |
| 476 | 476 | fd: os.fd_t, |
| 477 | | addr: *os.sockaddr, |
| 478 | | addrlen: *os.socklen_t, |
| 477 | addr: ?*os.sockaddr, |
| 478 | addrlen: ?*os.socklen_t, |
| 479 | 479 | flags: u32, |
| 480 | 480 | ) !*linux.io_uring_sqe { |
| 481 | 481 | const sqe = try self.get_sqe(); |
| ... | ... | @@ -1292,8 +1292,8 @@ pub inline fn __io_uring_prep_poll_mask(poll_mask: u32) u32 { |
| 1292 | 1292 | pub fn io_uring_prep_accept( |
| 1293 | 1293 | sqe: *linux.io_uring_sqe, |
| 1294 | 1294 | fd: os.fd_t, |
| 1295 | | addr: *os.sockaddr, |
| 1296 | | addrlen: *os.socklen_t, |
| 1295 | addr: ?*os.sockaddr, |
| 1296 | addrlen: ?*os.socklen_t, |
| 1297 | 1297 | flags: u32, |
| 1298 | 1298 | ) void { |
| 1299 | 1299 | // `addr` holds a pointer to `sockaddr`, and `addr2` holds a pointer to socklen_t`. |