Open Sound System |
Do you have problems with sound/audio application development? Don't panic! Click here for help! |
OSS 4.1 and later uses a mechanism to hide the stock <errno.h> codes from the drivers and other kernel space OSS code. Instead OSS defines a set of private error codes. For example OSS_EIO is defined as -abs(EIO).
The following codes are currently used by OSS: OSS_E2BIG OSS_EACCES OSS_EAGAIN OSS_EBADE OSS_EBUSY OSS_ECONNRESET OSS_EDOM OSS_EFAULT OSS_EIDRM OSS_EINTR OSS_EINVAL OSS_EIO OSS_ELOOP OSS_ENODEV OSS_ENOENT OSS_ENOMEM OSS_ENOSPC OSS_ENOTSUP OSS_ENXIO OSS_EPERM OSS_EPIPE OSS_ERANGE OSS_EWOULDBLOCK