Remove the wait file descriptor associated with key from a wait context.
Declared in <openssl/async.h>
int
ASYNC_WAIT_CTX_clear_fd(
ASYNC_WAIT_CTX* ctx,
void const* key);
Does not invoke the cleanup callback registered with set_wait_fd; the caller is responsible for releasing the fd and any custom_data.
1 on success, or 0 if no matching fd was found.
| Name | Description |
|---|---|
| ctx | Wait context to update. |
| key | Unique key previously passed to ASYNC_WAIT_CTX_set_wait_fd. |