abort.c
来自「the vxworks system kernel souce packeg.t」· C语言 代码 · 共 51 行
C
51 行
/* abort.c - abort file for stdlib *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01d,08feb93,jdi documentation cleanup for 5.1.01c,20sep92,smb documentation additions.01b,27jul92,smb abort now raises an abort signal.01a,19jul92,smb Phase 1 of ANSI merge.*//*DESCRIPTIONINCLUDE FILES: stdlib.h, signal.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "stdlib.h"#include "signal.h"/******************************************************************************** abort - cause abnormal program termination (ANSI)** This routine causes abnormal program termination, unless the signal* SIGABRT is being caught and the signal handler does not return. VxWorks* does not flush output streams, close open streams, or remove temporary* files. abort() returns unsuccessful status termination to the host* environment by calling:* .CS* raise (SIGABRT);* .CE** INCLUDE FILES: stdlib.h** RETURNS: This routine cannot return to the caller.*/void abort (void) { raise (SIGABRT); exit (EXIT_FAILURE); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?