[#ASYNC_WAIT_CTX_clear_fd]
= ASYNC&lowbar;WAIT&lowbar;CTX&lowbar;clear&lowbar;fd
:mrdocs:

Remove the wait file descriptor associated with `key` from a wait context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASYNC&lowbar;WAIT&lowbar;CTX&lowbar;clear&lowbar;fd(
    xref:ASYNC_WAIT_CTX.adoc[ASYNC&lowbar;WAIT&lowbar;CTX]* ctx,
    void const* key);
----

== Description

Does not invoke the cleanup callback registered with set&lowbar;wait&lowbar;fd&semi; the caller is responsible for releasing the fd and any custom&lowbar;data&period;

== Return Value

1 on success, or 0 if no matching fd was found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Wait context to update&period;
| *key*
| Unique key previously passed to ASYNC&lowbar;WAIT&lowbar;CTX&lowbar;set&lowbar;wait&lowbar;fd&period;
|===


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