Skip to content

Commit 0c83e9f

Browse files
committed
solarish add meminfo
1 parent e7517e8 commit 0c83e9f

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)