Remove the wait file descriptor associated with key from a wait context.

Synopsis

Declared in <openssl/async.h>

int
ASYNC_WAIT_CTX_clear_fd(
    ASYNC_WAIT_CTX* ctx,
    void const* key);

Description

Does not invoke the cleanup callback registered with set_wait_fd; the caller is responsible for releasing the fd and any custom_data.

Return Value

1 on success, or 0 if no matching fd was found.

Parameters

Name

Description

ctx

Wait context to update.

key

Unique key previously passed to ASYNC_WAIT_CTX_set_wait_fd.

Created with MrDocs