# io_uring: add sqe prep methods for epoll_ctl, poll_add, and poll_remove · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/aa2a31612fa677ddb747f8fa730f6a5732b3afa9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: aa2a31612fa677ddb747f8fa730f6a5732b3afa9

Requested commit: aa2a31612fa677ddb747f8fa730f6a5732b3afa9

Commit: aa2a31612fa677ddb747f8fa730f6a5732b3afa9

Tree: ee0043a0a6cd0ca2267aba9fab768c146804a9f6

Author: Kenta Iwasaki

Committer: Isaac Freund

## Message

```
io_uring: add sqe prep methods for epoll_ctl, poll_add, and poll_remove

Implement io_uring submission queue entry preparation methods for
epoll_ctl, poll_add and poll_remove.

Poll masks are designated as 32-bit little-endian integers as
specified in liburing's definitions.

Updated io_uring_prep_rw to take in an unsigned 64-bit address instead
of an anytype. io_uring_sqe by default assumes that the address
specified in a submission queue entry is an unsigned 64-bit integer.

```

## Parents

- [75d1b113aa6adf983497a78a0a0e61ecac7aaa54](https://git.cafe/gitcafe/zig/commit/75d1b113aa6adf983497a78a0a0e61ecac7aaa54?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/aa2a31612fa677ddb747f8fa730f6a5732b3afa9?format=markdown)
