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
Use ec_control_send_command instead.
Send a command over an ec_console control connection.
- 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.
Was this page helpful?