websocket forked from zzstoatzz.io/websocket.zig

fix EPoll: raw syscall returns usize, not error union

linux.epoll_ctl and epoll_wait return usize (raw syscall). check errno for errors instead of directly returning the value. also fix epoll_wait missing maxevents argument. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


Author
Co-author Claude Opus 4.6 Date Commit Parent 5b020fb7
+11 -5
1 changed file
+11 -5
1 changed file