Skip to content

Commit cdfc35c

Browse files
committed
Auto merge of #2834 - devnexen:task_set_info, r=JohnTitor
task_set_info addition, on macOs only.
2 parents fc10a37 + 2962ad6 commit cdfc35c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/macos.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
clock_settime
22
memmem
3+
task_set_info

src/unix/bsd/apple/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5551,6 +5551,11 @@ cfg_if! {
55515551
needle: *const ::c_void,
55525552
needlelen: ::size_t,
55535553
) -> *mut ::c_void;
5554+
pub fn task_set_info(target_task: ::task_t,
5555+
flavor: ::task_flavor_t,
5556+
task_info_in: ::task_info_t,
5557+
task_info_inCnt: ::mach_msg_type_number_t
5558+
) -> ::kern_return_t;
55545559
}
55555560
}
55565561
}

0 commit comments

Comments
 (0)