vdev_register_for_system_pulse()

Register a virtual device (vdev) to receive the specified pulse

Synopsis:

#include <qvm/vdev-core.h>
int vdev_register_for_system_pulse(vdev_t *vdp,
                                   int8_t code)

Arguments:

vdp
A pointer to the vdev to register.
code
The system pulse code. Currently, only _PULSE_CODE_COIDDEATH is supported.

Returns:

EOK if successful; otherwise errno.