blob: bfd47317d0a344cd755e34abaf6dbbf429328562 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include <stdlib.h>
#ifdef _POSIX_SOURCE
#include "sys/types.h"
#endif
/*
#include "signal.h"
*/
#define __SIGNAL_H__
#define SIGABRT
#include "ungol/signal.h"
extern void raise(int);
/** cause abnormal program termination **/
_Noreturn void abort(void)
{
for (;;) {
raise(SIGABRT);
}
}
/***
causes the program to terminate abnormally, unless the
signal CONSTANT(SIGABRT) is caught and the signal handler continues program
execution.
***/
/*
IMPLEMENTATION(whether open output streams are flushed)
IMPLEMENTATION(whether open streams are closed)
IMPLEMENTATION(whether temporary files are removed)
IMPLEMENTATION(the value of unsuccessful termination returned to the host environment)
STDC(1)
*/
|