Re: [Emc-developers] About the header file "ioctl.h" in HAL?

2016-02-28 Thread Peter C. Wallace
On Sun, 28 Feb 2016, Jeff Epler wrote: > Date: Sun, 28 Feb 2016 09:37:07 -0600 > From: Jeff Epler <jep...@unpythonic.net> > Reply-To: EMC developers <emc-developers@lists.sourceforge.net> > To: EMC developers <emc-developers@lists.sourceforge.net> > Subject: Re:

Re: [Emc-developers] About the header file "ioctl.h" in HAL?

2016-02-28 Thread Jeff Epler
It sounds like you are using RTAI realtime, which builds all realtime components as kernel modules. The header is not suitable for use when building a kernel module. Since no drivers in linuxcnc use rtnet, I do not have any examples to point you towards. I suggest you read rtnet documentation,

[Emc-developers] About the header file "ioctl.h" in HAL?

2016-02-28 Thread ????
hi everyone I am build a HAL component which to communicate with my own FPGA card by using Ethernet (RTnet). Those code used to communicated with FAGA card has been put into HAL component. I want to use socket in the hal component ,so the header file ioctl.h is necessary . But in the .c