Skip to main content

Name

send_command — Send a command over an ec_console control connection

Synopsis

#include "control.h"

| char * **send_command** ( | fd, |   | |   | input, |   | |   | max_len); |   |

int <var class="pdparam">fd</var>; char * <var class="pdparam">input</var>; int <var class="pdparam">max_len</var>;

Description

Deprecated

Send a command over an ec_console control connection.

Parameters

fd

A connection established via cli_conn.

input

A command string allocated via malloc(3C).

max_len

A hint as to the maximal size of a response.

Input MUST be a pointer allocated via malloc(3C); send_command will free(3C) that pointer.

See Also

Was this page helpful?