VxWorks BSP框架源代码包含头文件和驱动

源代码在线查看: assert.c

软件大小: 7795 K
上传用户: meailin
关键词: VxWorks BSP 源代码 头文件
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* assert.c - ANSI standard assert function */								/* Copyright 1992 Wind River Systems, Inc. */								/*				modification history				--------------------				01c,24oct92,smb  removed some redundant documentation.				01b,20sep92,smb  documentation additions.				01a,20jul92,smb  written.				*/								/*				DESCRIPTION								INCLUDE FILES: stdio.h, stdlib.h, assert.h								SEE ALSO: American National Standard X3.159-1989				NOMANUAL				*/								#include "vxWorks.h"				#include "assert.h"				#include "stdio.h"				#include "stdlib.h"								/******************************************************************************				*				* __assert - function called by the assert macro. 				*				* INCLUDE: stdio.h assert.h				*				* RETURNS: never returns				* NOMANUAL				*/				void __assert				    (				    const char *msg	/* message string */				    )				    {				    fdprintf(2, "%s\n", CHAR_FROM_CONST (msg));	/* print msg to error stream */				    abort(); 						    }							

相关资源