[#ENGINE_ctrl_cmd_string]
= ENGINE&lowbar;ctrl&lowbar;cmd&lowbar;string
:mrdocs:

Run a named ENGINE control command whose argument is a string (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ENGINE&lowbar;ctrl&lowbar;cmd&lowbar;string(
    xref:ENGINE.adoc[ENGINE]* e,
    char const* cmd&lowbar;name,
    char const* arg,
    int cmd&lowbar;optional);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE that receives the command&period;
| *cmd&lowbar;name*
| Command name as advertised by the ENGINE&period;
| *arg*
| String argument for the command, or NULL&period;
| *cmd&lowbar;optional*
| Non&hyphen;zero to treat an unknown command as success&period;
|===


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