Sean Middleditch | e67d3ea | 2009-11-02 16:04:47 -0800 | [diff] [blame] | 1 | .TH telnet_raw_printf 3 LIBTELNET "" "TELNET Library" |
| 2 | |
| 3 | .SH NAME |
| 4 | \fBtelnet_raw_printf\fP - send formatted text without TELNET escaping |
| 5 | |
| 6 | .SH SYNOPSIS |
| 7 | .PP |
| 8 | \fB#include <libtelnet.h>\fP |
| 9 | .sp |
| 10 | .B "void telnet_raw_printf(telnet_t *\fBtelnet\fR, unsigned char \fBcmd\fR, unsigned char \fIopt\fR);" |
| 11 | |
| 12 | .SH DESCRIPTION |
| 13 | .PP |
| 14 | 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. |
| 15 | |
| 16 | The parameter \fItelnet\fP is a state tracker instance created by a prior call to \fBtelnet_init\fP. |
| 17 | |
| 18 | The parameter \fIfmt\fP is a format string, as used by \fBprintf\fP. |
| 19 | |
| 20 | .SH SEE ALSO |
| 21 | .PP |
| 22 | \fBlibtelnet\fR(3), \fBtelnet_send\fR(3), \fBtelnet_printf\fR(3) |