Commit Graph

32 Commits

Author SHA1 Message Date
auronandace 49f96a96e6 rename bits_time to bits_timespec for consistency 2026-04-09 10:50:04 +01:00
auronandace 25f059bf67 iterate instead of indexing using a range 2026-03-15 21:39:10 +00:00
auronandace 6933287a94 enforce borrow-as-ptr clippy lint 2026-03-01 19:54:31 +00:00
auronandace bc25b5a7ed add export renames to cbindgen files 2026-02-12 13:33:54 +00:00
auronandace 1191d8e1b4 extract timespec to a bits header 2026-02-12 13:07:24 +00:00
auronandace 64f18ca89a add unused_mut lint 2026-02-08 09:00:14 +00:00
auronandace c12605642f mark poll_epoll as unsafe 2026-02-05 11:59:41 +00:00
nekluu 908b132f04 fix(poll): handle overflow in ppoll timeout 2026-01-30 06:41:13 +03:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
Jeremy Soller a04c27a71e Early exit from poll if there are fds, and all are closed 2026-01-09 12:59:00 -07:00
auronandace 651768ad54 only import the needed types in netdb and poll 2025-12-08 08:34:38 +00:00
auronandace e45c7de6f6 update and add spec links for netdb and poll 2025-12-08 08:30:17 +00:00
Jeremy Soller c6849f21e4 Fix compilation on i586 2025-11-16 08:54:54 -07:00
Jeremy Soller afb8f46020 Implement ppoll 2025-11-13 10:47:29 -07:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Peter Limkilde Svendsen 2e48a31a47 Use unsafe blocks in poll.h implementation 2024-10-16 13:14:07 +00:00
4lDO2 4da5ad37d1 Convert PalEpoll to Rusty error handling. 2024-09-27 11:22:36 +02:00
Steve Lau c7300009cd feat: ignore negative fd and clear its revents in poll(2) 2024-07-20 20:41:52 +08:00
4lDO2 cdd0f67b23 Rustfmt. 2023-05-17 15:28:10 +02:00
David Carlier 66fdebc0cb adding SOCK_RDM and a couple of POLL* constants.
close #164
2023-03-26 08:11:50 +01:00
jD91mZM2 593925ceb4 Unambiguate all include guards
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
jD91mZM2 b8c50c7c64 Format 2019-08-04 19:05:45 +02:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
Mateusz Mikuła 6742e41948 Clippy fixes 2019-07-04 14:47:08 +00:00
Jeremy Soller e6e31dd3b4 Format 2019-04-28 10:29:20 -06:00
jD91mZM2 4c8f51ace9 Avoid allocations in redox epoll 2019-04-28 14:51:42 +02:00
Jeremy Soller 5715fb7ba6 Work on switching to epoll as backend for select and poll 2019-03-10 13:03:00 -06:00
Jeremy Soller 5690c6dcdf Add trace for select and poll 2019-02-21 19:42:58 -07:00
Jeremy Soller d6a1796122 Format 2018-11-25 14:38:33 -07:00
Jeremy Soller 8a042a220d Implement pread, add more poll constants 2018-11-25 14:34:18 -07:00
Jeremy Soller 869eb160bd Add poll 2018-11-25 13:04:38 -07:00