task_set_info addition, on macOs only.

This commit is contained in:
David CARLIER 2022-06-24 19:08:41 +01:00
parent fc10a373c1
commit 2962ad63ee
2 changed files with 6 additions and 0 deletions

View file

@ -1,2 +1,3 @@
clock_settime
memmem
task_set_info

View file

@ -5551,6 +5551,11 @@ cfg_if! {
needle: *const ::c_void,
needlelen: ::size_t,
) -> *mut ::c_void;
pub fn task_set_info(target_task: ::task_t,
flavor: ::task_flavor_t,
task_info_in: ::task_info_t,
task_info_inCnt: ::mach_msg_type_number_t
) -> ::kern_return_t;
}
}
}