will_notsup.c
来自「linux网络编程实例程序 socket程序 适合初学者。」· C语言 代码 · 共 21 行
C
21 行
/* will_notsup.c - will_notsup */#include <sys/types.h>#include <stdio.h>#include "telnet.h"/*------------------------------------------------------------------------ * will_notsup - handle an unsupported telnet "do/don't" option *------------------------------------------------------------------------ */intwill_notsup(FILE *sfp, FILE *tfp, int c){ (void) putc(TCIAC, sfp); (void) putc(TCWONT, sfp); (void) putc((char)c, sfp); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?