dim_avail_irq()
Get the number of IRQs
Synopsis:
#include <dim.h>
errno_t dim_avail_irq( uint32_t flags,
uint32_t *nirqs );
Arguments:
- flags
- Not currently used.
- nirqs
- A buffer to store the number of available IRQs.
Library:
libdim
Use the -l dim option to qcc to link against this library.
Description:
The dim_avail_irq() function returns the total number of available dynamic interrupts.
Returns:
EOK on success, or errno on failure.
Errors:
This function returns any of the errors from open() or MsgSendv(), or the following:
- EINVAL
- The nirqs parameter is NULL.
Page updated: