sndstat.4: Improve manpage wording
Reviewed by: bcr, khng Differential Revision: https://reviews.freebsd.org/D30027
This commit is contained in:
parent
b6be9566d2
commit
c232fd4b41
@ -47,10 +47,11 @@ kernel configuration file:
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The ioctl interface provided by
|
The ioctl interface provided by
|
||||||
.Pa /dev/sndstat
|
.Pa /dev/sndstat
|
||||||
device allows callers to enumeration PCM audio devices available for use.
|
device allows callers to enumerate PCM audio devices available for use.
|
||||||
|
In other words, it provides means to get the list of all audio devices
|
||||||
|
available to the system.
|
||||||
.Sh IOCTLS
|
.Sh IOCTLS
|
||||||
For all ioctls requiring data exchange between the subsystem and callers,
|
For ioctl calls that take an argument, the following structure is used:
|
||||||
the following structures are used to describe a serialized nvlist:
|
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
struct sndstioc_nv_arg {
|
struct sndstioc_nv_arg {
|
||||||
size_t nbytes;
|
size_t nbytes;
|
||||||
@ -58,7 +59,7 @@ struct sndstioc_nv_arg {
|
|||||||
};
|
};
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Here is an example of an nvlist, with explanations of the common fields:
|
Here is an example of an nvlist object with explanations of the common fields:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
dsps (NVLIST ARRAY): 1
|
dsps (NVLIST ARRAY): 1
|
||||||
from_user (BOOL): FALSE
|
from_user (BOOL): FALSE
|
||||||
|
Loading…
Reference in New Issue
Block a user