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

📄 fig17.33

📁 W.Richard Stevens经典教程 UNIX环境高级编程第二版 配套学习代码
💻 33
字号:
#include	"opend.h"/* * This function is called by buf_args(), which is called by * request().  buf_args() has broken up the client's buffer * into an argv[]-style array, which we now process. */intcli_args(int argc, char **argv){	if (argc != 3 || strcmp(argv[0], CL_OPEN) != 0) {		strcpy(errmsg, "usage: <pathname> <oflag>\n");		return(-1);	}	pathname = argv[1];		/* save ptr to pathname to open */	oflag = atoi(argv[2]);	return(0);}

⌨️ 快捷键说明

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