File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
freebsdlike/freebsd/freebsd12 Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,12 @@ extern "C" {
221
221
msgtyp : :: c_long ,
222
222
msgflg : :: c_int ,
223
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 ;
224
230
}
225
231
226
232
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1743,6 +1743,12 @@ safe_f! {
1743
1743
extern "C" {
1744
1744
pub fn ntp_adjtime ( buf : * mut timex ) -> :: c_int ;
1745
1745
pub fn ntp_gettime ( buf : * mut ntptimeval ) -> :: c_int ;
1746
+ pub fn clock_nanosleep (
1747
+ clk_id : :: clockid_t ,
1748
+ flags : :: c_int ,
1749
+ rqtp : * const :: timespec ,
1750
+ rmtp : * mut :: timespec ,
1751
+ ) -> :: c_int ;
1746
1752
}
1747
1753
1748
1754
#[ link( name = "rt" ) ]
You can’t perform that action at this time.
0 commit comments