Skip to content

Commit bff65e3

Browse files
authored
Merge pull request #1655 from batrla/master
Solarish: missing declaration of port_send and port_sendn
2 parents 7455403 + 3a90b74 commit bff65e3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,6 +2404,18 @@ extern "C" {
24042404
nget: *mut ::c_uint,
24052405
timeout: *mut ::timespec,
24062406
) -> ::c_int;
2407+
pub fn port_send(
2408+
port: ::c_int,
2409+
events: ::c_int,
2410+
user: *mut ::c_void,
2411+
) -> ::c_int;
2412+
pub fn port_sendn(
2413+
port_list: *mut ::c_int,
2414+
error_list: *mut ::c_int,
2415+
nent: ::c_uint,
2416+
events: ::c_int,
2417+
user: *mut ::c_void,
2418+
) -> ::c_int;
24072419
pub fn fexecve(
24082420
fd: ::c_int,
24092421
argv: *const *const ::c_char,

0 commit comments

Comments
 (0)