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

[email protected] (Scott Lurndal)
Newsgroups comp.os.linux.misc
Organization UsenetServer - www.usenetserver.com
Message-ID <[email protected]>
Nuno Silva <[email protected]> writes:
>(Given I'm commenting on the content of the online manual on a Linux
>system, I'm adding and followingup-to comp.os.linux.misc.)
>
>On 2026-08-11, Lawrence D’Oliveiro wrote:
>
>> On Mon, 10 Aug 2026 17:41:30 -0300, Anton Antimo wrote:
>>
>>> For select (called unix-fast-select in SBCL), see sb-unix.
>>
>> select(2) is considered an archaic way of doing things these days,
>> because of its ABI limitations. The modern way is poll()
>> <https://manpages.debian.org/poll(2)> (POSIX) or even epoll()
>> <https://manpages.debian.org/epoll(7)> (Linux-specific).
>
>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,

Perhaps you'd be better off consulting the definitive
manual page for poll/ppoll.

https://pubs.opengroup.org/onlinepubs/9799919799/functions/ppoll.html

NAME

    poll, ppoll - input/output multiplexing

SYNOPSIS

    #include <poll.h>

    int poll(struct pollfd fds[], nfds_t nfds, int timeout);
    int ppoll(struct pollfd fds[], nfds_t nfds,
           const struct timespec *restrict timeout,
           const sigset_t *restrict sigmask);
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.