8 ms·
I don't know if I would call anyone unfortunate enough to not know about the limitations of select() deserving of such limitations. At least on my Linux box the
by kevincox 3y ago
I don't know if I would call anyone unfortunate enough to not know about the limitations of select() deserving of such limitations. At least on my Linux box the man page does have a warning at the top of the description section but it is easy to accidentally skim over.
It would be interesting to do something like avoid defining that symbol by default, require `-DENABLE_OBSOLETE_SELECT_API` to make it available. It would cause trouble for compiling old software but it is easy to remedy and at least makes new users extra aware that they shouldn't start using this function.
- avhception 3y agoUnfortunately, adding in an option like `-DENABLE_OBSOLETE_SELECT_API` is only trivial if you have a good understanding of the build system in use and sometimes other nuts and bolts of a given project. Tracking down a build failure in some old software project that may or may not have approachable people left on the team through elaborate build scripts that may or may not surface the error in a way that may or may not be easily comprehensible for an outsider can be really hard.
- rollcat 3y agoApropos Macs and man pages, does anyone know if there's any up-to-date website that allows browsing them online? Like https://man7.org/linux/man-pages/ https://man7.org/linux/man-pages/ or https://man.openbsd.org https://man.openbsd.org, ideally per release and per architecture.
- throw0101a 3y ago* https://keith.github.io/xcode-man-pages/ https://keith.github.io/xcode-man-pages/ * https://github.com/keith/xcode-man-pages https://github.com/keith/xcode-man-pages ?
- pjmlp 3y agoI expect anyone coding UNIX systems to have more sources than only man pages, like classic UNIX books.