Skip to content

Commit 6eff28d

Browse files
committed
Auto merge of #2600 - devnexen:solarish_meminfo, r=JohnTitor
solarish add meminfo
2 parents 57f8648 + 0c83e9f commit 6eff28d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2827,6 +2827,14 @@ extern "C" {
28272827
elements: *mut ::c_uint,
28282828
arg: *mut ::c_void,
28292829
) -> ::c_int;
2830+
pub fn meminfo(
2831+
inaddr: *const u64,
2832+
addr_count: ::c_int,
2833+
info_req: *const ::c_uint,
2834+
info_count: ::c_int,
2835+
outdata: *mut u64,
2836+
validity: *mut ::c_uint,
2837+
) -> ::c_int;
28302838
}
28312839

28322840
mod compat;

0 commit comments

Comments
 (0)