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

📄 unix.c

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 C
字号:
/* * unix.c * Copyright (C) 1998-2000 A.J. van Os; Released under GPL * * Description: * Unix approximations of RISC-OS functions */#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include "antiword.h"/* * werr - write an error message and exit if needed */voidwerr(int iFatal, const char *szFormat, ...){	va_list tArg;	va_start(tArg, szFormat);	(void)vfprintf(stderr, szFormat, tArg);	va_end(tArg);	fprintf(stderr, "\n");	switch (iFatal) {	case 0:		/* The message is just a warning, so no exit */		return;	case 1:		/* Fatal error with a standard exit */		exit(EXIT_FAILURE);	default:	/* Fatal error with a non-standard exit */		exit(iFatal);	}} /* end of werr */voidHourglass_On(void){} /* end of Hourglass_On */voidHourglass_Off(void){} /* end of Hourglass_Off */

⌨️ 快捷键说明

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