Posted by Waigerits(VIP) on December 24, 1999 at 00:42:16:
In Reply to: [CODE] Here's a q. on DIKU codebase posted by Tekahera on December 23, 1999 at 13:49:38:
> I just grabbed a copy of the DIKU code and I got a question. > There are these functions: FD_ZERO, FD_SET as well as other and they seem to be prety important. Since you probably compile and run the code
> I will start by saying that in no way I am an expert in C/C++ coding, so please, no flames here.
> However, I never before saw any one, so I'm asking ye: what are they?
in unix (as stock diku mud code is for unix
I think), use unix man command to
read the manuals on functions you don't know.
I run man on FD_SET on my solaris and found that
they are the function of standard C library.
Their definitions are found in
All FD_ functions are used to work with file
descriptors. Read manual for further explanation.