spe_context_destroy

NAME

spe_context_destroy - Destroy the specified SPE context.

SYNOPSIS

#include <libspe2.h>
int spe_context_destroy (spe_context_ptr_t spe)

Parameters  
spe Specifies the SPE context to be destroyed.

DESCRIPTION

Destroy the specified SPE context and free any associated resources.

RETURN VALUE

On success, 0 (zero) is returned.

EXIT STATUS

On error, -1 is returned and errno is set to indicate the error.

Possible errors include:

ESRCH The specified SPE context is invalid.
EAGAIN The specified SPE context cannot be destroyed at this time because it is in use.
EFAULT A runtime error of the underlying operating system service occurred.

SEE ALSO

spe_context_create(3)