add_interrupt()

QNX SDP8.0Building Embedded SystemsConfigurationDeveloper

Add a new entry to the intrinfo section in the system page.

Synopsis:

struct intrinfo_entry*
    add_interrupt(const struct startup_intrinfo *startup_intr)

Arguments:

startup_intr
Pointer to the array of startup_intrinfo data structures in the system page.

Description:

This function adds a new entry (a startup_intrinfo data structure) to the intrinfo section of the system page. This function isn't hardware dependent, so its source is in the startup.h header file.

Returns:

>0
Success. A pointer to the newly added entry.
Page updated: