Fapi_GetPollHandles(3) | tpm2-tss | Fapi_GetPollHandles(3) |
Fapi_GetPollHandles - Fapi_GetPollHandles
TSS2_RC Fapi_GetPollHandles (FAPI_CONTEXT *context,
FAPI_POLL_HANDLE **handles, size_t *num_handles)
FAPI function to retrieve the poll handles currently used by the corresponding FAPI_CONTEXT.
Retrieve handles for polling
Returns an array of handles that can be polled on to get notified when data from the TPM or from a disk operation is available.
The corresponding code should look similar to follows: do { r = Fapi_GetPollHandles(fc, &ph, &nph); if (r == TSS2_RC_SUCCESS) { poll(ph, nph, -1); Fapi_Free(ph); } r = Fapi_*_Finish(fc, ...); } while (r == TSS2_FAPI_RC_TRY_AGAIN);
Parameters
Return values
Generated automatically by Doxygen for tpm2-tss from the source code.
Sun Feb 19 2023 | Version 3.2.1 |