summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-11-06 05:02:47 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-11-06 05:02:47 +0000
commit7165c756e826b4e22c30cc30c52fe0808aba618e (patch)
tree5af04b661d258770a6c148e8ee475fdb0513e620 /share/man/man4
parent132f43a34d0d9e888337eebf4d6c57e2f7511680 (diff)
The audio(4) manpage says to use code that looks like
ioctl(fd, AUDIO_INITINFO, &info); to initialize the audioinfo struct. This does not work as there is no AUDIO_INITINFO ioctl command. Rather, the structure should be initialized with something that looks like this: AUDIO_INITINFO(&info); From: Chris Kuethe <ckuethe at ualberta dot ca> in PR 3980
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/audio.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/audio.4 b/share/man/man4/audio.4
index f3f33464c9b..cddc6a07df0 100644
--- a/share/man/man4/audio.4
+++ b/share/man/man4/audio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audio.4,v 1.35 2004/08/04 00:05:30 jaredy Exp $
+.\" $OpenBSD: audio.4,v 1.36 2004/11/06 05:02:46 brad Exp $
.\" $NetBSD: audio.4,v 1.20 1998/05/28 17:27:15 augustss Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -323,7 +323,7 @@ the
.Vt audio_info
structure should first be initialized with
.Pp
-.Dl "ioctl(fd, AUDIO_INITINFO, &info);"
+.Dl "AUDIO_INITINFO(&info);"
.Pp
and then the particular values to be changed should be set.
This allows the audio driver to only set those things that you wish