spe_context_destroy - Destroy the specified SPE context.
#include <libspe2.h>
int spe_context_destroy (spe_context_ptr_t spe)
Parameters | |
spe | Specifies the SPE context to be destroyed. |
On success, 0 (zero) is returned.
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. |