Skip to content

Commit

Permalink
solarish lgrp api update
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Feb 15, 2022
1 parent f1d3d97 commit 23afc03
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3024,6 +3024,16 @@ extern "C" {
) -> ::lgrp_mem_size_t;
pub fn lgrp_nlgrps(cookie: ::lgrp_cookie_t) -> ::c_int;
pub fn lgrp_view(cookie: ::lgrp_cookie_t) -> ::lgrp_view_t;
pub fn lgrp_home(idtype: ::idtype_t, id: ::id_t) -> ::lgrp_id_t;
pub fn lgrp_version(version: ::c_int) -> ::c_int;
pub fn lgrp_resources(
cookie: ::lgrp_cookie_t,
lgrp: ::lgrp_id_t,
lgrps: *mut ::lgrp_id_t,
count: ::c_uint,
tpe: ::lgrp_rsrc_t,
) -> ::c_int;
pub fn lgrp_root(cookie: ::lgrp_cookie_t) -> ::lgrp_id_t;
}

mod compat;
Expand Down

0 comments on commit 23afc03

Please sign in to comment.