A telnet library (including ipaccess-telnet)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
871 B

.TH telnet_raw_printf 3 LIBTELNET "" "TELNET Library"
\fBtelnet_raw_printf\fP - send formatted text without TELNET escaping
\fB#include <libtelnet.h>\fP
.B "void telnet_raw_printf(telnet_t *\fBtelnet\fR, unsigned char \fBcmd\fR, unsigned char \fIopt\fR);"
The \fBtelnet_raw_printf\fP function sends formatted data across the connection. Formatting is the same as in \fBprint\fP(3), and the result is passed on through a SEND callback event with no further processing. Note in particular that this means that data send by \fBtelnet_raw_printf\fP is not escaped.
The parameter \fItelnet\fP is a state tracker instance created by a prior call to \fBtelnet_init\fP.
The parameter \fIfmt\fP is a format string, as used by \fBprintf\fP.
\fBlibtelnet\fR(3), \fBtelnet_send\fR(3), \fBtelnet_printf\fR(3)