spe_event_handler_create

NAME

spe_event_handler_create - Create a SPE event handler and return a pointer to it.

SYNOPSIS

#include <libspe2.h>

spe_event_handler_ptr_t spe_event_handler_create(void)

Parameters  
void none

RETURN VALUE

On success, a pointer to an SPE event handler is returned.

EXIT STATUS

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.

SEE ALSO

spe_event_handler_destroy(3)