2 ms·
FD_SETSIZE isn't something you can just redefine like that. You'd have to reimplement all the types, macros, etc. yourself.
by josephcsible 1y ago
FD_SETSIZE isn't something you can just redefine like that. You'd have to reimplement all the types, macros, etc. yourself.
- quotemstr 1y agoYes, it is in fact something you can just redefine yourself. That's not to say you should do it.
- josephcsible 1y agoRight. You can but generally shouldn't. Like I said upthread, you're better off using poll or epoll.