Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 58635 Build 55523: arc lint + arc unit
Event Timeline
Comment Actions
What does the example program actually do? It would be useful to have an explanation somewhere in the file.
Comment Actions
It showcases how the sndstat nvlist interface can be used to extract all the information currently available. The man page already include a basic example section, but I think it's nice to have this program as well which can be run immediately and show how every single field can be fetched.
Comment Actions
Sure, I can figure that out, my point is really that this would be more to a casual reader with some comments and a link to documentation.