On 02/01/2017 07:57 PM, Zan Lynx wrote:
On 02/01/2017 05:32 AM, eugeny gladkih wrote:

I would certainly not assume that I can just redefine FD_SETSIZE without
double-checking.


that was a piece of production code. it works well.

Well yes I am sure it does. In Solaris.

I looked at glibc select() code just now and it doesn't even use
FD_SETSIZE to define the structures, so redefining it would be useless.
The actual value glibc uses is __FD_SETSIZE which is hard coded in
bits/typesizes.h and I don't see how you could get at it to change it.


glibc does nothing but call 'pselect6' syscall with the same parameters that it got. so, you have to read the kernel source.

--
Yours sincerely, Eugeny.
GM of Enterprise Solutions Department
Doctor Web, Ltd.
http://www.drweb.com, +79119997425

Reply via email to