routesockcfg.c

来自「IXP425的BSP代码」· C语言 代码 · 共 32 行

C
32
字号
/* routeSockCfg.c - initialize the socket library *//* Copyright 1992 - 1998 Wind River Systems, Inc. *//*modification history--------------------01c,14nov00,rae  removed unused argument from sockLibAdd()01b,30jul99,pul  modify sockLibAdd to add extra parameter for future                 scalability01a,18aug98,ann  created this configlette from usrNetwork.c*//*DESCRIPTIONThis configlette contains the initialization routine for the INCLUDE_ROUTE_SOCK component. It is responsible for calling the routine to initialize the routing sockets.NOMANUAL*/STATUS routeSockInit()    {    if (sockLibAdd ((FUNCPTR) bsdSockLibInit, AF_ROUTE, AF_ROUTE) == ERROR)        return (ERROR);    routeSockLibInit () ;    return (OK);    }

⌨️ 快捷键说明

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