Re: [PATCH v3 4/6] man2/select.2: add C digit separators to clarify POSIX feature release dates or use IEC or ISO multiples to clarify long numeric digit strings

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

 



Hi Brian,

On 2/15/23 21:17, Brian Inglis wrote:
> ---
>  man2/select.2 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man2/select.2 b/man2/select.2
> index 7718b75067ab..bb7a252ade80 100644
> --- a/man2/select.2
> +++ b/man2/select.2
> @@ -54,14 +54,14 @@ Feature Test Macro Requirements for glibc (see
>  .PP
>  .BR pselect ():
>  .nf
> -    _POSIX_C_SOURCE >= 200112L
> +    _POSIX_C_SOURCE >= 2001\[aq]12L

I expect that this would go in patch 3/6.  Why is it separate?

Thanks,

Alex

>  .fi
>  .SH DESCRIPTION
>  .BR "WARNING" :
>  .BR select ()
>  can monitor only file descriptors numbers that are less than
>  .B FD_SETSIZE
> -(1024)\[em]an unreasonably low limit for many modern applications\[em]and
> +(1Ki)\[em]an unreasonably low limit for many modern applications\[em]and
>  this limitation will not change.
>  All modern applications should instead use
>  .BR poll (2)
> @@ -639,10 +639,10 @@ The Linux kernel imposes no fixed limit, but the glibc implementation makes
>  .I fd_set
>  a fixed-size type, with
>  .B FD_SETSIZE
> -defined as 1024, and the
> +defined as 1Ki, and the
>  .BR FD_* ()
>  macros operating according to that limit.
> -To monitor file descriptors greater than 1023, use
> +To monitor file descriptors greater than 1Ki-1, use
>  .BR poll (2)
>  or
>  .BR epoll (7)

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[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