Skip to content

Commit 77180b6

Browse files
committed
Auto merge of #2042 - pfmooney:illumos-portnotify, r=JohnTitor
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.
2 parents 5421f0b + 0d61dcb commit 77180b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,11 @@ s! {
370370
pub portev_user: *mut ::c_void,
371371
}
372372

373+
pub struct port_notify {
374+
pub portnfy_port: ::c_int,
375+
pub portnfy_user: *mut ::c_void,
376+
}
377+
373378
pub struct exit_status {
374379
e_termination: ::c_short,
375380
e_exit: ::c_short,

0 commit comments

Comments
 (0)