Returns the file descriptor of the connection to the kernel sound audio interface. Function returns an error code if an error was encountered.
The file descriptor may be used for the poll or select functions (see man 2 poll or man 2 select for more details) for determining, if something can be read or write. Application should call snd_ctl_read function if data is waiting to be read. Calling this function is highly recommended.