cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: where is fd_set structure definition?

From: Naren D <dnaren_at_lycos.com>
Date: Wed, 24 Jul 2002 01:35:15 -0400

well, Inclusion of the <stdlib.h> header may also make visible all symbols from <stddef.h>, <limits.h>, <math.h> and <sys/wait.h> which in turn make many other symbols visible....

The correct file to include is: <sys/time.h>
It's a bit odd to assiciate file descriptor sets with time :)

--
On Tue, 23 Jul 2002 23:35:08  
 Tor Arntsen wrote:
>On Jul 23, 20:16, Bjorn Reese wrote:
>>Naren D wrote:
>>> 
>>> OK. it's in <stdlib.h> on my AIX box.
>>
>>Odd. SUSv2 [1] says it must be in <sys/time.h>.
>>
>>Which include files are specified in the synopsis section on the man page
>>for select()?
>>
>>[1] http://www.opengroup.org/onlinepubs/7908799/xsh/systime.h.html
>
>On AIX 4.3 and AIX 5.1 the man page says <sys/time.h>, <sys/select.h> and
><sys/types.h>
>
>I included those in multi.h to fix the missing fd_set problem on AIX 5.1.
>
>-Tor
>http://thinkgeek.com/sf
>
>
_____________________________________________________
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines --> LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-07-24