> Nejib Ben Hadj-Alouane wrote:
> 
> There are macros FD_ZERO, FD_SET, FD_ISSET that I am unfamiliar with.
> I could guess what that part of the code
> is doing, but I need the details. Could someone give me some pointers
> (which .h files to see...)

Hi Nejib,

[/home]>man select

these are macro to manipulate the fd_set struct used by the select
function.
FD_ZERO clear a set
FD_SET  add a file descriptor to a set
FD_CLR  remove a file descriptor to a file
FD_ISSET test if the file descriptor is part of the set

Chris.

--
Kumsta Christophe
<[EMAIL PROTECTED]>
Real-Time System developper
RT-Linux/RTAI ( Use the Source Luck !)
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to