On 2/7/2023 7:25 AM, Yeo Kai Wei via Cygwin wrote:
Hi,

I would like to report an issue with Cygwin 3.4.2 on Windows.

It doesn't seem to be able to work with  fd_set, FD_ZERO, FD_SET, FD_SETSIZE 
macros.

The code is in italics. The filename was selectStdIn.c. The terminal command used was "gcc -o selectStdIn selectStdIn.c"

Thank you.

My guess is that those fd set things aren't POSIX, and cygwin tries to model 
POSIX.

Comments at the top of /usr/include/sys/select.h suggest that.

-- Eliot Moss

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to