Look up the wait file descriptor registered under key.
Declared in <openssl/async.h>
int
ASYNC_WAIT_CTX_get_fd(
ASYNC_WAIT_CTX* ctx,
void const* key,
int* fd,
void** custom_data);
1 if a matching fd was found, or 0 otherwise.
| Name | Description |
|---|---|
| ctx | Wait context to query. |
| key | Unique key previously passed to ASYNC_WAIT_CTX_set_wait_fd. |
| fd | Receives the registered OSSL_ASYNC_FD on success. |
| custom_data | Receives the custom_data pointer registered with the fd, or NULL. |