Hacker News new | past | comments | ask | show | jobs | submit login

FD_SETSIZE isn't something you can just redefine like that. You'd have to reimplement all the types, macros, etc. yourself.





Yes, it is in fact something you can just redefine yourself. That's not to say you should do it.

Right. You can but generally shouldn't. Like I said upthread, you're better off using poll or epoll.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: