We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8841a commit a9f83e8Copy full SHA for a9f83e8
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -4000,9 +4000,8 @@ extern "C" {
4000
4001
// sched.h linux compatibility api
4002
pub fn sched_getaffinity(pid: ::pid_t, cpusetsz: ::size_t, cpuset: *mut ::cpuset_t) -> ::c_int;
4003
- // FIXME: the first argument's type might not be correct, fix later if that changes.
4004
pub fn sched_setaffinity(
4005
- pid: ::c_int,
+ pid: ::pid_t,
4006
cpusetsz: ::size_t,
4007
cpuset: *const ::cpuset_t,
4008
) -> ::c_int;
0 commit comments