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

    From Nuno Silva@3:633/10 to All on Fri Aug 14 12:26:56 2026
    (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,
    but that description with "*A* file descriptor" does make it sound like
    poll is not a suitable replacement for select.

    --
    Nuno Silva

    (Not subscribed to comp.lang.c)

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)