Kernel Functions for Drivers audio_dev_warn(9F)
NAME
audio_dev_warn - log a warning message for an audio device
SYNOPSIS
#include
void audio_dev_warn(audio_dev_t *adev, const char *fmt, ...);
PARAMETERS
adev pointer to an audio device allocated withaudio_dev_alloc(9F). This parameter can be NULL if
no suitable device pointer is available. fmt format of message to be displayedINTERFACE LEVEL
Solaris DDI specific (Solaris DDI)DESCRIPTION
The audio_dev_warn() function is a convenience wrapper that
sends a message to the system console or logs usingcmn_err(9F) with a level of CE_WARN. It also prefixes the
message with information identifying the device if adev is not NULL. The format should not contain any trailing newlines, as thenewline will be appended by cmn_err() automatically. Unlike
cmn_err(), however, no special handling of the first charac-
ter of the format string is performed.CONTEXT
This function may be called in any context.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
SunOS 5.11 Last change: 21 Apr 2010 1
Kernel Functions for Drivers audio_dev_warn(9F)
attributes(5), audio_dev_alloc(9F), cmn_err(9F)
SunOS 5.11 Last change: 21 Apr 2010 2