NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/39369: typo in select(2) man page: `effect', not `affect'
>Number: 39369
>Category: misc
>Synopsis: typo in select(2) man page: `effect', not `affect'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 17 02:15:00 +0000 2008
>Originator: Taylor R Campbell <campbell%mumble.net@localhost>
>Release: NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD smalltalk.localdomain 4.0_STABLE NetBSD 4.0_STABLE
(RIAXEN3_DOM0) #2: Fri Jul 18 23:32:56 UTC 2008
riastradh@smalltalk:/home/riastradh/netbsd/4/obj/sys/arch/i386/compile/RIAXEN3_DOM0
i386
Architecture: i386
Machine: i386
>Description:
The select(2) man page reads:
To _affect_ a poll, the timeout argument should be
non-null, pointing to a zero-valued...
This should be:
To _effect_ a poll, the timeout argument should be
non-null, pointing to a zero-valued...
There are no polls affected by passing a zero-valued timeout
argument, but the effect of a poll may be had by passing such
an argument; thus one effects a poll by passing a zero-valued
timeout argument.
>How-To-Repeat:
Type `man 2 select', and open your favourite English
dictionary.
>Fix:
Apply the following patch:
--- select.2 26 May 2008 15:25:58 +0000 1.33
+++ select.2 17 Aug 2008 01:05:11 +0000
@@ -116,7 +116,7 @@
If
.Fa timeout
is a null pointer, the select blocks indefinitely.
-To affect a poll, the
+To effect a poll, the
.Fa timeout
argument should be non-null, pointing to a zero-valued timeval or timespec
structure, as appropriate.
Home |
Main Index |
Thread Index |
Old Index