device_info

Function device_info 

Source
pub fn device_info(device_id: &mut DeviceId) -> Result<DeviceInfo, Error>
Expand description

Get the information of timer device.

The call of function executes open(2), close(2), and ioctl(2) system call with SNDRV_TIMER_IOCTL_GINFO command for ALSA timer character device.

§device_id

A DeviceId to identify the timer device.

§Returns

true when the overall operation finishes successfully, else false.

§device_info

The information of timer device.