sec_cred_initialize_attr_cursor(3sec) — Subroutines
NAME
sec_cred_initialize_attr_cursor — Initializes a sec_attr_cursor_t
Synopsis
void sec_cred_initialize_attr_cursor (
sec_cred_attr_cursor_t ∗cursor,
error_status_t ∗status);
Parameters
Input/Output
cursorAs input, a pointer to a sec_cred_attr_cursor_t to be initialized. As output a pointer to an initialized sec_cred_attr_cursor_t.
Output
statusA pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.
Description
The sec_cred_initialize_attr_cursor() routine allocates and initializes a cursor of type sec_cred_attr_cursor_t for use with the sec_cred_get_extended_attrs() call. Use the sec_cred_free_attr_cursor() call to free the resources allocated to cursor.
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_login_s_no_memory
error_status_ok
Related Information
Functions: sec_cred_free_attr_cursor(), sec_cred_get_extended_attrs(3sec), sec_intro(3sec).