Collect every wait file descriptor currently registered on ctx.

Synopsis

Declared in <openssl/async.h>

int
ASYNC_WAIT_CTX_get_all_fds(
    ASYNC_WAIT_CTX* ctx,
    int* fd,
    size_t* numfds);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Wait context to query.

fd

Optional array that receives up to *`numfds` descriptors; may be NULL to query the count only.

numfds

On input, capacity of fd when non‐NULL; on output, the number of registered fds.

Created with MrDocs