Skip to content

Commit 23afc03

Browse files
committed
solarish lgrp api update
1 parent f1d3d97 commit 23afc03

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3024,6 +3024,16 @@ extern "C" {
30243024
) -> ::lgrp_mem_size_t;
30253025
pub fn lgrp_nlgrps(cookie: ::lgrp_cookie_t) -> ::c_int;
30263026
pub fn lgrp_view(cookie: ::lgrp_cookie_t) -> ::lgrp_view_t;
3027+
pub fn lgrp_home(idtype: ::idtype_t, id: ::id_t) -> ::lgrp_id_t;
3028+
pub fn lgrp_version(version: ::c_int) -> ::c_int;
3029+
pub fn lgrp_resources(
3030+
cookie: ::lgrp_cookie_t,
3031+
lgrp: ::lgrp_id_t,
3032+
lgrps: *mut ::lgrp_id_t,
3033+
count: ::c_uint,
3034+
tpe: ::lgrp_rsrc_t,
3035+
) -> ::c_int;
3036+
pub fn lgrp_root(cookie: ::lgrp_cookie_t) -> ::lgrp_id_t;
30273037
}
30283038

30293039
mod compat;

0 commit comments

Comments
 (0)