Skip to content

Commit c51e91b

Browse files
jan-schreibsemarie
authored andcommitted
OpenBSD kqueue EV_RECEIPT and EV_DISPATCH
OpenBSDs kqueue now has EV_RECEIPT and EV_DISPATCH. I wrote a patch and the devs merged it into current: https://marc.info/?l=openbsd-tech&m=149621427511219&w=2 This change extends the rust libc crate to provide the feature.
1 parent d6317b6 commit c51e91b

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsdlike

1 file changed

+2
-0
lines changed

src/unix/bsd/netbsdlike/openbsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ pub const EV_ENABLE: ::uint16_t = 0x4;
431431
pub const EV_DISABLE: ::uint16_t = 0x8;
432432
pub const EV_ONESHOT: ::uint16_t = 0x10;
433433
pub const EV_CLEAR: ::uint16_t = 0x20;
434+
pub const EV_RECEIPT: ::uint16_t = 0x40;
435+
pub const EV_DISPATCH: ::uint16_t = 0x80;
434436
pub const EV_FLAG1: ::uint16_t = 0x2000;
435437
pub const EV_ERROR: ::uint16_t = 0x4000;
436438
pub const EV_EOF: ::uint16_t = 0x8000;

0 commit comments

Comments
 (0)