We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e43bddc + a6c451d commit 22633e2Copy full SHA for 22633e2
src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
@@ -221,6 +221,12 @@ extern "C" {
221
msgtyp: ::c_long,
222
msgflg: ::c_int,
223
) -> ::ssize_t;
224
+ pub fn clock_nanosleep(
225
+ clk_id: ::clockid_t,
226
+ flags: ::c_int,
227
+ rqtp: *const ::timespec,
228
+ rmtp: *mut ::timespec,
229
+ ) -> ::c_int;
230
}
231
232
cfg_if! {
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -1743,6 +1743,12 @@ safe_f! {
1743
extern "C" {
1744
pub fn ntp_adjtime(buf: *mut timex) -> ::c_int;
1745
pub fn ntp_gettime(buf: *mut ntptimeval) -> ::c_int;
1746
1747
1748
1749
1750
1751
1752
1753
1754
#[link(name = "rt")]
0 commit comments