spe_event_handler_create - Create a SPE event handler and return a pointer to it.
#include <libspe2.h>
spe_event_handler_ptr_t spe_event_handler_create(void)
Parameters | |
void | none |
On success, a pointer to an SPE event handler is returned.
On error, NULL is returned and errno is set to indicate the error.
Possible errors include:
ENOMEM | The SPE event handler could not be allocated due to lack of system resources. |
EFAULT | A runtime error of the underlying OS service occurred. |