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

📄 if_indextoname.c

📁 unix网络编程卷1:套接口API的全书源码
💻 C
字号:
#include	"unp.h"/* * This is a placeholder if the system does not provide this RFC 2133 * function.  If routing sockets with sysctl() are provided, then the * if_XXX() functions in the libroute/ directory will replace these. */char *if_indextoname(unsigned int index, char *name){	return(NULL);}char *If_indextoname(unsigned int index, char *name){	char	*ptr;	if ( (ptr = if_indextoname(index, name)) == NULL)		err_quit("if_indextoname error for %d", index);	return(ptr);}

⌨️ 快捷键说明

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