Gavin Smith <gavinsmith0...@gmail.com> writes:

> On the subject of sys/select.h, the libc Texinfo manual appears
> to be out of date:
>
> "A better solution is to use the select function. This blocks the program
> until input or output is ready on a specified set of file descriptors,
> or until a timer expires, whichever comes first. This facility is declared
> in the header file sys/types.h."
>
> https://www.gnu.org/software/libc/manual/html_node/Waiting-for-I_002fO.html
>
> There's no mention of sys/select.h there.  I couldn't find why this might
> have been in the time I spent researching it, although it seemed that the
> needed header file could have changed over time.  That's confirmed by the
> gnulib documentation that says the header doesn't exist on a small number
> of systems.

Good point. I sent a patch to change it [1].

Collin

[1] 
https://inbox.sourceware.org/libc-alpha/67e28adf7465e04b8326ef69010619ccaf2cffde.1753404249.git.collin.fu...@gmail.com/T/#u

  • pseu... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Collin Funk
      • ... Gavin Smith
        • ... Collin Funk
        • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system

Reply via email to