Skip to content

Commit

Permalink
Auto merge of #2042 - pfmooney:illumos-portnotify, r=JohnTitor
Browse files Browse the repository at this point in the history
Add port_notify struct for illumos and Solaris

This adds a missing struct for configuring event ports notifications.  The `libc-test` suite passes on illumos (OmniOSCE) and is assumed to pass on Solaris, given that the interface has been present since Oracle forked from OpenSolaris.
  • Loading branch information
bors committed Jan 27, 2021
2 parents 5421f0b + 0d61dcb commit 77180b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -370,6 +370,11 @@ s! {
pub portev_user: *mut ::c_void,
}

pub struct port_notify {
pub portnfy_port: ::c_int,
pub portnfy_user: *mut ::c_void,
}

pub struct exit_status {
e_termination: ::c_short,
e_exit: ::c_short,
Expand Down

0 comments on commit 77180b6

Please sign in to comment.