Re: Manipulating C code at the AST level, in C

Lawrence D’Oliveiro <[email protected]>
Newsgroups comp.os.linux.misc
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Fri, 14 Aug 2026 13:53:21 +0100, Geoff Clare wrote:

> Nuno Silva wrote:
>
>> The online manual here (a GNU/Linux system) says:
>>
>>     "poll, ppoll - wait for some event on a file descriptor"
>>
>> Perhaps that should be rewritten. Reading further, it's not
>> singular, but that description with "*A* file descriptor" does make
>> it sound like poll is not a suitable replacement for select.

Oh, it most certainly is. And then some.

> The POSIX/SUS poll() page has:
>
>     "poll, ppoll - input/output multiplexing"
>
> https://pubs.opengroup.org/onlinepubs/9799919799/functions/poll.html

That is the official reference. But perhaps slightly more readable,
and with examples: <https://manpages.debian.org/poll(2)>.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.