Re: select.2: s/minimum/maximum/

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

 



>> One could I suppose reword something like this:
>>
>>        The timeout argument specifies the interval that select()  should
>>        block  waiting for a file descriptor to become ready.  In effect,
>>        timeout specifies a minimum interval: the timeout will be rounded
>>        up  to the system clock granularity, and kernel scheduling delays
>>        mean that the blocking interval may overrun by  a  small  amount.
>>
>> But I'm not sure that that is really much of an improvement.
> 
> I see it as a huge improvement because it does not reverse the meaning
> of timeout.

Okay -- I've the simpler patch below.

Cheers,

Michael

--- a/man2/select.2
+++ b/man2/select.2
@@ -159,12 +159,12 @@ is the highest-numbered file descriptor in any of the three sets, plus 1.
 .PP
 The
 .I timeout
-argument specifies the minimum interval that
+argument specifies the interval that
 .BR select ()
 should block waiting for a file descriptor to become ready.
-(This interval will be rounded up to the system clock granularity,
+This interval will be rounded up to the system clock granularity,
 and kernel scheduling delays mean that the blocking interval
-may overrun by a small amount.)
+may overrun by a small amount.
 If both fields of the
 .I timeval
 structure are zero, then



--
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