PreviousNext

sec_key_mgmt_free_key(3sec)

Frees the memory used by a key value

Synopsis

#include <dce/keymgmt.h>

void sec_key_mgmt_free_key(
void *keydata,
error_status_t *
status);

Parameters

Input

keydata
A pointer to a structure of type sec_passwd_rec_t.

Output

status
A pointer to the completion status. On successful completion, the routine returns error_status_ok.

Description
The sec_key_mgmt_free_key( ) routine releases any storage allocated for the indicated key data by sec_key_mgmt_get_key( ). The storage for the key data returned by sec_key_mgmt_get_key( ) is dynamically allocated.

Files

/usr/include/dce/keymgmt.idl
The idl file from which dce/keymgmt.h was derived.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

error_status_ok
The call was successful.

Related Information
Functions:

sec_intro(3sec)

sec_key_mgmt_get_key(3sec)