OSSAUDIO(3) BSD Programmer's Manual OSSAUDIO(3)
ossaudio - OSS audio emulation
-lossaudio
#include <soundcard.h>
The ossaudio library provides an emulation of the OSS (Linux) audio in- terface. Use the native interface for new programs and the emulation library only for porting programs.
audio(4)
The ossaudio library first appeared in NetBSD 1.3.
The emulation uses a #define for ioctl() so some obscure programs can fail to compile. The emulation is incomplete. The emulation only covers ioctl(), there are other differences as well. E.g., on a write that would block in non-blocking mode Linux returns EINTR whereas OpenBSD returns EAGAIN. MirBSD #10-current October 16, 1997 1