[#ASYNC_WAIT_CTX_set_status]
= ASYNC&lowbar;WAIT&lowbar;CTX&lowbar;set&lowbar;status
:mrdocs:

Set the engine&hyphen;reported status of an asynchronous 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;set&lowbar;status(
    xref:ASYNC_WAIT_CTX.adoc[ASYNC&lowbar;WAIT&lowbar;CTX]* ctx,
    int status);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Wait context to update&period;
| *status*
| One of the ASYNC&lowbar;STATUS&lowbar;&ast; values describing progress or readiness&period;
|===


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