gicFeatureAttachAction() and gicFeatureDetachAction() are used to bind an
action (i.e. a callback function) to a feature. This is usually handled
by higher layers, which map whole sets of actions using a gic_actionlist.
RETURN VALUE
gicFeatureAttachAction() and gicFeatureDetachAction() return 0 on success
and an gii-error(3) code on failure.