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 @@ -3918,7 +3918,7 @@ extern "C" {
39183918 len : size_t ,
39193919 flags : c_uint ,
39203920 ) -> ssize_t ;
3921- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
3921+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
39223922 pub fn sched_rr_get_interval ( pid : crate :: pid_t , tp : * mut crate :: timespec ) -> c_int ;
39233923 pub fn sem_timedwait ( sem : * mut sem_t , abstime : * const crate :: timespec ) -> c_int ;
39243924 pub fn sem_getvalue ( sem : * mut sem_t , sval : * mut c_int ) -> c_int ;
Original file line number Diff line number Diff line change @@ -4700,7 +4700,7 @@ extern "C" {
47004700 pub fn memfd_create ( name : * const c_char , flags : c_uint ) -> c_int ;
47014701 pub fn setaudit ( auditinfo : * const auditinfo_t ) -> c_int ;
47024702
4703- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
4703+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
47044704 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
47054705 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
47064706
Original file line number Diff line number Diff line change @@ -3521,7 +3521,7 @@ extern "C" {
35213521 len : size_t ,
35223522 flags : c_uint ,
35233523 ) -> ssize_t ;
3524- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
3524+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
35253525 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
35263526 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
35273527 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 @@ -6057,7 +6057,7 @@ extern "C" {
60576057 len : size_t ,
60586058 flags : c_uint ,
60596059 ) -> ssize_t ;
6060- pub fn eventfd ( init : c_uint , flags : c_int ) -> c_int ;
6060+ pub fn eventfd ( initval : c_uint , flags : c_int ) -> c_int ;
60616061 pub fn eventfd_read ( fd : c_int , value : * mut eventfd_t ) -> c_int ;
60626062 pub fn eventfd_write ( fd : c_int , value : eventfd_t ) -> c_int ;
60636063
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