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

📄 param.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
/*	@(#)param.h 1.1 92/07/30 SMI	*//* * Copyright (c) 1986 by Sun Microsystems, Inc. */#ifndef _NSE_PARAM_H#define _NSE_PARAM_H/* Including <sys/param.h> to get MAXPATHLEN, MIN, and MAX definitions. */#include <sys/param.h>#define NSE_MAXHOSTNAMELEN	32#define NSE_TMPDIR		"/tmp"#define NSE_ISDIR(statp)	(((statp)->st_mode & S_IFMT) == S_IFDIR)#define	NSE_DIR_MODE	0775		/* Creation mode for directories */#define NSE_STREQ(a, b)			(strcmp(a, b) == 0)#define NSE_STRDUP(str)			((str != NULL)? \					    strcpy(nse_malloc((unsigned) (strlen(str)+1)), str):\					    NULL)#define NSE_NEW(tagtype)		((tagtype) \					    nse_calloc(sizeof(struct tagtype), 1))#define NSE_DISPOSE(p)			if (p != NULL) { \						free((char *) p); \						p = NULL; \					}/* * Return values of commonly used library routines. */char		*malloc();char		*calloc();char		*nse_malloc();char		*nse_calloc();char		*strcpy();char		*strcat();char		*rindex();char		*index();char		*getenv();int		free();char		*sprintf();char		*ctime();long		time();#endif

⌨️ 快捷键说明

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