⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usrnettelnetdcfg.c

📁 IXP425的BSP代码
💻 C
字号:
/* usrNetTelnetdCfg.c - Initialization routine for the Telnet server *//* Copyright 1992 - 2002 Wind River Systems, Inc. *//*modification history--------------------01b,30apr02,elr  changed order of initialization01a,14feb01,spm  inherited from version 01a of tor2_0_x branch*//*DESCRIPTIONThis configlette contains the initialization routine for the INCLUDE_TELNET component.NOMANUAL*/void usrTelnetdStart (void)    {     /* Configure telnet server to use a shell as a command interpreter. */    if (telnetdParserSet (TELNETD_PARSER_HOOK) == ERROR)        printf ("Error %x: unable to add command interpreter to telnet server.\n", errno);    else     if (telnetdInit (TELNETD_MAX_CLIENTS, TELNETD_TASKFLAG) == ERROR)        printf ("Error %x: unable to initialize telnet server.\n", errno);    else if (telnetdStart (TELNETD_PORT) == ERROR)        printf ("Error %x: unable to start telnet server.\n", errno);    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -