From: cheloha Date: Sat, 18 Aug 2018 16:55:30 +0000 (+0000) Subject: Don't mention using poll(2) as a timeout. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6539f00b202ca2db734643b6e5a08d95b4c9801f;p=openbsd 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 --- 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