File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1232,6 +1232,9 @@ regexec
1232
1232
regfree
1233
1233
regmatch_t
1234
1234
regoff_t
1235
+ sched_getparam
1236
+ sched_param
1237
+ sched_setparam
1235
1238
secure_path
1236
1239
seekdir
1237
1240
sem
Original file line number Diff line number Diff line change @@ -447,6 +447,10 @@ s! {
447
447
pub af_name: [ :: c_char; 16 ] ,
448
448
af_arg: [ [ :: c_char; 10 ] ; 24 ] ,
449
449
}
450
+
451
+ pub struct sched_param {
452
+ pub sched_priority: :: c_int,
453
+ }
450
454
}
451
455
452
456
s_no_extra_traits ! {
@@ -2170,6 +2174,9 @@ extern "C" {
2170
2174
newsize : :: size_t ,
2171
2175
flags : :: c_int ,
2172
2176
) -> * mut :: c_void ;
2177
+
2178
+ pub fn sched_setparam ( pid : :: pid_t , param : * const sched_param ) -> :: c_int ;
2179
+ pub fn sched_getparam ( pid : :: pid_t , param : * mut sched_param ) -> :: c_int ;
2173
2180
}
2174
2181
2175
2182
#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments