[#SSL_get_all_async_fds]
= SSL&lowbar;get&lowbar;all&lowbar;async&lowbar;fds
:mrdocs:

Retrieve every file descriptor an async SSL operation is waiting on&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;get&lowbar;all&lowbar;async&lowbar;fds(
    xref:SSL.adoc[SSL]* s,
    int* fds,
    size&lowbar;t* numfds);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection waiting for async completion&period;
| *fds*
| Buffer receiving wait fds, or NULL to only query the required count&period;
| *numfds*
| On entry, capacity of `fds` when non&hyphen;NULL&semi; on exit, number of fds&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
