Lines Matching defs:errnum
47 * \param errnum The error code number, which must be a system error code
51 const char *snd_strerror(int errnum)
53 if (errnum < 0)
54 errnum = -errnum;
55 if (errnum < SND_ERROR_BEGIN)
56 return (const char *) strerror(errnum);
57 errnum -= SND_ERROR_BEGIN;
58 if ((unsigned int) errnum >= sizeof(snd_error_codes) / sizeof(const char *))
60 return snd_error_codes[errnum];