sec_key_mgmt_free_key(3sec) — Subroutines
NAME
sec_key_mgmt_free_key — Frees the memory used by a key value
Synopsis
void sec_key_mgmt_free_key(
void ∗keydata,
error_status_t ∗status);
Parameters
Input
keydataA pointer to a structure of type sec_passwd_rec_t.
Output
statusA 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).