xxexit.c

来自「德州仪器(TI) 的超低功耗16 位RISC 混合信号处理器的MSP430 平台」· C语言 代码 · 共 30 行

C
30
字号
/*******************
 *
 * Copyright 1998-2004 IAR Systems. All rights reserved.
 *
 * $Revision: 1.3 $
 *
 * This is the default implementation of the "__exit" function of the
 * standard library.  Note that a debug version of this function is
 * used when the application is build in debug mode.
 *
 * The purouse of the __exit is to halt the system.
 *
 ********************/

#include <stdlib.h>
#include <yfuns.h>

_STD_BEGIN

#pragma module_name = "?__exit"

void __exit(int x)
{
  while (1)
  {
  }
}

_STD_END

⌨️ 快捷键说明

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