File tree 4 files changed +16
-0
lines changed
4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3297,6 +3297,10 @@ extern "C" {
3297
3297
pub fn fchflags ( fd : :: c_int , flags : :: c_uint ) -> :: c_int ;
3298
3298
pub fn clock_getres ( clk_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
3299
3299
pub fn clock_gettime ( clk_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
3300
+ pub fn clock_getcpuclockid (
3301
+ pid : :: pid_t ,
3302
+ clk_id : * mut :: clockid_t ,
3303
+ ) -> :: c_int ;
3300
3304
pub fn lio_listio (
3301
3305
mode : :: c_int ,
3302
3306
aiocb_list : * const * mut aiocb ,
Original file line number Diff line number Diff line change @@ -1071,6 +1071,10 @@ extern "C" {
1071
1071
clk_id : :: clockid_t ,
1072
1072
tp : * const :: timespec ,
1073
1073
) -> :: c_int ;
1074
+ pub fn clock_getcpuclockid (
1075
+ pid : :: pid_t ,
1076
+ clk_id : * mut :: clockid_t ,
1077
+ ) -> :: c_int ;
1074
1078
1075
1079
pub fn setutxdb ( _type : :: c_uint , file : * mut :: c_char ) -> :: c_int ;
1076
1080
Original file line number Diff line number Diff line change @@ -1228,6 +1228,10 @@ extern "C" {
1228
1228
clk_id : :: clockid_t ,
1229
1229
tp : * const :: timespec ,
1230
1230
) -> :: c_int ;
1231
+ pub fn clock_getcpuclockid (
1232
+ pid : :: pid_t ,
1233
+ clk_id : * mut :: clockid_t ,
1234
+ ) -> :: c_int ;
1231
1235
1232
1236
pub fn extattr_delete_fd (
1233
1237
fd : :: c_int ,
Original file line number Diff line number Diff line change @@ -1784,6 +1784,10 @@ extern "C" {
1784
1784
pub fn srand ( seed : :: c_uint ) ;
1785
1785
1786
1786
pub fn gettimeofday ( tp : * mut :: timeval , tz : * mut :: c_void ) -> :: c_int ;
1787
+ pub fn clock_getcpuclockid (
1788
+ pid : :: pid_t ,
1789
+ clk_id : * mut :: clockid_t ,
1790
+ ) -> :: c_int ;
1787
1791
1788
1792
pub fn setpwent ( ) ;
1789
1793
pub fn endpwent ( ) ;
You can’t perform that action at this time.
0 commit comments