Module Name: src
Committed By: nia
Date: Mon Mar 16 09:20:01 UTC 2020
Modified Files:
src/share/man/man4: audio.4
Log Message:
audio.4: O_NONBLOCK isn't the actual problem
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/share/man/man4/audio.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/audio.4
diff -u src/share/man/man4/audio.4:1.96 src/share/man/man4/audio.4:1.97
--- src/share/man/man4/audio.4:1.96 Mon Mar 16 08:50:06 2020
+++ src/share/man/man4/audio.4 Mon Mar 16 09:20:01 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: audio.4,v 1.96 2020/03/16 08:50:06 nia Exp $
+.\" $NetBSD: audio.4,v 1.97 2020/03/16 09:20:01 nia Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -818,6 +818,8 @@ If the device is used in
.Xr mmap 2
it is currently always mapped for writing (playing) due to VM system weirdness.
.Sh CAVEATS
-The audio device cannot be reliably used with O_NONBLOCK or event notification
-mechanisms. Users are generally expected to only read and write a limited number
-of samples at a time, limiting the time spent in the system call.
+The audio device cannot be reliably used with event notification mechanisms
+such as
+.Xr poll 2 .
+Most users are expected to only read and write a limited number of samples at
+a time, limiting the time spent in the system call.