Re: Mistake in poll(2) - man-pages 3.22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rui,

On Sun, Aug 30, 2009 at 6:23 PM, rui rlex <rui.rlex@xxxxxxxxx> wrote:
> In the poll(2) man-page is written that "The set of file descriptors to be
> monitored is specified in the fds argument, which is an array of nfds
> structures".
> It's an array of pollfd structs , not nfds structures.

This is rather a language issue. Think of it like this: "...which is
an array of 199 structures..."

Having said that, the wording could be clearer.

I removed "nfds" from that sentence, and added a sentence:

    The caller should specify the number of items in the fds
    array in nfds.

Cheers,

Michael
-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Watch my Linux system programming book progress to publication!
http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux