PreviousNext

sec_key_mgmt_release_cursor(3sec)

Releases the memory used by an initialized cursor value

Synopsis

#include <dce/keymgmt.h>

void sec_key_mgmt_release_cursor(
void **cursor,
error_status_t *
status);

Parameters

Input

cursor
A pointer to the cursor value for which the storage is to be released.

Output

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

Description
The sec_key_mgmt_release_cursor( ) routine releases any storage allocated for the indicated cursor value by sec_key_mgmt_initialize_cursor( ). The storage for the cursor value returned by sec_key_mgmt_initialize_cursor( ) 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.

sec_key_mgmt_e_unauthorized
The caller is not authorized to perform the operation.

error_status_ok
The call was successful.

Related Information
Functions:

sec_intro(3sec)

sec_key_mgmt_initialize_cursor(3sec)