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

📄 errpkge.par.lib

📁 su 的源代码库
💻 LIB
字号:
ERRPKGE - routines for reporting errorserr	print warning on application program error and diewarn	print warning on application program errorsyserr	print warning on application program error using errno and dieFunction Prototypes:void err (char *fmt, ...);void warn (char *fmt, ...);void syserr (char *fmt, ...);Return: voidNotes:fmt		a printf format string ("\n" not needed)...		the variables referenced in the format stringExamples:	err("Cannot divide %f by %f", x, y);	warn("fmax = %f exceeds half nyquist= %f", fmax, 0.25/dt); 	if (NULL == (fp = fopen(xargv[1], "r"))) 		err("can't open %s", xargv[1]); 	... 	if (-1 == close(fd)) 		err("close failed");References:Kernighan and Pike, "The UNIX Programming Environment", page 207.Also Rochkind, "Advanced UNIX Programming", page 13.Authors:SEP: Jeff Thorson, Stew Levin	CWP: Shuki Ronen, Jack Cohen

⌨️ 快捷键说明

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