kkeyset_delete Kernel Service

Purpose

Deletes a kernel keyset.

Syntax

#include <sys/kerrno.h>
#include <sys/skeys.h>

kerrno_t kkeyset_delete (set)
kkeyset_t set;

Parameters

Item Description
set Specifies the keyset to be destroyed.

Description

The kkeyset_delete kernel service destroys a kernel keyset. The kernel service releases the hidden resources associated with this keyset.

Execution Environment

The kkeyset_delete kernel service can be called from the process environment only.

Return Values

Item Description
0 Indicates a successful completion.
EINVAL_KKEYSET_DELETE Indicates that the parameter or execution environment is not valid.