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