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.
2 parents c8751d2 + a9f83e8 commit e81e068Copy full SHA for e81e068
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