汇编源代码大全

源代码在线查看: bugout.c

软件大小: 14099 K
上传用户: struggle10000
关键词: 汇编 代码大全
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*--------------------------------------------------------------------*/
				/*    b u g o u t . c                                                 */
				/*                                                                    */
				/*    Support routines for UUPC/extended                              */
				/*                                                                    */
				/*    Changes Copyright 1990, 1991 (c) Andrew H. Derbyshire           */
				/*                                                                    */
				/*    History:                                                        */
				/*       21Nov1991 Break out of lib.c                          ahd    */
				/*--------------------------------------------------------------------*/
				
				#include 
				#include 
				#include 
				#include 
				
				#ifdef _Windows
				#include 
				#endif
				
				/*--------------------------------------------------------------------*/
				/*                    UUPC/extended include files                     */
				/*--------------------------------------------------------------------*/
				
				#include "lib.h"
				#include "catcher.h"
				#include "timestmp.h"
				
				#ifdef _Windows
				#include "winutil.h"
				#endif
				
				/*--------------------------------------------------------------------*/
				/*    b u g o u t                                                     */
				/*                                                                    */
				/*    Perform a panic() exit from UUPC/extended                       */
				/*--------------------------------------------------------------------*/
				
				void bugout( const size_t lineno, const char *fname )
				{
				
				#ifdef _Windows
				   char buf[BUFSIZ];
				#endif
				
				  printmsg(0,"%s aborting at line %d in file %s",
				              compilen, lineno, fname );
				
				#ifdef _Windows
				   sprintf(buf,"%s aborting at line %d in file %s",
				              compilen, lineno, fname );
				
				   MessageBox( hOurWindow, buf, compilen, MB_ICONEXCLAMATION );
				
				#else
				   fputc('\a',stderr);
				#endif
				
				   exit(panic_rc);
				} /*bugout */
							

相关资源