diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2018-08-18 16:55:31 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2018-08-18 16:55:31 +0000 |
commit | ca7878058d8aec63b09e012023255e92e46fde24 (patch) | |
tree | 96d8c5676ea6c597368eacf4a0fa62e01e4a365a /lib/libc | |
parent | 742ca61ad8aec897ddd829d1b506e896f728655f (diff) |
Don't mention using poll(2) as a timeout.
Not a strictly portable use of the interface and there are more suitable
interfaces for timeouts anyway.
ok schwarze millert
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/poll.2 | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index 099e8692d14..ba94dc398c0 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: poll.2,v 1.35 2017/02/14 17:51:14 tb Exp $ +.\" $OpenBSD: poll.2,v 1.36 2018/08/18 16:55:30 cheloha Exp $ .\" .\" Copyright (c) 1994 Jason R. Thorpe .\" All rights reserved. @@ -28,7 +28,7 @@ .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" -.Dd $Mdocdate: February 14 2017 $ +.Dd $Mdocdate: August 18 2018 $ .Dt POLL 2 .Os .Sh NAME @@ -183,12 +183,6 @@ and flags may be used to detect when out-of-band socket data may be read without blocking. .Pp -In addition to I/O multiplexing, -.Fn poll -can be used to generate simple timeouts. -This functionality may be achieved by passing a null pointer for -.Fa fds . -.Pp The .Fn ppoll function is similar to |