Friday, July 31, 2009

Fd_set in ANSI C?

Why would gcc not understand the fd_set data type when compiling in ANSI C? Could it have anything to do with the unistd.h library? How can I fix this?


Thanks!

Fd_set in ANSI C?
If I remember well fd_set function (and similar) should be defined in %26lt;sys/time.h%26gt;, but your problem is more simple: fd_ family functions are not defined in ANSI C. Simple solution don't exist... because you should find a third parties library wrote in ANSI C that can be used instead of fd_ ones.








cheers


No comments:

Post a Comment