-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pass a null ptr to some functions? #480
Comments
This is a missing feature of our interface. We had a similar problem with |
OK, I think we can define these two functions in mio. Here is a simple test:
What do you think? |
look at this function:
fn epoll_ctl(epfd: RawFd, op: EpollOp, fd: RawFd, event: &mut EpollEvent)
if EpollOp == EpollDel, the event could be a NULL in C. But how to pass a NULL ptr to epoll_ctl in rust?
The text was updated successfully, but these errors were encountered: