Re: eventfd(2) definition in /usr/include/sys/eventfd.h

2021-09-21 Thread Ryo ONODERA
Hi, Jason Thorpe writes: >> On Sep 20, 2021, at 8:42 PM, Ryo ONODERA wrote: >> >> Hi, >> >> Thanks for your great work!!! >> >> C++ programs, for example pkgsrc/net/zeromq, use eventfd(2) >> however /usr/include/sys/eventfd.h does not support C++ use. >> >> Could you use __BEGIN_DECLS/__END

Re: eventfd(2) definition in /usr/include/sys/eventfd.h

2021-09-20 Thread Jason Thorpe
> On Sep 20, 2021, at 8:42 PM, Ryo ONODERA wrote: > > Hi, > > Thanks for your great work!!! > > C++ programs, for example pkgsrc/net/zeromq, use eventfd(2) > however /usr/include/sys/eventfd.h does not support C++ use. > > Could you use __BEGIN_DECLS/__END_DECLS? Oh! Yes, please feel free

eventfd(2) definition in /usr/include/sys/eventfd.h

2021-09-20 Thread Ryo ONODERA
Hi, Thanks for your great work!!! C++ programs, for example pkgsrc/net/zeromq, use eventfd(2) however /usr/include/sys/eventfd.h does not support C++ use. Could you use __BEGIN_DECLS/__END_DECLS? My idea is as follows: Index: sys/sys/eventfd.h ==