Re: Manipulating C code at the AST level, in C
Richard Kettlewell <[email protected]>
| Newsgroups | comp.os.linux.misc |
|---|---|
| Organization | terraraq NNTP server |
| Message-ID | <[email protected]> |
c186282 <[email protected]> writes: > Richard Kettlewell wrote: >> c186282 <[email protected]> writes: >>> On 8/14/26 07:26, 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. >> https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING >> >>> Polling, for this sort of thing, has to be >>> fast and constant - a big CPU drag. >> poll() doesn’t poll, despite the name. > > Then it should be re-named. Obviously that’s not happening. And what would be the point? Make life easier for people who react to single words without reading any documentation? -- https://www.greenend.org.uk/rjk/