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" {
221221 msgtyp : :: c_long ,
222222 msgflg : :: c_int ,
223223 ) -> :: 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 ;
224230}
225231
226232cfg_if ! {
Original file line number Diff line number Diff line change @@ -1743,6 +1743,12 @@ safe_f! {
17431743extern "C" {
17441744 pub fn ntp_adjtime ( buf : * mut timex ) -> :: c_int ;
17451745 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 ;
17461752}
17471753
17481754#[ link( name = "rt" ) ]
You can’t perform that action at this time.
0 commit comments