We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697e22c commit 42a3b60Copy full SHA for 42a3b60
lib/std/os/linux/io_uring.zig
@@ -474,8 +474,8 @@ pub const IO_Uring = struct {
474
self: *IO_Uring,
475
user_data: u64,
476
fd: os.fd_t,
477
- addr: *os.sockaddr,
478
- addrlen: *os.socklen_t,
+ addr: ?*os.sockaddr,
+ addrlen: ?*os.socklen_t,
479
flags: u32,
480
) !*linux.io_uring_sqe {
481
const sqe = try self.get_sqe();
@@ -1292,8 +1292,8 @@ pub inline fn __io_uring_prep_poll_mask(poll_mask: u32) u32 {
1292
pub fn io_uring_prep_accept(
1293
sqe: *linux.io_uring_sqe,
1294
1295
1296
1297
1298
) void {
1299
// `addr` holds a pointer to `sockaddr`, and `addr2` holds a pointer to socklen_t`.
0 commit comments