File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3873,7 +3873,7 @@ extern "C" {
38733873 len : size_t ,
38743874 flags : c_uint ,
38753875 ) -> ssize_t ;
3876- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
3876+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
38773877 pub fn sched_rr_get_interval ( pid : crate :: pid_t , tp : * mut crate :: timespec ) -> c_int ;
38783878 pub fn sem_timedwait ( sem : * mut sem_t , abstime : * const crate :: timespec ) -> c_int ;
38793879 pub fn sem_getvalue ( sem : * mut sem_t , sval : * mut c_int ) -> c_int ;
Original file line number Diff line number Diff line change @@ -4795,7 +4795,7 @@ extern "C" {
47954795 pub fn memfd_create ( name : * const c_char , flags : c_uint ) -> c_int ;
47964796 pub fn setaudit ( auditinfo : * const auditinfo_t ) -> c_int ;
47974797
4798- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
4798+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
47994799 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
48004800 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
48014801
Original file line number Diff line number Diff line change @@ -3560,7 +3560,7 @@ extern "C" {
35603560 len : size_t ,
35613561 flags : c_uint ,
35623562 ) -> ssize_t ;
3563- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
3563+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
35643564 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
35653565 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
35663566 pub fn sched_rr_get_interval ( pid : crate :: pid_t , tp : * mut crate :: timespec ) -> c_int ;
Original file line number Diff line number Diff line change @@ -6094,7 +6094,7 @@ extern "C" {
60946094 len : size_t ,
60956095 flags : c_uint ,
60966096 ) -> ssize_t ;
6097- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
6097+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
60986098 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
60996099 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
61006100
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ pub const TFD_TIMER_ABSTIME: i32 = 1 << 0;
212212pub const TFD_TIMER_CANCEL_ON_SET : i32 = 1 << 1 ;
213213
214214extern "C" {
215- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
215+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
216216
217217 pub fn epoll_pwait (
218218 epfd : c_int ,
You can’t perform that action at this time.
0 commit comments