Return the file descriptor of the connection to the AFM interface
#include <sys/asoundlib.h> int snd_afm_file_descriptor( snd_afm_t *handle );
The snd_afm_file_descriptor() function returns the file descriptor of the connection to the Acoustics Management Platform Functional Module (AFM) interface.
You can use this file descriptor with ioctl(), ionotify(), poll(), or select() (see the QNX Neutrino C Library Reference).
The file descriptor of the connection to the AFM interface on success, or a negative error code.
This function can also return the return values of close() (see close() in the QNX Neutrino C Library Reference).
QNX Neutrino
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
This function is not thread safe if the handle (snd_afm_t) is used across multiple threads.