arm_correlator_get_length() — Get the actual size of the transaction correlator

Standards

Standards / Extensions C or C++ Dependencies
  both  

Format

#include <sys/_Elmarm4.h>

arm_error_t arm_correlator_get_length(
/* [in]     */  arm_correlator_t   *corr_ptr,
/* [out] */  arm_correlator_length_t   **result_ptr
);

General description

Returns the actual size of a given correlator.
corr_ptr
Address of correlator.
result_ptr
Set to the address of the length of the correlator.

Returned value

On success, arm_correlator_get_length returns ARM_RC_SUCCESS. On failure, the errno and return code are set to indicate the error. See Return code for the list of all possible return codes.
Error Code
Description
EFAULT
A parameter of this service contained an address that was not accessible to the caller.
EINVAL
A parameter of this service contained a value that was not valid.
EMVSARMERROR
An ARM error occurred. Refer to the return code for the specific error.
EPERM
The caller does not have the appropriate privileges. The return code is set to ARM_RC_AUTH_ERROR.
EMVSSAF2ERR
An error occurred in the security product.

Related information